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 forLanguageDetector
which predicts theLanguage
for a context.A context generator interface forLanguageDetector
.Cross validator forLanguageDetector
.A marker interface for evaluatinglanguage detectors
.TheLanguageDetectorEvaluator
measures the performance of the givenLanguageDetector
with the provided referenceLanguageSample
s.Iterator-like class for modeling an event stream ofsamples
.Default factory used byLanguageDetector
.Implements a learnableLanguageDetector
.TheLanguageDetectorModel
is the model used by a learnableLanguageDetector
.This class reads in string encodedtraining samples
, parses them and outputsLanguageSample
objects.Holds a classified document and itsLanguage
.A data container encapsulating language detection results.