public class LemmaSampleEventStream extends opennlp.tools.util.AbstractEventStream<LemmaSample>
| Constructor and Description |
|---|
LemmaSampleEventStream(opennlp.tools.util.ObjectStream<LemmaSample> d,
LemmatizerContextGenerator cg)
Creates a new event stream based on the specified data stream using the specified context generator.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<opennlp.tools.ml.model.Event> |
createEvents(LemmaSample sample) |
public LemmaSampleEventStream(opennlp.tools.util.ObjectStream<LemmaSample> d, LemmatizerContextGenerator cg)
d - The data stream for this event stream.cg - The context generator which should be used in the creation of events for this event stream.protected Iterator<opennlp.tools.ml.model.Event> createEvents(LemmaSample sample)
createEvents in class opennlp.tools.util.AbstractEventStream<LemmaSample>Copyright © 2016 IXA pipes. All rights reserved.