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/XmlOption.cpp | |
parent | d015ef2e62f7fa0519fc55352ab7d4fbadbc2608 (diff) |
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
Diffstat (limited to 'moses/XmlOption.cpp')
-rw-r--r-- | moses/XmlOption.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/XmlOption.cpp b/moses/XmlOption.cpp index bd417dd07..4ca12abb0 100644 --- a/moses/XmlOption.cpp +++ b/moses/XmlOption.cpp @@ -340,7 +340,7 @@ bool ProcessAndStripXMLTags(string &line, vector<XmlOption*> &res, ReorderingCon WordsRange range(startPos,endPos-1); // span covered by phrase TargetPhrase targetPhrase; - targetPhrase.CreateFromString(outputFactorOrder,altTexts[i],factorDelimiter); + targetPhrase.CreateFromString(Output, outputFactorOrder,altTexts[i],factorDelimiter); targetPhrase.SetScore(scoreValue); // TODO: targetPhrase.SetSourcePhrase() ? |