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>2014-07-10 02:54:16 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-07-10 02:54:16 +0400
commite197b110fcc9c1a708da1fd88ec7f79492e74ff4 (patch)
treee30d1ee9750d7a2c8954917176c644ab59f5804a /moses/ChartHypothesis.cpp
parent12a14221e283e6e1d69f14d35437f36b9a728e50 (diff)
rename Evaluate() to EvaluateWhenApplied()
Diffstat (limited to 'moses/ChartHypothesis.cpp')
-rw-r--r--moses/ChartHypothesis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ChartHypothesis.cpp b/moses/ChartHypothesis.cpp
index 212a28d23..2bcc480e7 100644
--- a/moses/ChartHypothesis.cpp
+++ b/moses/ChartHypothesis.cpp
@@ -200,7 +200,7 @@ void ChartHypothesis::Evaluate()
StatelessFeatureFunction::GetStatelessFeatureFunctions();
for (unsigned i = 0; i < sfs.size(); ++i) {
if (! staticData.IsFeatureFunctionIgnored( *sfs[i] )) {
- sfs[i]->EvaluateChart(*this,&m_scoreBreakdown);
+ sfs[i]->EvaluateWhenApplied(*this,&m_scoreBreakdown);
}
}
@@ -208,7 +208,7 @@ void ChartHypothesis::Evaluate()
StatefulFeatureFunction::GetStatefulFeatureFunctions();
for (unsigned i = 0; i < ffs.size(); ++i) {
if (! staticData.IsFeatureFunctionIgnored( *ffs[i] )) {
- m_ffStates[i] = ffs[i]->EvaluateChart(*this,i,&m_scoreBreakdown);
+ m_ffStates[i] = ffs[i]->EvaluateWhenApplied(*this,i,&m_scoreBreakdown);
}
}