Package | Description |
---|---|
be.frma.langguess | |
com.cybozu.labs.langdetect |
Provides the language detection classes.
|
com.cybozu.labs.langdetect.util |
Provides the utility classes for language detection.
|
com.optimaize.langdetect.profiles |
Provides functionality for loading, storing and creating
LanguageProfile s. |
Modifier and Type | Method and Description |
---|---|
static LangProfile |
GenProfile.generate(String lang,
File textFile)
Loads a text file and generate a language profile from its content.
|
LangProfile |
LangProfileReader.read(File profileFile)
Reads a
LangProfile from a File in UTF-8. |
LangProfile |
LangProfileReader.read(InputStream inputStream)
Reads a
LangProfile from an InputStream in UTF-8. |
Modifier and Type | Method and Description |
---|---|
void |
LangProfileWriter.write(LangProfile langProfile,
OutputStream outputStream)
Writes a
LangProfile to an OutputStream in UTF-8. |
Modifier and Type | Method and Description |
---|---|
static LangProfile |
GenProfile.load(String lang,
File file)
Load Wikipedia abstract database file and generate its language profile
|
Modifier and Type | Method and Description |
---|---|
static void |
Util.addCharSequence(LangProfile langProfile,
CharSequence text) |
void |
TagExtractor.closeTag(LangProfile profile) |
Modifier and Type | Method and Description |
---|---|
static LanguageProfile |
OldLangProfileConverter.convert(LangProfile langProfile) |
Copyright © 2018. All rights reserved.