diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-03 12:41:59 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-03 12:41:59 +0300 |
commit | 6be932c1f75a9ca171336a253f0f64659a30fa1a (patch) | |
tree | 1e6cea036afe088022f0749c8eef2055f5a63789 /moses/TargetPhrase.cpp | |
parent | ee5b190d43719752a58de6280266b2c2f497e35c (diff) |
consistent naming of future scores, estimated scores
Diffstat (limited to 'moses/TargetPhrase.cpp')
-rw-r--r-- | moses/TargetPhrase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/TargetPhrase.cpp b/moses/TargetPhrase.cpp index 8cab537d4..36096b708 100644 --- a/moses/TargetPhrase.cpp +++ b/moses/TargetPhrase.cpp @@ -189,16 +189,16 @@ void TargetPhrase::EvaluateInIsolation(const Phrase &source, const std::vector<F { if (ffs.size()) { const StaticData &staticData = StaticData::Instance(); - ScoreComponentCollection estimatedFutureScore; + ScoreComponentCollection estimatedScore; for (size_t i = 0; i < ffs.size(); ++i) { const FeatureFunction &ff = *ffs[i]; if (! staticData.IsFeatureFunctionIgnored( ff )) { - ff.EvaluateInIsolation(source, *this, m_scoreBreakdown, estimatedFutureScore); + ff.EvaluateInIsolation(source, *this, m_scoreBreakdown, estimatedScore); } } float weightedScore = m_scoreBreakdown.GetWeightedScore(); - m_estimatedScore += estimatedFutureScore.GetWeightedScore(); + m_estimatedScore += estimatedScore.GetWeightedScore(); m_futureScore = weightedScore + m_estimatedScore; } } |