Package opennlp.tools.chunker
Class ChunkerEventStream
- All Implemented Interfaces:
AutoCloseable
,ObjectStream<Event>
Class for creating an event stream out of data files for training a
Chunker
.-
Constructor Summary
ConstructorDescriptionCreates a new event stream based on the specified data stream using the given context generator. -
Method Summary
Methods inherited from class opennlp.tools.util.AbstractEventStream
close, read, reset
-
Constructor Details
-
ChunkerEventStream
Creates a new event stream based on the specified data stream using the given context generator.- Parameters:
d
- The data stream for this event stream.cg
- AChunkerContextGenerator
which should be used for the event streamd
.
-