Package | Description |
---|---|
com.optimaize.langdetect.cybozu |
Original language detection classes from https://code.google.com/p/language-detection/
|
com.optimaize.langdetect.cybozu.util |
Provides the utility classes for language detection.
|
com.optimaize.langdetect.frma | |
com.optimaize.langdetect.profiles |
Provides functionality for loading, storing and creating
LanguageProfile s. |
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 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 LanguageProfile |
OldLangProfileConverter.convert(LangProfile langProfile) |
Copyright © 2024. All rights reserved.