| Package | Description |
|---|---|
| com.cybozu.labs.langdetect.util |
Provides the utility classes for language detection.
|
| com.optimaize.langdetect | |
| com.optimaize.langdetect.i18n | |
| com.optimaize.langdetect.profiles |
Provides functionality for loading, storing and creating
LanguageProfiles. |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
Util.wordProbToString(double[] prob,
java.util.List<LdLocale> langlist) |
| Modifier and Type | Field and Description |
|---|---|
private @NotNull LdLocale |
DetectedLanguage.locale |
| 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> |
LanguageDetectorImpl.detect(java.lang.CharSequence text) |
com.google.common.base.Optional<LdLocale> |
LanguageDetector.detect(java.lang.CharSequence text) |
| Constructor and Description |
|---|
DetectedLanguage(@NotNull LdLocale locale,
double probability) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull LdLocale |
LdLocale.fromString(@NotNull java.lang.String string) |
| Modifier and Type | Field and Description |
|---|---|
private @NotNull LdLocale |
LanguageProfileImpl.locale |
private @NotNull LdLocale |
LanguageProfileBuilder.locale |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.List<LdLocale> |
BuiltInLanguages.languages |
| Modifier and Type | Method and Description |
|---|---|
@NotNull LdLocale |
LanguageProfile.getLocale() |
@NotNull LdLocale |
LanguageProfileImpl.getLocale() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<LdLocale> |
BuiltInLanguages.getLanguages() |
| Modifier and Type | Method and Description |
|---|---|
private @NotNull java.lang.String |
LanguageProfileReader.makeProfileFileName(@NotNull LdLocale locale) |
@NotNull LanguageProfile |
LanguageProfileReader.readBuiltIn(@NotNull LdLocale locale) |
| Constructor and Description |
|---|
LanguageProfileBuilder(@NotNull LdLocale locale) |
LanguageProfileImpl(@NotNull LdLocale locale,
@NotNull java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.Integer>> ngrams)
Use the builder.
|