|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Classes | |
| class | M2 |
Public Member Functions | |
| Alignment (short fLength, short eLength, String alignments) | |
| String | toString () |
Private Attributes | |
| short | eLength |
| short | fLength |
| M2 | aligned |
A set of word alignments between an F phrase and an E phrase. The implementation uses a two-dimensional bit vector, though for our purposes we could just keep the original string around (which would save lots of time parsing and reconstructing the string).
| joshua.subsample.Alignment.Alignment | ( | short | fLength, |
| short | eLength, | ||
| String | alignments | ||
| ) |
| String joshua.subsample.Alignment.toString | ( | ) |
M2 joshua.subsample.Alignment.aligned [private] |
short joshua.subsample.Alignment.eLength [private] |
short joshua.subsample.Alignment.fLength [private] |