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
LanguageProfile
s.-
Uses of NgramExtractor in com.optimaize.langdetect
Fields in com.optimaize.langdetect declared as NgramExtractorModifier and TypeFieldDescriptionprivate final @NotNull NgramExtractor
LanguageDetectorBuilder.ngramExtractor
private final NgramExtractor
LanguageDetectorImpl.ngramExtractor
Methods in com.optimaize.langdetect with parameters of type NgramExtractorModifier and TypeMethodDescriptionstatic LanguageDetectorBuilder
LanguageDetectorBuilder.create
(@NotNull NgramExtractor ngramExtractor) Constructors in com.optimaize.langdetect with parameters of type NgramExtractorModifierConstructorDescriptionprivate
LanguageDetectorBuilder
(@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 NgramExtractor
NgramExtractors.BACKWARDS
private static final NgramExtractor
NgramExtractors.STANDARD
Methods in com.optimaize.langdetect.ngram that return NgramExtractorModifier and TypeMethodDescriptionstatic NgramExtractor
NgramExtractors.backwards()
The old way of doing n-grams.NgramExtractor.filter
(NgramFilter filter) static NgramExtractor
NgramExtractor.gramLength
(int gramLength) static NgramExtractor
NgramExtractor.gramLengths
(Integer... gramLength) static NgramExtractor
NgramExtractors.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)