|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| ArityPhrasePenaltyFF (final int featureID, final double weight, final int owner, final int min, final int max) | |
| double | estimateLogP (final Rule rule, int sentID) |
Static Package Attributes | |
| static final double | ALPHA = -Math.log10(Math.E) |
Private Attributes | |
| final int | minArity |
| final int | maxArity |
Static Private Attributes | |
| static final Logger | logger = Logger.getLogger(ArityPhrasePenaltyFF.class.getName()) |
| joshua.decoder.ff.ArityPhrasePenaltyFF.ArityPhrasePenaltyFF | ( | final int | featureID, |
| final double | weight, | ||
| final int | owner, | ||
| final int | min, | ||
| final int | max | ||
| ) |
| double joshua.decoder.ff.ArityPhrasePenaltyFF.estimateLogP | ( | final Rule | rule, |
| int | sentID | ||
| ) |
final double joshua.decoder.ff.ArityPhrasePenaltyFF.ALPHA = -Math.log10(Math.E) [static, package] |
Estimated log probability value of this feature function when active.
The value of this field should be equal to - Math.log10(Math.E).
This field is package-private to allow access by unit tests for this class.
final Logger joshua.decoder.ff.ArityPhrasePenaltyFF.logger = Logger.getLogger(ArityPhrasePenaltyFF.class.getName()) [static, private] |
Logger for this class.
final int joshua.decoder.ff.ArityPhrasePenaltyFF.maxArity [private] |
final int joshua.decoder.ff.ArityPhrasePenaltyFF.minArity [private] |