Class OnePassDataIndexer

  • All Implemented Interfaces:
    DataIndexer
    Direct Known Subclasses:
    OnePassRealValueDataIndexer

    public class OnePassDataIndexer
    extends AbstractDataIndexer
    An indexer for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates.
    • Constructor Detail

      • OnePassDataIndexer

        public OnePassDataIndexer()
    • Method Detail

      • index

        public void index​(ObjectStream<Event> eventStream)
                   throws java.io.IOException
        Description copied from interface: DataIndexer
        Performs the data indexing. Make sure the init(...) method is called first.
        Parameters:
        eventStream - a stream of events
        Throws:
        java.io.IOException