Uses of Class
com.optimaize.langdetect.i18n.LdLocale
Packages that use LdLocale
Package
Description
Provides the utility classes for language detection.
Provides functionality for loading, storing and creating
LanguageProfile
s.-
Uses of LdLocale in com.optimaize.langdetect
Fields in com.optimaize.langdetect declared as LdLocaleFields in com.optimaize.langdetect with type parameters of type LdLocaleModifier and TypeFieldDescriptionNgramFrequencyData.langlist
All the loaded languages, in exactly the same order as the data is in the double[] in wordLangProbMap.LanguageDetectorBuilder.langsAdded
LanguageDetectorBuilder.langWeightingMap
Methods in com.optimaize.langdetect that return LdLocaleModifier and TypeMethodDescription@NotNull LdLocale
NgramFrequencyData.getLanguage
(int pos) @NotNull LdLocale
DetectedLanguage.getLocale()
Methods in com.optimaize.langdetect that return types with arguments of type LdLocaleModifier and TypeMethodDescriptioncom.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) NgramFrequencyData.getLanguageList()
Method parameters in com.optimaize.langdetect with type arguments of type LdLocaleModifier and TypeMethodDescriptionLanguageDetectorBuilder.languagePriorities
(@Nullable Map<LdLocale, Double> langWeightingMap) TODO document exactly.Constructors in com.optimaize.langdetect with parameters of type LdLocaleConstructor parameters in com.optimaize.langdetect with type arguments of type LdLocaleModifierConstructorDescription(package private)
LanguageDetectorImpl
(@NotNull NgramFrequencyData ngramFrequencyData, double alpha, com.google.common.base.Optional<Long> seed, int shortTextAlgorithm, double prefixFactor, double suffixFactor, double probabilityThreshold, double minimalConfidence, @Nullable Map<LdLocale, Double> langWeightingMap, @NotNull NgramExtractor ngramExtractor) Use theLanguageDetectorBuilder
.private
NgramFrequencyData
(@NotNull Map<String, double[]> wordLangProbMap, @NotNull 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 LdLocaleModifier and TypeMethodDescriptionstatic double[]
Util.makeInternalPrioMap
(@NotNull Map<LdLocale, Double> langWeightingMap, @NotNull List<LdLocale> langlist) static double[]
Util.makeInternalPrioMap
(@NotNull Map<LdLocale, Double> langWeightingMap, @NotNull List<LdLocale> langlist) static String
Util.wordProbToString
(double[] prob, List<LdLocale> langlist) -
Uses of LdLocale in com.optimaize.langdetect.i18n
Methods in com.optimaize.langdetect.i18n that return LdLocaleModifier and TypeMethodDescriptionstatic @NotNull LdLocale
LdLocale.fromString
(@NotNull String string) -
Uses of LdLocale in com.optimaize.langdetect.profiles
Fields in com.optimaize.langdetect.profiles declared as LdLocaleModifier and TypeFieldDescriptionprivate final @NotNull LdLocale
LanguageProfileBuilder.locale
private final @NotNull LdLocale
LanguageProfileImpl.locale
Fields in com.optimaize.langdetect.profiles with type parameters of type LdLocaleMethods in com.optimaize.langdetect.profiles that return LdLocaleModifier and TypeMethodDescription@NotNull LdLocale
LanguageProfile.getLocale()
@NotNull LdLocale
LanguageProfileImpl.getLocale()
Methods in com.optimaize.langdetect.profiles that return types with arguments of type LdLocaleMethods in com.optimaize.langdetect.profiles with parameters of type LdLocaleModifier and TypeMethodDescriptionprivate @NotNull 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 LdLocaleModifier and TypeMethodDescription@NotNull List<LanguageProfile>
LanguageProfileReader.readBuiltIn
(@NotNull Collection<LdLocale> languages) Constructors in com.optimaize.langdetect.profiles with parameters of type LdLocaleModifierConstructorDescriptionLanguageProfileBuilder
(@NotNull LdLocale locale) (package private)
Use the builder.