diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-04 15:53:06 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-04 15:53:06 +0400 |
commit | 8e2c4a89c0506fcacd3cc6daff9423cf11357fdd (patch) | |
tree | 7d794bcf86d87bc899dfda5c92a0fe232991f6da /moses/TreeInput.cpp | |
parent | 9f2e3a4194b08d4f5da85632a0b836d1b92d801d (diff) | |
parent | b2de22fccb947522bd594f8fc49f57f05b9f9d61 (diff) |
Merge ../mosesdecoder into hieu
Diffstat (limited to 'moses/TreeInput.cpp')
-rw-r--r-- | moses/TreeInput.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/TreeInput.cpp b/moses/TreeInput.cpp index 44a119dac..1ae172532 100644 --- a/moses/TreeInput.cpp +++ b/moses/TreeInput.cpp @@ -44,7 +44,7 @@ bool TreeInput::ProcessAndStripXMLTags(string &line, std::vector<XMLParseOutput> // keep this handy for later const vector<FactorType> &outputFactorOrder = StaticData::Instance().GetOutputFactorOrder(); - const string &factorDelimiter = StaticData::Instance().GetFactorDelimiter(); + // const string &factorDelimiter = StaticData::Instance().GetFactorDelimiter(); // loop through the tokens for (size_t xmlTokenPos = 0 ; xmlTokenPos < xmlTokens.size() ; xmlTokenPos++) { @@ -170,7 +170,8 @@ bool TreeInput::ProcessAndStripXMLTags(string &line, std::vector<XMLParseOutput> for (size_t i=0; i<altTexts.size(); ++i) { // set target phrase TargetPhrase targetPhrase; - targetPhrase.CreateFromString(Output, outputFactorOrder,altTexts[i],factorDelimiter, NULL); + // targetPhrase.CreateFromString(Output, outputFactorOrder,altTexts[i],factorDelimiter, NULL); + targetPhrase.CreateFromString(Output, outputFactorOrder,altTexts[i], NULL); // set constituent label string targetLHSstr; |