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, SentenceDetectorFactory sdFactory, TrainingParameters mlParams) Starts a training of aSentenceModel
with the given parameters.Constructors in opennlp.tools.sentdetect with parameters of type SentenceModelModifierConstructorDescriptionSentenceDetectorME
(SentenceModel model) Initializes the current instance.SentenceDetectorME
(SentenceModel model, Dictionary abbDict) Instantiates aSentenceDetectorME
with an existingSentenceModel
.SentenceDetectorME
(SentenceModel model, Factory factory) Deprecated.Initializes aThreadSafeSentenceDetectorME
with the specifiedmodel
.ThreadSafeSentenceDetectorME
(SentenceModel model, Dictionary abbDict) Instantiates aThreadSafeSentenceDetectorME
with an existingSentenceModel
.
SentenceDetectorFactory
to extend SentenceDetector functionality.