diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-02 21:17:39 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-02 21:17:39 +0400 |
commit | 31a583b0bc322626356a42965f02534249070525 (patch) | |
tree | e4b395b25fa410d6a8dab575b15271e131ccba02 /moses/FF/FeatureFunction.h | |
parent | c4d0f7dc93d99a37c6fc749e7155fe8a39f987d2 (diff) |
update comments for Evaluate() to say something about stackVec
Diffstat (limited to 'moses/FF/FeatureFunction.h')
-rw-r--r-- | moses/FF/FeatureFunction.h | 4 |
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 |