|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| Future (PhraseChart chart) | |
| float | Full () |
| float | Change (Coverage coverage, int begin, int end) |
Private Member Functions | |
| float | getEntry (int begin, int end) |
| void | setEntry (int begin, int end, float value) |
Private Attributes | |
| ChartSpan< Float > | entries |
| int | sentlen |
Computes bottom-up the best way to cover all spans of the input sentence, using the phrases that have been assembled in a PhraseChart. Requires that there be a translation at least for every word (which can be accomplished with a pass-through grammar).
| chart |
| float joshua.decoder.phrase.Future.Change | ( | Coverage | coverage, |
| int | begin, | ||
| int | end | ||
| ) |
Calculate change in rest cost when the given coverage is to be covered.
| float joshua.decoder.phrase.Future.Full | ( | ) |
| float joshua.decoder.phrase.Future.getEntry | ( | int | begin, |
| int | end | ||
| ) | [private] |
| void joshua.decoder.phrase.Future.setEntry | ( | int | begin, |
| int | end, | ||
| float | value | ||
| ) | [private] |
ChartSpan<Float> joshua.decoder.phrase.Future.entries [private] |
int joshua.decoder.phrase.Future.sentlen [private] |