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

## Uses of Interface
opennlp.tools.sentdetect.SDContextGenerator

- Packages that use SDContextGenerator
  Package | Description
  --- | ---
  opennlp.tools.sentdetect | Package related to identifying sentece boundries.
  opennlp.tools.sentdetect.lang |
  opennlp.tools.sentdetect.lang.th | Package related to the processing of Thai data.

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

    Classes in opennlp.tools.sentdetect that implement SDContextGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultSDContextGenerator` Generate event contexts for maxent decisions for sentence detection.

    Methods in opennlp.tools.sentdetect that return SDContextGenerator
    Modifier and Type | Method and Description
    --- | ---
    `SDContextGenerator` | SentenceDetectorFactory.`getSDContextGenerator()`

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

  - ### Uses of SDContextGenerator in opennlp.tools.sentdetect.lang

    Methods in opennlp.tools.sentdetect.lang that return SDContextGenerator
    Modifier and Type | Method and Description
    --- | ---
    `SDContextGenerator` | Factory.`createSentenceContextGenerator(Set<String> abbreviations, char[] customEOSCharacters)`
    `SDContextGenerator` | Factory.`createSentenceContextGenerator(String languageCode)`
    `SDContextGenerator` | Factory.`createSentenceContextGenerator(String languageCode, Set<String> abbreviations)`

  - ### Uses of SDContextGenerator in opennlp.tools.sentdetect.lang.th

    Classes in opennlp.tools.sentdetect.lang.th that implement SDContextGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SentenceContextGenerator` Creates contexts/features for end-of-sentence detection in Thai text.

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