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-08 14:28:31 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-08 14:28:31 +0400
commita1b2f66d91a3bb2122674f727e257ed256d9f729 (patch)
tree3444c8d7670ead653bec883eeac5efeb7692fc62 /moses/MockHypothesis.cpp
parent8a371f65474ca8c242bbee833579a77a306ec153 (diff)
each new target phrase in factored decomposition holds scores from previous steps.
Diffstat (limited to 'moses/MockHypothesis.cpp')
-rw-r--r--moses/MockHypothesis.cpp2
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);
}