# Uses of Class
opennlp.tools.sentdetect.SentenceModel

Packages that use SentenceModel
Package
Description
opennlp.tools.formats.brat
Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).
opennlp.tools.sentdetect
Package related to identifying sentence boundaries.

- ## Uses of SentenceModel in opennlp.tools.formats.brat

  Constructors in opennlp.tools.formats.brat with parameters of type SentenceModel
  Modifier
  Constructor
  Description
  ``
  `BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples)`
  Creates a new `BratNameSampleStream`.
  ``
  `BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples, Set<String> nameTypes)`
  Creates a new `BratNameSampleStream`.

- ## Uses of SentenceModel in opennlp.tools.sentdetect

  Methods in opennlp.tools.sentdetect that return SentenceModel
  Modifier and Type
  Method
  Description
  `static SentenceModel`
  SentenceDetectorME.`train(String languageCode, ObjectStream<SentenceSample> samples, SentenceDetectorFactory sdFactory, TrainingParameters mlParams)`
  Starts a training of a `SentenceModel` with the given parameters.
  Constructors in opennlp.tools.sentdetect with parameters of type SentenceModel
  Modifier
  Constructor
  Description
  ``
  `SentenceDetectorME(SentenceModel model)`
  Initializes the current instance.
  ``
  `SentenceDetectorME(SentenceModel model, Factory factory)`
  Deprecated.
  Use a `SentenceDetectorFactory` to extend SentenceDetector functionality.