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/SyntacticLanguageModel.h
parent12a14221e283e6e1d69f14d35437f36b9a728e50 (diff)
rename Evaluate() to EvaluateWhenApplied()
Diffstat (limited to 'moses/SyntacticLanguageModel.h')
-rw-r--r--moses/SyntacticLanguageModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/SyntacticLanguageModel.h b/moses/SyntacticLanguageModel.h
index 6e88d85c1..76882a4d1 100644
--- a/moses/SyntacticLanguageModel.h
+++ b/moses/SyntacticLanguageModel.h
@@ -30,7 +30,7 @@ public:
const FFState* prev_state,
ScoreComponentCollection* accumulator) const;
- FFState* EvaluateChart(const ChartHypothesis& cur_hypo,
+ FFState* EvaluateWhenApplied(const ChartHypothesis& cur_hypo,
int featureID,
ScoreComponentCollection* accumulator) const {
throw std::runtime_error("Syntactic LM can only be used with phrase-based decoder.");