update comments for Evaluate() to say something about stackVec

This commit is contained in:
Hieu Hoang 2014-06-02 18:17:39 +01:00
parent c4d0f7dc93
commit 31a583b0bc

View File

@ -106,7 +106,9 @@ public:
// This method is called once all the translation options are retrieved from the phrase table, and // This method is called once all the translation options are retrieved from the phrase table, and
// just before search. // just before search.
// 'inputPath' is guaranteed to be the raw substring from the input. No factors were added or taken away // '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! // No FF should set estimatedFutureScore in both overloads!
virtual void Evaluate(const InputType &input virtual void Evaluate(const InputType &input
, const InputPath &inputPath , const InputPath &inputPath