| 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 double[] |
Util.makeInternalPrioMap(Map<LdLocale,Double> langWeightingMap,
List<LdLocale> langlist) |
static double[] |
Util.makeInternalPrioMap(Map<LdLocale,Double> langWeightingMap,
List<LdLocale> langlist) |
static String |
Util.wordProbToString(double[] prob,
List<LdLocale> langlist) |
| Modifier and Type | Method and Description |
|---|---|
LdLocale |
NgramFrequencyData.getLanguage(int pos) |
LdLocale |
DetectedLanguage.getLocale() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<LdLocale> |
LanguageDetectorImpl.detect(CharSequence text) |
com.google.common.base.Optional<LdLocale> |
LanguageDetector.detect(CharSequence text) |
List<LdLocale> |
NgramFrequencyData.getLanguageList() |
| Modifier and Type | Method and Description |
|---|---|
LanguageDetectorBuilder |
LanguageDetectorBuilder.languagePriorities(Map<LdLocale,Double> langWeightingMap)
TODO document exactly.
|
| Constructor and Description |
|---|
DetectedLanguage(LdLocale locale,
double probability) |
| Modifier and Type | Method and Description |
|---|---|
static LdLocale |
LdLocale.fromString(String string) |
| Modifier and Type | Method and Description |
|---|---|
LdLocale |
LanguageProfileImpl.getLocale() |
LdLocale |
LanguageProfile.getLocale() |
| Modifier and Type | Method and Description |
|---|---|
static List<LdLocale> |
BuiltInLanguages.getLanguages() |
| Modifier and Type | Method and Description |
|---|---|
LanguageProfile |
LanguageProfileReader.readBuiltIn(LdLocale locale) |
| Modifier and Type | Method and Description |
|---|---|
List<LanguageProfile> |
LanguageProfileReader.readBuiltIn(Collection<LdLocale> languages) |
| Constructor and Description |
|---|
LanguageProfileBuilder(LdLocale locale) |
Copyright © 2015. All rights reserved.