Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-05-13 16:19:25 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-13 16:19:25 +0400
commita8cf5c3472d87040a8b199a12f345e752d2d9870 (patch)
tree153db8e48176a488ffa958e51e9b292221754935 /moses/DecodeStepTranslation.cpp
parent3a10197edb6e31409149c60ad804c979d938c609 (diff)
port PhraseDictionaryMultiModel to new format
Diffstat (limited to 'moses/DecodeStepTranslation.cpp')
-rw-r--r--moses/DecodeStepTranslation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/DecodeStepTranslation.cpp b/moses/DecodeStepTranslation.cpp
index 9f32b1078..22e0810e1 100644
--- a/moses/DecodeStepTranslation.cpp
+++ b/moses/DecodeStepTranslation.cpp
@@ -76,7 +76,7 @@ void DecodeStepTranslation::Process(const TranslationOption &inputPartialTranslO
continue;
}
- outPhrase.SetScore(transScores);
+ outPhrase.GetScoreBreakdown().PlusEquals(transScores);
outPhrase.Evaluate(); // need to do this as all non-transcores would be screwed up
outPhrase.MergeFactors(targetPhrase, m_newOutputFactors);