Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-11-03 12:41:59 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-03 12:41:59 +0300
commit6be932c1f75a9ca171336a253f0f64659a30fa1a (patch)
tree1e6cea036afe088022f0749c8eef2055f5a63789 /moses/TargetPhrase.cpp
parentee5b190d43719752a58de6280266b2c2f497e35c (diff)
consistent naming of future scores, estimated scores
Diffstat (limited to 'moses/TargetPhrase.cpp')
-rw-r--r--moses/TargetPhrase.cpp6
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;
}
}