public class DefaultLanguageRecognizer extends CybozuLabsLanguageRecognizer implements LanguageRecognizer
logger
Constructor and Description |
---|
DefaultLanguageRecognizer()
Create default language recognizer.
|
DefaultLanguageRecognizer(java.util.List<java.lang.String> languages)
Create default language recognizer with list of languages to recognize.
|
getAvailableLanguageProfileNames, getDefaultLanguageProfileNames, recognizeLanguage
close, getLogger, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
recognizeLanguage
public DefaultLanguageRecognizer() throws LangDetectException
LangDetectException
public DefaultLanguageRecognizer(java.util.List<java.lang.String> languages) throws LangDetectException
languages
- List of names of languages to recognize.
The list of languages references the profile names.
LangDetectException