Uses of Class
com.optimaize.langdetect.cybozu.util.LangProfile
-
Packages that use LangProfile 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 creatingLanguageProfile
s. -
-
Uses of LangProfile in com.optimaize.langdetect.cybozu
Methods in com.optimaize.langdetect.cybozu that return LangProfile Modifier and Type Method Description static LangProfile
GenProfile. load(String lang, File file)
Load Wikipedia abstract database file and generate its language profile -
Uses of LangProfile in com.optimaize.langdetect.cybozu.util
Methods in com.optimaize.langdetect.cybozu.util with parameters of type LangProfile Modifier and Type Method Description static void
Util. addCharSequence(LangProfile langProfile, CharSequence text)
void
TagExtractor. closeTag(LangProfile profile)
-
Uses of LangProfile in com.optimaize.langdetect.frma
Methods in com.optimaize.langdetect.frma that return LangProfile Modifier and Type Method 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 aLangProfile
from a File in UTF-8.LangProfile
LangProfileReader. read(InputStream inputStream)
Reads aLangProfile
from an InputStream in UTF-8.Methods in com.optimaize.langdetect.frma with parameters of type LangProfile Modifier and Type Method Description void
LangProfileWriter. write(LangProfile langProfile, OutputStream outputStream)
Writes aLangProfile
to an OutputStream in UTF-8. -
Uses of LangProfile in com.optimaize.langdetect.profiles
Methods in com.optimaize.langdetect.profiles with parameters of type LangProfile Modifier and Type Method Description static LanguageProfile
OldLangProfileConverter. convert(LangProfile langProfile)
-