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:41:08 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-07-10 02:41:08 +0400
commit12a14221e283e6e1d69f14d35437f36b9a728e50 (patch)
tree2534bf2ed996393d4dffb650e36b9e183cea4316 /moses/FF/UnknownWordPenaltyProducer.h
parent587b5fd716f0cfc5207bbd790accd38ab1ae0ad6 (diff)
rename Evaluate() to EvaluateWhenApplied()
Diffstat (limited to 'moses/FF/UnknownWordPenaltyProducer.h')
-rw-r--r--moses/FF/UnknownWordPenaltyProducer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FF/UnknownWordPenaltyProducer.h b/moses/FF/UnknownWordPenaltyProducer.h
index 5a741db57..d1ac80a02 100644
--- a/moses/FF/UnknownWordPenaltyProducer.h
+++ b/moses/FF/UnknownWordPenaltyProducer.h
@@ -31,7 +31,7 @@ public:
}
std::vector<float> DefaultWeights() const;
- void Evaluate(const Hypothesis& hypo,
+ void EvaluateWhenApplied(const Hypothesis& hypo,
ScoreComponentCollection* accumulator) const
{}
void EvaluateChart(const ChartHypothesis &hypo,