diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-08 14:28:31 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-08 14:28:31 +0400 |
commit | a1b2f66d91a3bb2122674f727e257ed256d9f729 (patch) | |
tree | 3444c8d7670ead653bec883eeac5efeb7692fc62 /moses/MockHypothesis.cpp | |
parent | 8a371f65474ca8c242bbee833579a77a306ec153 (diff) |
each new target phrase in factored decomposition holds scores from previous steps.
Diffstat (limited to 'moses/MockHypothesis.cpp')
-rw-r--r-- | moses/MockHypothesis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/MockHypothesis.cpp b/moses/MockHypothesis.cpp index b0e407fac..3a86965cd 100644 --- a/moses/MockHypothesis.cpp +++ b/moses/MockHypothesis.cpp @@ -65,7 +65,7 @@ MockHypothesisGuard::MockHypothesisGuard( m_targetPhrases.push_back(TargetPhrase()); m_targetPhrases.back().CreateFromString(Input, factors, *ti, "|"); m_toptions.push_back(new TranslationOption - (wordsRange,m_targetPhrases.back(),m_sentence)); + (wordsRange,m_targetPhrases.back())); m_hypothesis = Hypothesis::Create(*prevHypo,*m_toptions.back(),NULL); } |