Package opennlp.tools.langdetect
package opennlp.tools.langdetect
Package related to predicting languages from samples of text.
-
ClassDescriptionA context generator for
language detector.Class for holding the document language and its confidenceThe interface forLanguageDetectorwhich predicts theLanguagefor a context.A context generator interface forLanguageDetector.Cross validator forLanguageDetector.A marker interface for evaluatinglanguage detectors.TheLanguageDetectorEvaluatormeasures the performance of the givenLanguageDetectorwith the provided referenceLanguageSamples.Iterator-like class for modeling an event stream ofsamples.Default factory used byLanguageDetector.Implements a learnableLanguageDetector.TheLanguageDetectorModelis the model used by a learnableLanguageDetector.This class reads in string encodedtraining samples, parses them and outputsLanguageSampleobjects.Holds a classified document and itsLanguage.A data container encapsulating language detection results.