# Uses of Class
opennlp.tools.langdetect.LanguageDetectorModel

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

- ## Uses of LanguageDetectorModel in opennlp.tools.cmdline.langdetect

  Methods in opennlp.tools.cmdline.langdetect that return LanguageDetectorModel
  Modifier and Type
  Method
  Description
  `protected LanguageDetectorModel`
  LanguageDetectorModelLoader.`loadModel(InputStream modelIn)`

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

  Fields in opennlp.tools.langdetect declared as LanguageDetectorModel
  Modifier and Type
  Field
  Description
  `protected final LanguageDetectorModel`
  LanguageDetectorME.`model`
  Methods in opennlp.tools.langdetect that return LanguageDetectorModel
  Modifier and Type
  Method
  Description
  `static LanguageDetectorModel`
  LanguageDetectorME.`train(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory)`
  Starts a training of a `LanguageDetectorModel` with the given parameters.
  Constructors in opennlp.tools.langdetect with parameters of type LanguageDetectorModel
  Modifier
  Constructor
  Description
  ``
  `LanguageDetectorME(LanguageDetectorModel model)`
  Initializes an instance with a specific `LanguageDetectorModel`.
  ``
  `ThreadSafeLanguageDetectorME(LanguageDetectorModel model)`
  Initializes a `ThreadSafeLanguageDetectorME` with the specified `model`.