module documentation
Undocumented
| Class | |
Return an aligned sentence object, which encapsulates two sentences along with an Alignment between them. |
| Class | |
A storage class for representing alignment between two sequences, s1, s2. In general, an alignment is a set of tuples of the form (i, j, ...) representing an alignment between the i-th element of s1 and the j-th element of s2... |
| Class | |
In-memory store of translations for a given phrase, and the log probability of the those translations |
| Variable | |
Undocumented |
| Function | _check |
Check whether the alignments are legal. |
| Function | _giza2pair |
Undocumented |
| Function | _naacl2pair |
Undocumented |