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/TreeInput.cpp | |
parent | d015ef2e62f7fa0519fc55352ab7d4fbadbc2608 (diff) |
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
Diffstat (limited to 'moses/TreeInput.cpp')
-rw-r--r-- | moses/TreeInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TreeInput.cpp b/moses/TreeInput.cpp index 7c3557d17..83fb7c00f 100644 --- a/moses/TreeInput.cpp +++ b/moses/TreeInput.cpp @@ -169,7 +169,7 @@ bool TreeInput::ProcessAndStripXMLTags(string &line, std::vector<XMLParseOutput> for (size_t i=0; i<altTexts.size(); ++i) { // set target phrase TargetPhrase targetPhrase; - targetPhrase.CreateFromString(outputFactorOrder,altTexts[i],factorDelimiter); + targetPhrase.CreateFromString(Output, outputFactorOrder,altTexts[i],factorDelimiter); // set constituent label string targetLHSstr; |