diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-03-08 23:10:28 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-03-08 23:10:28 +0400 |
commit | 9298402dcf75bf08364f877750919312e7e80a29 (patch) | |
tree | 501b6b9bdadf0800d1a9d90593dc3090045f65f3 /moses/MockHypothesis.cpp | |
parent | d015ef2e62f7fa0519fc55352ab7d4fbadbc2608 (diff) |
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
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 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); |