| Package | Description |
|---|---|
| org.apache.tika.langdetect | |
| org.apache.tika.language.detect | |
| org.apache.tika.language.translate |
| Modifier and Type | Method and Description |
|---|---|
List<LanguageResult> |
OptimaizeLangDetector.detectAll()
Detect languages based on previously submitted text (via addText calls).
|
List<LanguageResult> |
Lingo24LangDetector.detectAll() |
List<LanguageResult> |
TextLangDetector.detectAll() |
| Modifier and Type | Field and Description |
|---|---|
static LanguageResult |
LanguageResult.NULL |
| Modifier and Type | Method and Description |
|---|---|
LanguageResult |
LanguageDetector.detect() |
LanguageResult |
LanguageDetector.detect(CharSequence text) |
LanguageResult |
LanguageHandler.getLanguage()
Returns the detected language based on text handled thus far.
|
LanguageResult |
LanguageWriter.getLanguage()
Returns the detected language based on text written thus far.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<LanguageResult> |
LanguageDetector.detectAll()
Detect languages based on previously submitted text (via addText calls).
|
List<LanguageResult> |
LanguageDetector.detectAll(String text)
Utility wrapper that detects the language of a given chunk of text.
|
| Modifier and Type | Method and Description |
|---|---|
protected LanguageResult |
AbstractTranslator.detectLanguage(String text) |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.