Uses of Class
opennlp.tools.langdetect.Language
Packages that use Language
Package
Description
Package related to predicting languages from samples of text.
-
Uses of Language in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect that return LanguageModifier and TypeMethodDescriptionLanguageSample.getLanguage()Deprecated, for removal: This API element is subject to removal in a future version.Language[]ProbingLanguageDetectionResult.getLanguages()Deprecated, for removal: This API element is subject to removal in a future version.LanguageSample.language()Returns the value of thelanguagerecord component.Language[]ProbingLanguageDetectionResult.languages()Returns the value of thelanguagesrecord component.LanguageDetector.predictLanguage(CharSequence content) Predicts theLanguagefor the fullcontentlength.LanguageDetectorME.predictLanguage(CharSequence content) Language[]LanguageDetector.predictLanguages(CharSequence content) Predicts thelanguagesfor the fullcontentlength.Language[]LanguageDetectorME.predictLanguages(CharSequence content) Constructors in opennlp.tools.langdetect with parameters of type LanguageModifierConstructorDescriptionLanguageSample(Language language, CharSequence context) Creates an instance of aLanguageSamplerecord class.ProbingLanguageDetectionResult(Language[] languages, int length) Creates an instance of aProbingLanguageDetectionResultrecord class.