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:
Diffstat (limited to 'moses2/FF/FeatureFunctions.cpp')
-rw-r--r--moses2/FF/FeatureFunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses2/FF/FeatureFunctions.cpp b/moses2/FF/FeatureFunctions.cpp
index efe018b7b..39e2436b6 100644
--- a/moses2/FF/FeatureFunctions.cpp
+++ b/moses2/FF/FeatureFunctions.cpp
@@ -232,14 +232,14 @@ void FeatureFunctions::EvaluateWhenAppliedBatch(const Batch &batch) const
void FeatureFunctions::InitializeForInput(const InputType &input)
{
BOOST_FOREACH(FeatureFunction *ff, m_featureFunctions) {
- ff->InitializeForInput(input);
+ ff->InitializeForInput(m_system, input);
}
}
void FeatureFunctions::CleanUpAfterSentenceProcessing(const InputType &input) const
{
BOOST_FOREACH(const FeatureFunction *ff, m_featureFunctions) {
- ff->CleanUpAfterSentenceProcessing(input);
+ ff->CleanUpAfterSentenceProcessing(m_system, input);
}
}