Uses of Class
opennlp.tools.sentdetect.SentenceModel
Packages that use SentenceModel
Package
Description
Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).
Package related to identifying sentence boundaries.
-
Uses of SentenceModel in opennlp.tools.formats.brat
Constructors in opennlp.tools.formats.brat with parameters of type SentenceModelModifierConstructorDescriptionBratNameSampleStream
(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples) Creates a newBratNameSampleStream
.BratNameSampleStream
(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples, Set<String> nameTypes) Creates a newBratNameSampleStream
. -
Uses of SentenceModel in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect that return SentenceModelModifier and TypeMethodDescriptionstatic SentenceModel
SentenceDetectorME.train
(String languageCode, ObjectStream<SentenceSample> samples, boolean useTokenEnd, Dictionary abbreviations, TrainingParameters mlParams) Deprecated.static SentenceModel
SentenceDetectorME.train
(String languageCode, ObjectStream<SentenceSample> samples, SentenceDetectorFactory sdFactory, TrainingParameters mlParams) Constructors in opennlp.tools.sentdetect with parameters of type SentenceModelModifierConstructorDescriptionSentenceDetectorME
(SentenceModel model) Initializes the current instance.SentenceDetectorME
(SentenceModel model, Factory factory) Deprecated.Use aSentenceDetectorFactory
to extend SentenceDetector functionality.
SentenceDetectorME.train(String, ObjectStream, SentenceDetectorFactory, TrainingParameters)
and pass in afSentenceDetectorFactory
.