Package opennlp.tools.ml
Interface SequenceTrainer
- All Superinterfaces:
Trainer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontrain(SequenceStream<T> events) Trains aSequenceClassificationModelfor givenevents.
-
Field Details
-
SEQUENCE_VALUE
- See Also:
-
-
Method Details
-
train
Trains aSequenceClassificationModelfor 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.
-