opennlp.tools.doccat
Class DocumentCategorizerEventStream

java.lang.Object
  extended by opennlp.model.AbstractEventStream
      extended by opennlp.tools.util.AbstractEventStream<DocumentSample>
          extended by opennlp.tools.doccat.DocumentCategorizerEventStream
All Implemented Interfaces:
opennlp.model.EventStream

public class DocumentCategorizerEventStream
extends AbstractEventStream<DocumentSample>

Iterator-like class for modeling document classification events.


Constructor Summary
DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
          Initializes the current instance.
DocumentCategorizerEventStream(ObjectStream<DocumentSample> data, FeatureGenerator... featureGenerators)
          Initializes the current instance.
 
Method Summary
 
Methods inherited from class opennlp.tools.util.AbstractEventStream
hasNext, next
 
Methods inherited from class opennlp.model.AbstractEventStream
remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentCategorizerEventStream

public DocumentCategorizerEventStream(ObjectStream<DocumentSample> data,
                                      FeatureGenerator... featureGenerators)
Initializes the current instance.

Parameters:
data - ObjectStream of DocumentSamples
featureGenerators -

DocumentCategorizerEventStream

public DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
Initializes the current instance.

Parameters:
samples - ObjectStream of DocumentSamples


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.