Package | Description |
---|---|
com.optimaize.langdetect | |
com.optimaize.langdetect.cybozu.util |
Provides the utility classes for language detection.
|
com.optimaize.langdetect.i18n | |
com.optimaize.langdetect.profiles |
Provides functionality for loading, storing and creating
LanguageProfile s. |
Modifier and Type | Method and Description |
---|---|
@NotNull LdLocale |
NgramFrequencyData.getLanguage(int pos) |
@NotNull LdLocale |
DetectedLanguage.getLocale() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<LdLocale> |
LanguageDetector.detect(CharSequence text)
Returns the best detected language if the algorithm is very confident.
|
com.google.common.base.Optional<LdLocale> |
LanguageDetectorImpl.detect(CharSequence text) |
Constructor and Description |
---|
DetectedLanguage(@NotNull LdLocale locale,
double probability) |
Modifier and Type | Method and Description |
---|---|
static String |
Util.wordProbToString(double[] prob,
List<LdLocale> langlist) |
Modifier and Type | Method and Description |
---|---|
static @NotNull LdLocale |
LdLocale.fromString(@NotNull String string) |
Modifier and Type | Method and Description |
---|---|
@NotNull LdLocale |
LanguageProfile.getLocale() |
@NotNull LdLocale |
LanguageProfileImpl.getLocale() |
Modifier and Type | Method and Description |
---|---|
static List<LdLocale> |
BuiltInLanguages.getLanguages() |
Modifier and Type | Method and Description |
---|---|
@NotNull LanguageProfile |
LanguageProfileReader.readBuiltIn(@NotNull LdLocale locale) |
Constructor and Description |
---|
LanguageProfileBuilder(@NotNull LdLocale locale) |
Copyright © 2024. All rights reserved.