diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-02 20:44:19 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-02 20:44:19 +0400 |
commit | ba54ee6748247c3a4ab5dde69febc7a3f90457cf (patch) | |
tree | 164924bd5d28f25c2029e7b3570b2a11b3e09913 /moses/TreeInput.cpp | |
parent | bdebc477c5c62ccab4d873faa4cc95ca6592ac93 (diff) |
delete another TargetPhrase::SetScore()
Diffstat (limited to 'moses/TreeInput.cpp')
-rw-r--r-- | moses/TreeInput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/TreeInput.cpp b/moses/TreeInput.cpp index 83fb7c00f..8130cad29 100644 --- a/moses/TreeInput.cpp +++ b/moses/TreeInput.cpp @@ -193,7 +193,8 @@ bool TreeInput::ProcessAndStripXMLTags(string &line, std::vector<XMLParseOutput> } // convert from prob to log-prob float scoreValue = FloorScore(TransformScore(probValue)); - targetPhrase.SetScore(scoreValue); + targetPhrase.SetXMLScore(scoreValue); + targetPhrase.Evaluate(); // set span and create XmlOption WordsRange range(startPos+1,endPos); |