public class TikaLanguageDetector extends Object implements LanguageDetector
LanguageDetector that
uses Apache Tika's language detector.| Constructor and Description |
|---|
TikaLanguageDetector() |
| Modifier and Type | Method and Description |
|---|---|
LanguageDetectionResponse |
detectLanguage(String text,
int limit) |
public LanguageDetectionResponse detectLanguage(String text, int limit) throws LanguageDetectionException
detectLanguage in interface LanguageDetectorLanguageDetectionExceptionCopyright © 2018. All rights reserved.