# Uses of Class
opennlp.tools.sentdetect.SentenceModel

Packages that use SentenceModel
Package
Description
opennlp.tools.sentdetect

- ## 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, opennlp.tools.util.ObjectStream<opennlp.tools.sentdetect.SentenceSample> samples, SentenceDetectorFactory sdFactory, opennlp.tools.util.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, Dictionary abbDict)`
  Instantiates a `SentenceDetectorME` with an existing `SentenceModel`.
  ``
  `SentenceDetectorME(SentenceModel model, Factory factory)`
  Deprecated.
  Use a `SentenceDetectorFactory` to extend SentenceDetector functionality.
  ``
  `ThreadSafeSentenceDetectorME(SentenceModel model)`
  Deprecated.
  Initializes a `ThreadSafeSentenceDetectorME` with the specified `model`.
  ``
  `ThreadSafeSentenceDetectorME(SentenceModel model, Dictionary abbDict)`
  Deprecated.
  Instantiates a `ThreadSafeSentenceDetectorME` with an existing `SentenceModel`.