Package opennlp.tools.ml.model
Interface SequenceStream<S>
- All Superinterfaces:
AutoCloseable
,ObjectStream<Sequence<S>>
- All Known Implementing Classes:
ChunkSampleSequenceStream
,LemmaSampleSequenceStream
,NameSampleSequenceStream
,POSSampleSequenceStream
Interface for streams of
sequences
used to train sequence models.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionEvent[]
updateContext
(Sequence<S> sequence, AbstractModel model) Creates a new event array based on the outcomes predicted by the specified parameters for the specifiedSequence
.Methods inherited from interface opennlp.tools.util.ObjectStream
close, read, reset