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 <hieuhoang@gmail.com>2013-09-17 17:06:17 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-09-17 17:06:17 +0400
commit5ebb81a17af4008768f8fd93d7ad31442325f47c (patch)
treece039914c5be207f06f663d944767e0b0eaf222d /moses/MockHypothesis.cpp
parent764684bb6f7b00bad9c79f0dc6d88bdc8093d20f (diff)
constrained decoding FF works for both pb and hiero
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 6add6dd2d..8042fd931 100644
--- a/moses/MockHypothesis.cpp
+++ b/moses/MockHypothesis.cpp
@@ -66,7 +66,7 @@ MockHypothesisGuard::MockHypothesisGuard(
m_targetPhrases.back().CreateFromString(Input, factors, *ti, "|", NULL);
m_toptions.push_back(new TranslationOption
(wordsRange,m_targetPhrases.back()));
- m_hypothesis = Hypothesis::Create(*prevHypo,*m_toptions.back(),NULL);
+ m_hypothesis = Hypothesis::Create(*prevHypo,*m_toptions.back());
}