Package opennlp.tools.langdetect
Interface LanguageDetector
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LanguageDetectorME
public interface LanguageDetector extends Serializable
The interface for LanguageDetector which provide the @Language
according to the context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getSupportedLanguages()
Language
predictLanguage(CharSequence content)
Language[]
predictLanguages(CharSequence content)
-
-
-
Method Detail
-
predictLanguages
Language[] predictLanguages(CharSequence content)
-
predictLanguage
Language predictLanguage(CharSequence content)
-
getSupportedLanguages
String[] getSupportedLanguages()
-
-