Hi,

I'm working on a feature function that depends on the source and I would 
like to add its score to future cost estimates.

I noticed that FFs can only affect future score in the first overload of 
the Evaluate() method which does not have access to the input. Is there 
a reason for this limitation?

As far as I can tell from the code (in TranslationOptionCollection.cpp), 
pruning only occurs *after* EvaluateWithSource() is called. So would it 
break anything if FFs which are called in this method could also affect 
future cost estimates?

If not, is it OK if I add a reference to estimatedFutureScore as a 
parameter to the second overload?

Thanks,
Ales
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to