# Package opennlp.tools.langdetect

Package related to predicting languages from samples of text.

- Interface Summary
  Interface | Description
  --- | ---
  LanguageDetector | The interface for `LanguageDetector` which predicts the `Language` for a context.
  LanguageDetectorContextGenerator | A context generator interface for `LanguageDetector`.
  LanguageDetectorEvaluationMonitor | A marker interface for evaluating `language detectors`.

- Class Summary
  Class | Description
  --- | ---
  DefaultLanguageDetectorContextGenerator | A context generator for language detector.
  Language | Class for holding the document language and its confidence
  LanguageDetectorConfig |
  LanguageDetectorCrossValidator | Cross validator for `LanguageDetector`.
  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.