# Uses of Class
opennlp.tools.langdetect.LanguageDetectorFactory

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

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

  Methods in opennlp.tools.langdetect that return LanguageDetectorFactory
  Modifier and Type
  Method
  Description
  `static LanguageDetectorFactory`
  LanguageDetectorFactory.`create(String subclassName)`
  Instantiates a `LanguageDetectorFactory` via a given `subclassName`.
  `LanguageDetectorFactory`
  LanguageDetectorModel.`getFactory()`
  Methods in opennlp.tools.langdetect with parameters of type LanguageDetectorFactory
  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 LanguageDetectorFactory
  Modifier
  Constructor
  Description
  ``
  `LanguageDetectorCrossValidator(TrainingParameters mlParams, LanguageDetectorFactory factory, LanguageDetectorEvaluationMonitor... listeners)`
  Initializes a `LanguageDetectorCrossValidator` with the given `parameters`.
  ``
  `LanguageDetectorModel(MaxentModel langdetectModel, Map<String,String> manifestInfoEntries, LanguageDetectorFactory factory)`
  Initializes a `LanguageDetectorModel` instance via given parameters.