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 LanguageDetectorFactoryLanguageDetectorFactory. create(String subclassName)Instantiates aLanguageDetectorFactoryvia a givensubclassName.LanguageDetectorFactoryLanguageDetectorModel. getFactory()Methods in opennlp.tools.langdetect with parameters of type LanguageDetectorFactory Modifier and Type Method Description static LanguageDetectorModelLanguageDetectorME. train(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory)Starts a training of aLanguageDetectorModelwith the given parameters.Constructors in opennlp.tools.langdetect with parameters of type LanguageDetectorFactory Constructor Description LanguageDetectorCrossValidator(TrainingParameters mlParams, LanguageDetectorFactory factory, LanguageDetectorEvaluationMonitor... listeners)Initializes aLanguageDetectorCrossValidatorwith the givenparameters.LanguageDetectorModel(MaxentModel langdetectModel, Map<String,String> manifestInfoEntries, LanguageDetectorFactory factory)Initializes aLanguageDetectorModelinstance via given parameters.
-