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

- Packages that use SentenceSample
  Package | Description
  --- | ---
  opennlp.tools.cmdline.sentdetect |
  opennlp.tools.formats | Experimental package related to converting various corpora to OpenNLP Format.
  opennlp.tools.formats.ad |
  opennlp.tools.formats.conllu |
  opennlp.tools.formats.convert |
  opennlp.tools.formats.irishsentencebank |
  opennlp.tools.formats.letsmt |
  opennlp.tools.formats.moses |
  opennlp.tools.formats.nkjp |
  opennlp.tools.sentdetect | Package related to identifying sentece boundries.

- - ### Uses of SentenceSample in opennlp.tools.cmdline.sentdetect

    Methods in opennlp.tools.cmdline.sentdetect with parameters of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `void` | SentenceEvaluationErrorListener.`missclassified(SentenceSample reference, SentenceSample prediction)`

  - ### Uses of SentenceSample in opennlp.tools.formats

    Methods in opennlp.tools.formats that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | ConllXSentenceSampleStreamFactory.`create(String[] args)`
    `ObjectStream<SentenceSample>` | SentenceSampleStreamFactory.`create(String[] args)`

  - ### Uses of SentenceSample in opennlp.tools.formats.ad

    Methods in opennlp.tools.formats.ad that return SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `SentenceSample` | ADSentenceSampleStream.`read()`

    Methods in opennlp.tools.formats.ad that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | ADSentenceSampleStreamFactory.`create(String[] args)`

  - ### Uses of SentenceSample in opennlp.tools.formats.conllu

    Methods in opennlp.tools.formats.conllu that return SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `SentenceSample` | ConlluSentenceSampleStream.`read()`

    Methods in opennlp.tools.formats.conllu that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | ConlluSentenceSampleStreamFactory.`create(String[] args)`

  - ### Uses of SentenceSample in opennlp.tools.formats.convert

    Methods in opennlp.tools.formats.convert that return SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `SentenceSample` | AbstractToSentenceSampleStream.`read()`

    Methods in opennlp.tools.formats.convert that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | NameToSentenceSampleStreamFactory.`create(String[] args)`
    `ObjectStream<SentenceSample>` | ParseToSentenceSampleStreamFactory.`create(String[] args)`
    `ObjectStream<SentenceSample>` | POSToSentenceSampleStreamFactory.`create(String[] args)`

  - ### Uses of SentenceSample in opennlp.tools.formats.irishsentencebank

    Methods in opennlp.tools.formats.irishsentencebank that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | IrishSentenceBankSentenceStreamFactory.`create(String[] args)`

  - ### Uses of SentenceSample in opennlp.tools.formats.letsmt

    Methods in opennlp.tools.formats.letsmt that return SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `SentenceSample` | DetokenizeSentenceSampleStream.`read()`

    Methods in opennlp.tools.formats.letsmt that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | LetsmtSentenceStreamFactory.`create(String[] args)`

    Constructor parameters in opennlp.tools.formats.letsmt with type arguments of type SentenceSample
    Constructor and Description
    `DetokenizeSentenceSampleStream(Detokenizer detokenizer, ObjectStream<SentenceSample> samples)`

  - ### Uses of SentenceSample in opennlp.tools.formats.moses

    Methods in opennlp.tools.formats.moses that return SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `SentenceSample` | MosesSentenceSampleStream.`read()`

    Methods in opennlp.tools.formats.moses that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | MosesSentenceSampleStreamFactory.`create(String[] args)`

  - ### Uses of SentenceSample in opennlp.tools.formats.nkjp

    Methods in opennlp.tools.formats.nkjp that return SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `SentenceSample` | NKJPSentenceSampleStream.`read()`

    Methods in opennlp.tools.formats.nkjp that return types with arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<SentenceSample>` | NKJPSentenceSampleStreamFactory.`create(String[] args)`

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

    Methods in opennlp.tools.sentdetect that return SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `protected SentenceSample` | SentenceDetectorEvaluator.`processSample(SentenceSample sample)`
    `SentenceSample` | SentenceSampleStream.`read()`

    Methods in opennlp.tools.sentdetect with parameters of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `protected Iterator<Event>` | SDEventStream.`createEvents(SentenceSample sample)`
    `protected SentenceSample` | SentenceDetectorEvaluator.`processSample(SentenceSample sample)`

    Method parameters in opennlp.tools.sentdetect with type arguments of type SentenceSample
    Modifier and Type | Method and Description
    --- | ---
    `void` | SDCrossValidator.`evaluate(ObjectStream<SentenceSample> samples, int nFolds)` Starts the evaluation.
    `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)`

    Constructor parameters in opennlp.tools.sentdetect with type arguments of type SentenceSample
    Constructor and Description
    `SDEventStream(ObjectStream<SentenceSample> samples, SDContextGenerator cg, EndOfSentenceScanner scanner)` Initializes the current instance.

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