diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-07-10 02:54:16 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-07-10 02:54:16 +0400 |
commit | e197b110fcc9c1a708da1fd88ec7f79492e74ff4 (patch) | |
tree | e30d1ee9750d7a2c8954917176c644ab59f5804a /moses/SyntacticLanguageModel.h | |
parent | 12a14221e283e6e1d69f14d35437f36b9a728e50 (diff) |
rename Evaluate() to EvaluateWhenApplied()
Diffstat (limited to 'moses/SyntacticLanguageModel.h')
-rw-r--r-- | moses/SyntacticLanguageModel.h | 2 |
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."); |