diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-13 16:19:25 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-13 16:19:25 +0400 |
commit | a8cf5c3472d87040a8b199a12f345e752d2d9870 (patch) | |
tree | 153db8e48176a488ffa958e51e9b292221754935 /moses/DecodeStepGeneration.cpp | |
parent | 3a10197edb6e31409149c60ad804c979d938c609 (diff) |
port PhraseDictionaryMultiModel to new format
Diffstat (limited to 'moses/DecodeStepGeneration.cpp')
-rw-r--r-- | moses/DecodeStepGeneration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/DecodeStepGeneration.cpp b/moses/DecodeStepGeneration.cpp index f9827793a..32140557b 100644 --- a/moses/DecodeStepGeneration.cpp +++ b/moses/DecodeStepGeneration.cpp @@ -142,7 +142,7 @@ void DecodeStepGeneration::Process(const TranslationOption &inputPartialTranslOp const TargetPhrase &inPhrase = inputPartialTranslOpt.GetTargetPhrase(); TargetPhrase outPhrase(inPhrase); - outPhrase.SetScore(generationScore); + outPhrase.GetScoreBreakdown().PlusEquals(generationScore); outPhrase.MergeFactors(genPhrase, m_newOutputFactors); const WordsRange &sourceWordsRange = inputPartialTranslOpt.GetSourceWordsRange(); |