Modifier and Type | Class and Description |
---|---|
class |
Lingo24LangDetector
An implementation of a Language Detector using the
Premium MT API v1.
|
Modifier and Type | Method and Description |
---|---|
LanguageDetector |
Lingo24LangDetector.loadModels() |
LanguageDetector |
Lingo24LangDetector.loadModels(Set<String> set) |
LanguageDetector |
Lingo24LangDetector.setPriors(Map<String,Float> languageProbabilities) |
Modifier and Type | Class and Description |
---|---|
class |
TextLangDetector
Language Detection using MIT Lincoln Lab’s Text.jl library
https://github.com/trevorlewis/TextREST.jl
|
Modifier and Type | Method and Description |
---|---|
LanguageDetector |
TextLangDetector.loadModels() |
LanguageDetector |
TextLangDetector.loadModels(Set<String> set) |
LanguageDetector |
TextLangDetector.setPriors(Map<String,Float> languageProbabilities) |
Modifier and Type | Class and Description |
---|---|
class |
OpenNLPDetector
This is based on OpenNLP's language detector.
|
Modifier and Type | Method and Description |
---|---|
LanguageDetector |
OpenNLPDetector.loadModels()
No-op.
|
LanguageDetector |
OpenNLPDetector.loadModels(Set<String> languages)
NOT SUPPORTED.
|
LanguageDetector |
OpenNLPDetector.setPriors(Map<String,Float> languageProbabilities)
NOT YET SUPPORTED.
|
Modifier and Type | Class and Description |
---|---|
class |
OptimaizeLangDetector
Implementation of the LanguageDetector API that uses
https://github.com/optimaize/language-detector
|
Modifier and Type | Method and Description |
---|---|
LanguageDetector |
OptimaizeLangDetector.loadModels() |
LanguageDetector |
OptimaizeLangDetector.loadModels(Set<String> languages) |
LanguageDetector |
OptimaizeLangDetector.setPriors(Map<String,Float> languageProbabilities) |
Modifier and Type | Class and Description |
---|---|
class |
TikaLanguageDetector
This is Tika's original legacy, homegrown language detector.
|
Modifier and Type | Method and Description |
---|---|
LanguageDetector |
TikaLanguageDetector.loadModels() |
LanguageDetector |
TikaLanguageDetector.loadModels(Set<String> languages) |
LanguageDetector |
TikaLanguageDetector.setPriors(Map<String,Float> languageProbabilities)
not supported
|
Modifier and Type | Method and Description |
---|---|
static LanguageDetector |
LanguageDetector.getDefaultLanguageDetector() |
LanguageDetector |
LanguageHandler.getDetector()
Returns the language detector used by this content handler.
|
LanguageDetector |
LanguageWriter.getDetector()
Returns the language detector used by this writer.
|
abstract LanguageDetector |
LanguageDetector.loadModels()
Load (or re-load) all available language models.
|
abstract LanguageDetector |
LanguageDetector.loadModels(Set<String> languages)
Load (or re-load) the models specified in
|
LanguageDetector |
LanguageDetector.setMixedLanguages(boolean mixedLanguages) |
abstract LanguageDetector |
LanguageDetector.setPriors(Map<String,Float> languageProbabilities)
Set the a-priori probabilities for these languages.
|
LanguageDetector |
LanguageDetector.setShortText(boolean shortText) |
Modifier and Type | Method and Description |
---|---|
static List<LanguageDetector> |
LanguageDetector.getLanguageDetectors() |
static List<LanguageDetector> |
LanguageDetector.getLanguageDetectors(ServiceLoader loader) |
Constructor and Description |
---|
LanguageHandler(LanguageDetector detector) |
LanguageWriter(LanguageDetector detector) |
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.