diff options
author | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2015-01-06 15:56:13 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2015-01-06 15:56:13 +0300 |
commit | 18691c19a3322e6837e529ab699609e8e9637989 (patch) | |
tree | efdda9734cd7da2c1967f4cf836d756b4f1b55f0 /moses/LM | |
parent | 4e334f2b4e11ea2a89699a72e63a01fe1f3113b5 (diff) |
second attempt at new feature hook, needs review of constness etc.
Diffstat (limited to 'moses/LM')
-rw-r--r-- | moses/LM/Base.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/moses/LM/Base.h b/moses/LM/Base.h index de65589bb..016975d06 100644 --- a/moses/LM/Base.h +++ b/moses/LM/Base.h @@ -91,6 +91,7 @@ public: , const TargetPhrase &targetPhrase , ScoreComponentCollection &scoreBreakdown , ScoreComponentCollection &estimatedFutureScore) const; + void EvaluateWithSourceContext(const InputType &input , const InputPath &inputPath , const TargetPhrase &targetPhrase @@ -99,15 +100,10 @@ public: , ScoreComponentCollection *estimatedFutureScore = NULL) const {} - void EvaluateWithSourceContextCollection(const InputType &input - , const InputPath &inputPath - , const TargetPhraseCollection &targetPhraseCollection - , const StackVec *stackVec - , ScoreComponentCollection &scoreBreakdown - , ScoreComponentCollection *estimatedFutureScore = NULL) const + void EvaluateTranslationOptionListWithSourceContext(const InputType &input + , const TranslationOptionList &translationOptionList) const {} - }; } |