diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-22 15:03:00 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-22 15:03:00 +0400 |
commit | 112bcdc925401388466169869bbefcae3a0b78a0 (patch) | |
tree | 1aae65820bbe9739f183e76e75db9aa2cefdbc25 /moses/XmlOption.cpp | |
parent | f4a75b30f7d275004c0ac41f10584a0985866e28 (diff) |
Make Phrase::CreateFromString() more efficient
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 abad5fee9..33d6eda76 100644 --- a/moses/XmlOption.cpp +++ b/moses/XmlOption.cpp @@ -341,7 +341,7 @@ bool ProcessAndStripXMLTags(string &line, vector<XmlOption*> &res, ReorderingCon WordsRange range(startPos,endPos-1); // span covered by phrase TargetPhrase targetPhrase; - targetPhrase.CreateFromString(Output, outputFactorOrder,altTexts[i],factorDelimiter); + targetPhrase.CreateFromString(Output, outputFactorOrder,altTexts[i],factorDelimiter, NULL); targetPhrase.SetXMLScore(scoreValue); targetPhrase.Evaluate(); |