Uses of Class
org.opensextant.data.Language
Package
Description
Language Detection
Utilities for Extraction
-
Uses of Language in org.opensextant.extractors.langid
Modifier and TypeFieldDescriptionstatic final Language
LangDetect.LANGUAGE_ID_GROUP_CJK
static final Language
LangDetect.LANGUAGE_ID_GROUP_ENGLISH
static final Language
LangDetect.LANGUAGE_ID_GROUP_UNKNOWN
Modifier and TypeMethodDescriptionstatic Language
LangDetect.alternativeLangID
(String data) Look at raw bytes/characters to see which Unicode block they fall into.LangDetect.detectSocialMediaLang
(String lang, String naturalLanguage) Find best lang ID for short texts.LangDetect.detectSocialMediaLang
(String lang, String naturalLanguage, boolean findCJK) EXPERIMENTAL , EXPERIMENTAL, EXPERIMENTAL UPDATE, 2015.LangDetect.guessLanguage
(String data) Routine to guess the language ID Scrub data prior to guessing language. -
Uses of Language in org.opensextant.util
Modifier and TypeMethodDescriptionstatic Language
TextUtils.getLanguage
(String code) ISO2 and ISO3 char codes for languages are unique.GeonamesUtility.primaryLanguage
(String cc) Primary language for a given country.Modifier and TypeMethodDescriptionTextUtils.getLanguageMap()
If caller wants to add language they can.Modifier and TypeMethodDescriptionstatic void
TextUtils.addLanguage
(Language lg) static void
TextUtils.addLanguage
(Language lg, boolean override) Extend the basic language dictionary.