# Package opennlp.tools.langdetect

package opennlp.tools.langdetect
Package related to predicting languages from samples of text.

- Class
  Description
  DefaultLanguageDetectorContextGenerator
  A context generator for `language detector`.
  Language
  Class for holding the document language and its confidence
  LanguageDetector
  The interface for `LanguageDetector` which predicts the `Language` for a context.
  LanguageDetectorConfig
  LanguageDetectorContextGenerator
  A context generator interface for `LanguageDetector`.
  LanguageDetectorCrossValidator
  Cross validator for `LanguageDetector`.
  LanguageDetectorEvaluationMonitor
  A marker interface for evaluating `language detectors`.
  LanguageDetectorEvaluator
  The `LanguageDetectorEvaluator` measures the performance of the given `LanguageDetector` with the provided reference `LanguageSample`s.
  LanguageDetectorEventStream
  Iterator-like class for modeling an event stream of `samples`.
  LanguageDetectorFactory
  Default factory used by `LanguageDetector`.
  LanguageDetectorME
  Implements a learnable `LanguageDetector`.
  LanguageDetectorModel
  The `LanguageDetectorModel` is the model used by a learnable `LanguageDetector`.
  LanguageDetectorSampleStream
  This class reads in string encoded `training samples`, parses them and outputs `LanguageSample` objects.
  LanguageSample
  Holds a classified document and its `Language`.
  ProbingLanguageDetectionResult
  A data container encapsulating language detection results.