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

List of all members.

Package Functions

 FeatureBuffer () throws IOException
int add (TreeMap< Integer, Float > features)

Constructor & Destructor Documentation


Member Function Documentation

int joshua.tools.GrammarPacker.FeatureBuffer.add ( TreeMap< Integer, Float >  features) [package]

Add a block of features to the buffer.

Parameters:
featuresTreeMap with the features for one rule.
Returns:
The index of the resulting data block.

Here is the call graph for this function: