public class DocumentClassifierEventStream extends opennlp.tools.util.AbstractEventStream<DocSample>
| Constructor and Description |
|---|
DocumentClassifierEventStream(opennlp.tools.util.ObjectStream<DocSample> dataStream,
DocumentClassifierContextGenerator contextGenerator)
Initializes the current instance via samples and feature generators.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<opennlp.tools.ml.model.Event> |
createEvents(DocSample sample) |
public DocumentClassifierEventStream(opennlp.tools.util.ObjectStream<DocSample> dataStream, DocumentClassifierContextGenerator contextGenerator)
dataStream - ObjectStream of DocSamplescontextGenerator - the feature generatorsCopyright © 2017 IXA pipes. All rights reserved.