Package opennlp.tools.langdetect
Package related to predicting languages from samples of text.
-
Interface Summary Interface Description LanguageDetector The interface forLanguageDetector
which predicts theLanguage
for a context.LanguageDetectorContextGenerator A context generator interface forLanguageDetector
.LanguageDetectorEvaluationMonitor A marker interface for evaluatinglanguage detectors
. -
Class Summary Class Description DefaultLanguageDetectorContextGenerator A context generator for language detector.Language Class for holding the document language and its confidenceLanguageDetectorConfig LanguageDetectorCrossValidator Cross validator forLanguageDetector
.LanguageDetectorEvaluator TheLanguageDetectorEvaluator
measures the performance of the givenLanguageDetector
with the provided referenceLanguageSample
s.LanguageDetectorEventStream Iterator-like class for modeling an event stream ofsamples
.LanguageDetectorFactory Default factory used byLanguageDetector
.LanguageDetectorME Implements a learnableLanguageDetector
.LanguageDetectorModel TheLanguageDetectorModel
is the model used by a learnableLanguageDetector
.LanguageDetectorSampleStream This class reads in string encodedtraining samples
, parses them and outputsLanguageSample
objects.LanguageSample Holds a classified document and itsLanguage
.ProbingLanguageDetectionResult A data container encapsulating language detection results.