Uses of Class opennlp.tools.sentdetect.SentenceModel (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

## Uses of Class
opennlp.tools.sentdetect.SentenceModel

- Packages that use SentenceModel
  Package | Description
  --- | ---
  opennlp.tools.formats.brat |
  opennlp.tools.sentdetect | Package related to identifying sentece boundries.

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

    Constructors in opennlp.tools.formats.brat with parameters of type SentenceModel
    Constructor and 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 and Description
    --- | ---
    `static SentenceModel` | SentenceDetectorME.`train(String languageCode, ObjectStream<SentenceSample> samples, boolean useTokenEnd, Dictionary abbreviations)` Deprecated. Use `SentenceDetectorME.train(String, ObjectStream, SentenceDetectorFactory, TrainingParameters)` and pass in af `SentenceDetectorFactory`.
    `static SentenceModel` | SentenceDetectorME.`train(String languageCode, ObjectStream<SentenceSample> samples, boolean useTokenEnd, Dictionary abbreviations, TrainingParameters mlParams)` Deprecated. Use `SentenceDetectorME.train(String, ObjectStream, SentenceDetectorFactory, TrainingParameters)` and pass in af `SentenceDetectorFactory`.
    `static SentenceModel` | SentenceDetectorME.`train(String languageCode, ObjectStream<SentenceSample> samples, SentenceDetectorFactory sdFactory, TrainingParameters mlParams)`

    Constructors in opennlp.tools.sentdetect with parameters of type SentenceModel
    Constructor and Description
    `SentenceDetectorME(SentenceModel model)` Initializes the current instance.
    `SentenceDetectorME(SentenceModel model, Factory factory)` Deprecated. Use a `SentenceDetectorFactory` to extend SentenceDetector functionality.

Copyright © 2026 The Apache Software Foundation. All rights reserved.