diff options
author | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2015-01-06 12:46:31 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2015-01-06 12:46:31 +0300 |
commit | f932058af43f03678074f1ccebdddb0bec86f6b1 (patch) | |
tree | fdec1a3855a6afe2d8a89703d7f0f32458929e86 /moses/ScoreComponentCollectionTest.cpp | |
parent | ab0227ea4807613d7efb0fc1ccc06ab83483ec7a (diff) |
Added new feature function hook: EvaluateWithSourceContextCollecton(...)
Diffstat (limited to 'moses/ScoreComponentCollectionTest.cpp')
-rw-r--r-- | moses/ScoreComponentCollectionTest.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/moses/ScoreComponentCollectionTest.cpp b/moses/ScoreComponentCollectionTest.cpp index a238d66b8..2c0a6dd5a 100644 --- a/moses/ScoreComponentCollectionTest.cpp +++ b/moses/ScoreComponentCollectionTest.cpp @@ -43,6 +43,15 @@ public: , ScoreComponentCollection &scoreBreakdown , ScoreComponentCollection *estimatedFutureScore) const {} + + void EvaluateWithSourceContextCollection(const InputType &input + , const InputPath &inputPath + , const TargetPhraseCollection &targetPhraseCollection + , const StackVec *stackVec + , ScoreComponentCollection &scoreBreakdown + , ScoreComponentCollection *estimatedFutureScore = NULL) const + {} + void EvaluateInIsolation(const Phrase &source , const TargetPhrase &targetPhrase , ScoreComponentCollection &scoreBreakdown |