diff options
author | Ales Tamchyna <tamchyna@ufal.mff.cuni.cz> | 2016-03-23 16:16:11 +0300 |
---|---|---|
committer | Ales Tamchyna <tamchyna@ufal.mff.cuni.cz> | 2016-03-23 16:16:11 +0300 |
commit | 01301ac816c2b370bdf478859460ad6880cf412d (patch) | |
tree | ae28fdd4f89536e0682ab0ddde33a9cb2903cf8b /moses/FF | |
parent | f6f506e8148758af205efd781e76410c5efb0b19 (diff) |
removing unused variables
Diffstat (limited to 'moses/FF')
-rw-r--r-- | moses/FF/VW/VW.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/moses/FF/VW/VW.cpp b/moses/FF/VW/VW.cpp index 6d529a8fb..a309082c1 100644 --- a/moses/FF/VW/VW.cpp +++ b/moses/FF/VW/VW.cpp @@ -77,15 +77,9 @@ FFState* VW::EvaluateWhenApplied( { VERBOSE(2, "VW :: Evaluating translation options\n"); - // which feature functions do we use (on the source and target side) - const std::vector<VWFeatureBase*>& sourceFeatures = - VWFeatureBase::GetSourceFeatures(GetScoreProducerDescription()); - const std::vector<VWFeatureBase*>& contextFeatures = VWFeatureBase::GetTargetContextFeatures(GetScoreProducerDescription()); - size_t maxContextSize = VWFeatureBase::GetMaximumContextSize(GetScoreProducerDescription()); - if (contextFeatures.empty()) { // no target context features => we already evaluated everything in // EvaluateTranslationOptionListWithSourceContext(). Nothing to do now, @@ -95,7 +89,6 @@ FFState* VW::EvaluateWhenApplied( size_t spanStart = curHypo.GetTranslationOption().GetStartPos(); size_t spanEnd = curHypo.GetTranslationOption().GetEndPos(); - const Range &sourceRange = curHypo.GetTranslationOption().GetSourceWordsRange(); // compute our current key size_t cacheKey = MakeCacheKey(prevState, spanStart, spanEnd); |