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:
authorAles Tamchyna <tamchyna@ufal.mff.cuni.cz>2013-12-03 19:50:41 +0400
committerAles Tamchyna <tamchyna@ufal.mff.cuni.cz>2013-12-03 19:50:41 +0400
commitcd63f30f156db0d81904928f0e6a5e514dbb2af5 (patch)
tree710f4245a70b80d6bff93c828e2b8ceb180e5962 /moses/FF/CoveredReferenceFeature.h
parentfec97d2073f5a98bfd1d1126b3e4ef44e0ad14b9 (diff)
modified FF interface: Evaluate() with input has access to future-cost estimation
Diffstat (limited to 'moses/FF/CoveredReferenceFeature.h')
-rw-r--r--moses/FF/CoveredReferenceFeature.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/FF/CoveredReferenceFeature.h b/moses/FF/CoveredReferenceFeature.h
index 16d34ef8b..2d435c930 100644
--- a/moses/FF/CoveredReferenceFeature.h
+++ b/moses/FF/CoveredReferenceFeature.h
@@ -59,7 +59,8 @@ public:
void Evaluate(const InputType &input
, const InputPath &inputPath
, const TargetPhrase &targetPhrase
- , ScoreComponentCollection &scoreBreakdown) const;
+ , ScoreComponentCollection &scoreBreakdown
+ , ScoreComponentCollection *estimatedFutureScore = NULL) const;
FFState* Evaluate(
const Hypothesis& cur_hypo,
const FFState* prev_state,