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 <hieu@hoang.co.uk>2013-08-23 18:00:47 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-23 18:00:47 +0400
commit5625f37eb170546ab84a24480ef674d469475047 (patch)
treef852a409efaee9bc62c70a64b4d46bfeddb3eb15 /moses/ChartHypothesis.cpp
parent3ad3cd900426b10e0bd7bb01612b6f7d55592fa2 (diff)
delete ChartBasedFeatureContext
Diffstat (limited to 'moses/ChartHypothesis.cpp')
-rw-r--r--moses/ChartHypothesis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartHypothesis.cpp b/moses/ChartHypothesis.cpp
index c3f090b64..23896b782 100644
--- a/moses/ChartHypothesis.cpp
+++ b/moses/ChartHypothesis.cpp
@@ -162,7 +162,7 @@ void ChartHypothesis::Evaluate()
StatelessFeatureFunction::GetStatelessFeatureFunctions();
for (unsigned i = 0; i < sfs.size(); ++i) {
if (! staticData.IsFeatureFunctionIgnored( *sfs[i] )) {
- sfs[i]->EvaluateChart(ChartBasedFeatureContext(this),&m_scoreBreakdown);
+ sfs[i]->EvaluateChart(*this,&m_scoreBreakdown);
}
}