Package opennlp.tools.ml
Interface SequenceTrainer
- All Superinterfaces:
Trainer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiontrain
(SequenceStream<T> events) Trains aSequenceClassificationModel
for givenevents
.
-
Field Details
-
SEQUENCE_VALUE
- See Also:
-
-
Method Details
-
train
Trains aSequenceClassificationModel
for givenevents
.- Type Parameters:
T
- The generic type of elements to process via theSequenceStream
.- Parameters:
events
- The inputevents
.- Returns:
- The trained
SequenceClassificationModel
. - Throws:
IOException
- Thrown if IO errors occurred.
-