Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.tools.GrammarPacker.AlignmentBuffer Class Reference

List of all members.

Package Functions

 AlignmentBuffer () throws IOException
int add (byte[] alignments)

Constructor & Destructor Documentation


Member Function Documentation

int joshua.tools.GrammarPacker.AlignmentBuffer.add ( byte[]  alignments) [package]

Add a rule alignments to the buffer.

Parameters:
alignmentsa byte array with the alignment points for one rule.
Returns:
The index of the resulting data block.

Here is the caller graph for this function: