Package opennlp.tools.lemmatizer
Class LemmaSampleEventStream
- All Implemented Interfaces:
AutoCloseable
,ObjectStream<Event>
Class for creating an event stream out of data files for training a probabilistic
Lemmatizer
.-
Constructor Summary
ConstructorDescriptionCreates a new event stream based on the specified data stream using aLemmatizerContextGenerator
. -
Method Summary
Methods inherited from class opennlp.tools.util.AbstractEventStream
close, read, reset
-
Constructor Details
-
LemmaSampleEventStream
Creates a new event stream based on the specified data stream using aLemmatizerContextGenerator
.- Parameters:
d
- The data stream for this event stream.cg
- TheLemmatizerContextGenerator
which should be used in the creation of events for this event streamd
.
-