Uses of Class
com.optimaize.langdetect.i18n.LdLocale
-
Packages that use LdLocale 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 creatingLanguageProfile
s. -
-
Uses of LdLocale in com.optimaize.langdetect
Fields in com.optimaize.langdetect declared as LdLocale Modifier and Type Field Description private @NotNull LdLocale
DetectedLanguage. locale
Fields in com.optimaize.langdetect with type parameters of type LdLocale Modifier and Type Field Description private @NotNull java.util.List<LdLocale>
NgramFrequencyData. langlist
All the loaded languages, in exactly the same order as the data is in the double[] in wordLangProbMap.private @NotNull java.util.Set<LdLocale>
LanguageDetectorBuilder. langsAdded
private @Nullable java.util.Map<LdLocale,java.lang.Double>
LanguageDetectorBuilder. langWeightingMap
Methods in com.optimaize.langdetect that return LdLocale Modifier and Type Method Description @NotNull LdLocale
NgramFrequencyData. getLanguage(int pos)
@NotNull LdLocale
DetectedLanguage. getLocale()
Methods in com.optimaize.langdetect that return types with arguments of type LdLocale Modifier and Type Method Description com.google.common.base.Optional<LdLocale>
LanguageDetector. detect(java.lang.CharSequence text)
Returns the best detected language if the algorithm is very confident.com.google.common.base.Optional<LdLocale>
LanguageDetectorImpl. detect(java.lang.CharSequence text)
@NotNull java.util.List<LdLocale>
NgramFrequencyData. getLanguageList()
Method parameters in com.optimaize.langdetect with type arguments of type LdLocale Modifier and Type Method Description LanguageDetectorBuilder
LanguageDetectorBuilder. languagePriorities(@Nullable java.util.Map<LdLocale,java.lang.Double> langWeightingMap)
TODO document exactly.Constructors in com.optimaize.langdetect with parameters of type LdLocale Constructor Description DetectedLanguage(@NotNull LdLocale locale, double probability)
Constructor parameters in com.optimaize.langdetect with type arguments of type LdLocale Constructor Description LanguageDetectorImpl(@NotNull NgramFrequencyData ngramFrequencyData, double alpha, com.google.common.base.Optional<java.lang.Long> seed, int shortTextAlgorithm, double prefixFactor, double suffixFactor, double probabilityThreshold, double minimalConfidence, @Nullable java.util.Map<LdLocale,java.lang.Double> langWeightingMap, @NotNull NgramExtractor ngramExtractor)
Use theLanguageDetectorBuilder
.NgramFrequencyData(@NotNull java.util.Map<java.lang.String,double[]> wordLangProbMap, @NotNull java.util.List<LdLocale> langlist)
-
Uses of LdLocale in com.optimaize.langdetect.cybozu.util
Method parameters in com.optimaize.langdetect.cybozu.util with type arguments of type LdLocale Modifier and Type Method Description static double[]
Util. makeInternalPrioMap(@NotNull java.util.Map<LdLocale,java.lang.Double> langWeightingMap, @NotNull java.util.List<LdLocale> langlist)
static double[]
Util. makeInternalPrioMap(@NotNull java.util.Map<LdLocale,java.lang.Double> langWeightingMap, @NotNull java.util.List<LdLocale> langlist)
static java.lang.String
Util. wordProbToString(double[] prob, java.util.List<LdLocale> langlist)
-
Uses of LdLocale in com.optimaize.langdetect.i18n
Methods in com.optimaize.langdetect.i18n that return LdLocale Modifier and Type Method Description static @NotNull LdLocale
LdLocale. fromString(@NotNull java.lang.String string)
-
Uses of LdLocale in com.optimaize.langdetect.profiles
Fields in com.optimaize.langdetect.profiles declared as LdLocale Modifier and Type Field Description private @NotNull LdLocale
LanguageProfileBuilder. locale
private @NotNull LdLocale
LanguageProfileImpl. locale
Fields in com.optimaize.langdetect.profiles with type parameters of type LdLocale Modifier and Type Field Description private static java.util.List<LdLocale>
BuiltInLanguages. languages
Methods in com.optimaize.langdetect.profiles that return LdLocale Modifier and Type Method Description @NotNull LdLocale
LanguageProfile. getLocale()
@NotNull LdLocale
LanguageProfileImpl. getLocale()
Methods in com.optimaize.langdetect.profiles that return types with arguments of type LdLocale Modifier and Type Method Description static java.util.List<LdLocale>
BuiltInLanguages. getLanguages()
Methods in com.optimaize.langdetect.profiles with parameters of type LdLocale Modifier and Type Method Description private @NotNull java.lang.String
LanguageProfileReader. makeProfileFileName(@NotNull LdLocale locale)
@NotNull LanguageProfile
LanguageProfileReader. readBuiltIn(@NotNull LdLocale locale)
Method parameters in com.optimaize.langdetect.profiles with type arguments of type LdLocale Modifier and Type Method Description @NotNull java.util.List<LanguageProfile>
LanguageProfileReader. readBuiltIn(@NotNull java.util.Collection<LdLocale> languages)
Constructors in com.optimaize.langdetect.profiles with parameters of type LdLocale Constructor 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.
-