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/TreeInput.cpp
parentd015ef2e62f7fa0519fc55352ab7d4fbadbc2608 (diff)
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
Diffstat (limited to 'moses/TreeInput.cpp')
-rw-r--r--moses/TreeInput.cpp2
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;