# Package opennlp.tools.sentdetect

package opennlp.tools.sentdetect
Package related to identifying sentence boundaries.

- Related Packages
  Package
  Description
  opennlp.tools.sentdetect.lang
- Class
  Description
  DefaultEndOfSentenceScanner
  Default implementation of the `EndOfSentenceScanner`.
  DefaultSDContextGenerator
  Generate event contexts for maxent decisions for sentence detection.
  EmptyLinePreprocessorStream
  `ObjectStream` to clean up empty lines for empty line separated document streams.
  - Skips empty line at training data start
  - Transforms multiple empty lines in a row into one
  - Replaces white space lines with empty lines
  - TODO: Terminates last document with empty line if it is missing
  This stream should be used by the components that mark empty lines to mark document boundaries.
  EndOfSentenceScanner
  Scans `CharSequence`, `StringBuffer`, and `char[]` for the offsets of sentence ending characters.
  NewlineSentenceDetector
  The Newline `SentenceDetector` assumes that sentences are line delimited and recognizes one sentence per non-empty line.
  SDContextGenerator
  Interface for `SentenceDetectorME` context generators.
  SDCrossValidator
  A cross validator for `sentence detectors`.
  SDEventStream
  SentenceDetector
  The interface for sentence detectors, which find the sentence boundaries in a text.
  SentenceDetectorEvaluationMonitor
  SentenceDetectorEvaluator
  The `SentenceDetectorEvaluator` measures the performance of the given `SentenceDetector` with the provided reference `SentenceSample`s.
  SentenceDetectorFactory
  The factory that provides `SentenceDetector` default implementations and resources
  SentenceDetectorME
  A sentence detector for splitting up raw text into sentences.
  SentenceModel
  The `SentenceModel` is the model used by a learnable `SentenceDetector`.
  SentenceSample
  A `SentenceSample` contains a document with begin indexes of the individual sentences.
  SentenceSampleStream
  This class is a stream filter which reads a sentence by line samples from an `ObjectStream` and converts them into `SentenceSample` objects.
  ThreadSafeSentenceDetectorME
  A thread-safe version of `SentenceDetectorME`.