diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-08-08 18:59:34 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-08-08 18:59:34 +0400 |
commit | efa5befb16ede5f38b157f8bee0acb86316a4f49 (patch) | |
tree | cdf8aabe9f34e52cc839afe8dc42796eab063ffb /moses/DecodeStepTranslation.cpp | |
parent | 319bb3ccfaba715da7e985ae5bcbd86d8b68326e (diff) |
method rename
Diffstat (limited to 'moses/DecodeStepTranslation.cpp')
-rw-r--r-- | moses/DecodeStepTranslation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/DecodeStepTranslation.cpp b/moses/DecodeStepTranslation.cpp index e61ab7840..e7dbba4f3 100644 --- a/moses/DecodeStepTranslation.cpp +++ b/moses/DecodeStepTranslation.cpp @@ -84,7 +84,7 @@ void DecodeStepTranslation::Process(const TranslationOption &inputPartialTranslO } outPhrase.Merge(targetPhrase, m_newOutputFactors); - outPhrase.Evaluate(inputPath.GetPhrase(), m_featuresToApply); // need to do this as all non-transcores would be screwed up + outPhrase.EvaluateInIsolation(inputPath.GetPhrase(), m_featuresToApply); // need to do this as all non-transcores would be screwed up TranslationOption *newTransOpt = new TranslationOption(sourceWordsRange, outPhrase); assert(newTransOpt != NULL); @@ -258,7 +258,7 @@ void DecodeStepTranslation::ProcessLEGACY(const TranslationOption &inputPartialT } outPhrase.Merge(targetPhrase, m_newOutputFactors); - outPhrase.Evaluate(inputPath.GetPhrase(), m_featuresToApply); // need to do this as all non-transcores would be screwed up + outPhrase.EvaluateInIsolation(inputPath.GetPhrase(), m_featuresToApply); // need to do this as all non-transcores would be screwed up TranslationOption *newTransOpt = new TranslationOption(sourceWordsRange, outPhrase); |