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
LanguageProfiles.-
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.langlistAll the loaded languages, in exactly the same order as the data is in the double[] in wordLangProbMap.LanguageDetectorBuilder.langsAddedLanguageDetectorBuilder.langWeightingMapMethods in com.optimaize.langdetect that return LdLocaleModifier and TypeMethodDescription@NotNull LdLocaleNgramFrequencyData.getLanguage(int pos) @NotNull LdLocaleDetectedLanguage.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.privateNgramFrequencyData(@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 StringUtil.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 LdLocaleLdLocale.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 LdLocaleLanguageProfileBuilder.localeprivate final @NotNull LdLocaleLanguageProfileImpl.localeFields in com.optimaize.langdetect.profiles with type parameters of type LdLocaleMethods in com.optimaize.langdetect.profiles that return LdLocaleModifier and TypeMethodDescription@NotNull LdLocaleLanguageProfile.getLocale()@NotNull LdLocaleLanguageProfileImpl.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 StringLanguageProfileReader.makeProfileFileName(@NotNull LdLocale locale) @NotNull LanguageProfileLanguageProfileReader.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.