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:
authorMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2015-01-06 12:46:31 +0300
committerMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2015-01-06 12:46:31 +0300
commitf932058af43f03678074f1ccebdddb0bec86f6b1 (patch)
treefdec1a3855a6afe2d8a89703d7f0f32458929e86 /moses/ScoreComponentCollectionTest.cpp
parentab0227ea4807613d7efb0fc1ccc06ab83483ec7a (diff)
Added new feature function hook: EvaluateWithSourceContextCollecton(...)
Diffstat (limited to 'moses/ScoreComponentCollectionTest.cpp')
-rw-r--r--moses/ScoreComponentCollectionTest.cpp9
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