|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| OOVFF (int featureID, double weight, int owner) | |
| double | estimateLogP (final Rule rule, int sentID) |
| joshua.decoder.ff.OOVFF.OOVFF | ( | int | featureID, |
| double | weight, | ||
| int | owner | ||
| ) |
| double joshua.decoder.ff.OOVFF.estimateLogP | ( | final Rule | rule, |
| int | sentID | ||
| ) |
Each additional word gets a penalty. The more number of words, the more negative. So, to encourage longer sentence, we should have a negative weight on the feature