diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-04 18:10:45 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-04 18:10:45 +0300 |
commit | 4078c30a42690a87b6db0fc04e655f9bcfa8671e (patch) | |
tree | 3034f9cfa58ad5fe84e37225471692410c264fbd /moses/FF/WordPenaltyProducer.cpp | |
parent | e87dd15f4a320febefd8c41d19e3ed0b939f5d47 (diff) |
estimatedScore -> estimatedScores
Diffstat (limited to 'moses/FF/WordPenaltyProducer.cpp')
-rw-r--r-- | moses/FF/WordPenaltyProducer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FF/WordPenaltyProducer.cpp b/moses/FF/WordPenaltyProducer.cpp index 063a1c5f5..72959984a 100644 --- a/moses/FF/WordPenaltyProducer.cpp +++ b/moses/FF/WordPenaltyProducer.cpp @@ -20,7 +20,7 @@ WordPenaltyProducer::WordPenaltyProducer(const std::string &line) void WordPenaltyProducer::EvaluateInIsolation(const Phrase &source , const TargetPhrase &targetPhrase , ScoreComponentCollection &scoreBreakdown - , ScoreComponentCollection &estimatedScore) const + , ScoreComponentCollection &estimatedScores) const { float score = - (float) targetPhrase.GetNumTerminals(); scoreBreakdown.Assign(this, score); |