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 creatingLanguageProfiles. -
-
Uses of LdLocale in com.optimaize.langdetect
Fields in com.optimaize.langdetect declared as LdLocale Modifier and Type Field Description private @NotNull LdLocaleDetectedLanguage. localeFields in com.optimaize.langdetect with type parameters of type LdLocale Modifier and Type Field Description private @NotNull java.util.List<LdLocale>NgramFrequencyData. langlistAll the loaded languages, in exactly the same order as the data is in the double[] in wordLangProbMap.private @NotNull java.util.Set<LdLocale>LanguageDetectorBuilder. langsAddedprivate @Nullable java.util.Map<LdLocale,java.lang.Double>LanguageDetectorBuilder. langWeightingMapMethods in com.optimaize.langdetect that return LdLocale Modifier and Type Method Description @NotNull LdLocaleNgramFrequencyData. getLanguage(int pos)@NotNull LdLocaleDetectedLanguage. 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 LanguageDetectorBuilderLanguageDetectorBuilder. 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.StringUtil. 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 LdLocaleLdLocale. 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 LdLocaleLanguageProfileBuilder. localeprivate @NotNull LdLocaleLanguageProfileImpl. localeFields in com.optimaize.langdetect.profiles with type parameters of type LdLocale Modifier and Type Field Description private static java.util.List<LdLocale>BuiltInLanguages. languagesMethods in com.optimaize.langdetect.profiles that return LdLocale Modifier and Type Method Description @NotNull LdLocaleLanguageProfile. getLocale()@NotNull LdLocaleLanguageProfileImpl. 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.StringLanguageProfileReader. makeProfileFileName(@NotNull LdLocale locale)@NotNull LanguageProfileLanguageProfileReader. 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.
-