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-03-08 23:10:28 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-03-08 23:10:28 +0400
commit9298402dcf75bf08364f877750919312e7e80a29 (patch)
tree501b6b9bdadf0800d1a9d90593dc3090045f65f3 /moses/MockHypothesis.cpp
parentd015ef2e62f7fa0519fc55352ab7d4fbadbc2608 (diff)
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
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 e7c59bb8e..b0e407fac 100644
--- a/moses/MockHypothesis.cpp
+++ b/moses/MockHypothesis.cpp
@@ -63,7 +63,7 @@ MockHypothesisGuard::MockHypothesisGuard(
Hypothesis* prevHypo = m_hypothesis;
WordsRange wordsRange(ai->first,ai->second);
m_targetPhrases.push_back(TargetPhrase());
- m_targetPhrases.back().CreateFromString(factors,*ti,"|");
+ m_targetPhrases.back().CreateFromString(Input, factors, *ti, "|");
m_toptions.push_back(new TranslationOption
(wordsRange,m_targetPhrases.back(),m_sentence));
m_hypothesis = Hypothesis::Create(*prevHypo,*m_toptions.back(),NULL);