Uses of Class
com.optimaize.langdetect.ngram.NgramExtractor
Packages that use NgramExtractor
Package
Description
Provides the utility classes for language detection.
Provides functionality for handling n-grams.
Provides functionality for loading, storing and creating
LanguageProfiles.-
Uses of NgramExtractor in com.optimaize.langdetect
Fields in com.optimaize.langdetect declared as NgramExtractorModifier and TypeFieldDescriptionprivate final @NotNull NgramExtractorLanguageDetectorBuilder.ngramExtractorprivate final NgramExtractorLanguageDetectorImpl.ngramExtractorMethods in com.optimaize.langdetect with parameters of type NgramExtractorModifier and TypeMethodDescriptionstatic LanguageDetectorBuilderLanguageDetectorBuilder.create(@NotNull NgramExtractor ngramExtractor) Constructors in com.optimaize.langdetect with parameters of type NgramExtractorModifierConstructorDescriptionprivateLanguageDetectorBuilder(@NotNull NgramExtractor ngramExtractor) (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. -
Uses of NgramExtractor in com.optimaize.langdetect.cybozu.util
Fields in com.optimaize.langdetect.cybozu.util declared as NgramExtractor -
Uses of NgramExtractor in com.optimaize.langdetect.ngram
Fields in com.optimaize.langdetect.ngram declared as NgramExtractorModifier and TypeFieldDescriptionprivate static final NgramExtractorNgramExtractors.BACKWARDSprivate static final NgramExtractorNgramExtractors.STANDARDMethods in com.optimaize.langdetect.ngram that return NgramExtractorModifier and TypeMethodDescriptionstatic NgramExtractorNgramExtractors.backwards()The old way of doing n-grams.NgramExtractor.filter(NgramFilter filter) static NgramExtractorNgramExtractor.gramLength(int gramLength) static NgramExtractorNgramExtractor.gramLengths(Integer... gramLength) static NgramExtractorNgramExtractors.standard()The new standard n-gram algorithm.NgramExtractor.textPadding(char textPadding) To ensure having border grams, this character is added to the left and right of the text. -
Uses of NgramExtractor in com.optimaize.langdetect.profiles
Fields in com.optimaize.langdetect.profiles declared as NgramExtractorMethods in com.optimaize.langdetect.profiles with parameters of type NgramExtractorModifier and TypeMethodDescriptionLanguageProfileBuilder.ngramExtractor(@NotNull NgramExtractor ngramExtractor)