
public class FoxLanguageDetector extends Object
| Modifier and Type | Field and Description |
|---|---|
static Set<FoxParameter.Langs> |
lang |
protected com.optimaize.langdetect.LanguageDetector |
languageDetector |
static org.apache.log4j.Logger |
LOG |
| Constructor and Description |
|---|
FoxLanguageDetector() |
FoxLanguageDetector(Set<FoxParameter.Langs> lang) |
| Modifier and Type | Method and Description |
|---|---|
FoxParameter.Langs |
detect(String text) |
protected void |
initLanguageDetector(Set<FoxParameter.Langs> lang) |
static void |
main(String[] a)
Test
|
public static org.apache.log4j.Logger LOG
public static Set<FoxParameter.Langs> lang
protected com.optimaize.langdetect.LanguageDetector languageDetector
public FoxLanguageDetector()
public FoxLanguageDetector(Set<FoxParameter.Langs> lang)
lang - public static void main(String[] a)
a - protected void initLanguageDetector(Set<FoxParameter.Langs> lang)
public FoxParameter.Langs detect(String text)
Copyright © 2024. All rights reserved.