# Uses of Interface
opennlp.tools.langdetect.LanguageDetectorContextGenerator

Packages that use LanguageDetectorContextGenerator
Package
Description
opennlp.tools.langdetect
Package related to predicting languages from samples of text.

- ## Uses of LanguageDetectorContextGenerator in opennlp.tools.langdetect

  Classes in opennlp.tools.langdetect that implement LanguageDetectorContextGenerator
  Modifier and Type
  Class
  Description
  `class`
  `DefaultLanguageDetectorContextGenerator`
  A context generator for `language detector`.
  Methods in opennlp.tools.langdetect that return LanguageDetectorContextGenerator
  Modifier and Type
  Method
  Description
  `LanguageDetectorContextGenerator`
  LanguageDetectorFactory.`getContextGenerator()`
  Constructors in opennlp.tools.langdetect with parameters of type LanguageDetectorContextGenerator
  Modifier
  Constructor
  Description
  ``
  `LanguageDetectorEventStream(ObjectStream<LanguageSample> data, LanguageDetectorContextGenerator cg)`
  Initializes an instance via samples and feature generators.