Package | Description |
---|---|
org.apache.tika.langdetect | |
org.apache.tika.language.detect |
Modifier and Type | Class and Description |
---|---|
class |
Lingo24LangDetector
An implementation of a Language Detector using the
Premium MT API v1.
|
class |
OptimaizeLangDetector
Implementation of the LanguageDetector API that uses
https://github.com/optimaize/language-detector
|
class |
TextLangDetector
Language Detection using MIT Lincoln Lab’s Text.jl library
https://github.com/trevorlewis/TextREST.jl
Please run the TextREST.jl server before using this.
|
Modifier and Type | Method and Description |
---|---|
LanguageDetector |
TextLangDetector.loadModels() |
LanguageDetector |
OptimaizeLangDetector.loadModels() |
LanguageDetector |
Lingo24LangDetector.loadModels() |
LanguageDetector |
TextLangDetector.loadModels(Set<String> set) |
LanguageDetector |
OptimaizeLangDetector.loadModels(Set<String> languages) |
LanguageDetector |
Lingo24LangDetector.loadModels(Set<String> set) |
LanguageDetector |
TextLangDetector.setPriors(Map<String,Float> languageProbabilities) |
LanguageDetector |
OptimaizeLangDetector.setPriors(Map<String,Float> languageProbabilities) |
LanguageDetector |
Lingo24LangDetector.setPriors(Map<String,Float> languageProbabilities) |
Modifier and Type | Method and Description |
---|---|
static LanguageDetector |
LanguageDetector.getDefaultLanguageDetector() |
LanguageDetector |
LanguageWriter.getDetector()
Returns the language detector used by this writer.
|
LanguageDetector |
LanguageHandler.getDetector()
Returns the language detector used by this content handler.
|
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–2019 The Apache Software Foundation. All rights reserved.