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:
authorHieu Hoang <hieu@hoang.co.uk>2014-06-02 21:17:39 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-06-02 21:17:39 +0400
commit31a583b0bc322626356a42965f02534249070525 (patch)
treee4b395b25fa410d6a8dab575b15271e131ccba02 /moses/FF/FeatureFunction.h
parentc4d0f7dc93d99a37c6fc749e7155fe8a39f987d2 (diff)
update comments for Evaluate() to say something about stackVec
Diffstat (limited to 'moses/FF/FeatureFunction.h')
-rw-r--r--moses/FF/FeatureFunction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/FF/FeatureFunction.h b/moses/FF/FeatureFunction.h
index b0be713c7..18b016c8f 100644
--- a/moses/FF/FeatureFunction.h
+++ b/moses/FF/FeatureFunction.h
@@ -106,7 +106,9 @@ public:
// This method is called once all the translation options are retrieved from the phrase table, and
// just before search.
// 'inputPath' is guaranteed to be the raw substring from the input. No factors were added or taken away
- // Currently not used by any FF. Not called by moses_chart
+ // 'stackVec' is a vector of chart cells that the RHS non-terms cover.
+ // It is guaranteed to be in the same order as the non-terms in the source phrase.
+ // For pb models, stackvec is NULL.
// No FF should set estimatedFutureScore in both overloads!
virtual void Evaluate(const InputType &input
, const InputPath &inputPath