mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
update comments for Evaluate() to say something about stackVec
This commit is contained in:
parent
c4d0f7dc93
commit
31a583b0bc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user