Modifier and Type | Method and Description |
---|---|
List<LanguageResult> |
LanguageIDWrapper.calculate(String txt) |
Modifier and Type | Method and Description |
---|---|
Double |
CommonTokensCosine.calculate(List<LanguageResult> languages,
TokenCounts tokenCounts) |
Double |
CommonTokensKLDivergence.calculate(List<LanguageResult> languages,
TokenCounts tokenCounts) |
T |
LanguageAwareTokenCountStats.calculate(List<LanguageResult> languages,
TokenCounts tokenCounts) |
CommonTokenResult |
CommonTokens.calculate(List<LanguageResult> languages,
TokenCounts tokenCounts) |
Double |
CommonTokensBhattacharyya.calculate(List<LanguageResult> languages,
TokenCounts tokenCounts) |
Double |
CommonTokensHellinger.calculate(List<LanguageResult> languages,
TokenCounts tokenCounts) |
Double |
CommonTokensKLDNormed.calculate(List<LanguageResult> languages,
TokenCounts tokenCounts) |
Modifier and Type | Method and Description |
---|---|
List<LanguageResult> |
Lingo24LangDetector.detectAll() |
Modifier and Type | Method and Description |
---|---|
List<LanguageResult> |
TextLangDetector.detectAll() |
Modifier and Type | Method and Description |
---|---|
List<LanguageResult> |
OpenNLPDetector.detectAll() |
Modifier and Type | Method and Description |
---|---|
List<LanguageResult> |
OptimaizeLangDetector.detectAll()
Detect languages based on previously submitted text (via addText calls).
|
Modifier and Type | Method and Description |
---|---|
List<LanguageResult> |
TikaLanguageDetector.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.