Uses of Class
com.optimaize.langdetect.ngram.NgramExtractor
-
Packages that use NgramExtractor Package Description com.optimaize.langdetect com.optimaize.langdetect.cybozu.util Provides the utility classes for language detection.com.optimaize.langdetect.ngram Provides functionality for handling n-grams.com.optimaize.langdetect.profiles Provides functionality for loading, storing and creatingLanguageProfile
s. -
-
Uses of NgramExtractor in com.optimaize.langdetect
Fields in com.optimaize.langdetect declared as NgramExtractor Modifier and Type Field Description private @NotNull NgramExtractor
LanguageDetectorBuilder. ngramExtractor
private NgramExtractor
LanguageDetectorImpl. ngramExtractor
Methods in com.optimaize.langdetect with parameters of type NgramExtractor Modifier and Type Method Description static LanguageDetectorBuilder
LanguageDetectorBuilder. create(@NotNull NgramExtractor ngramExtractor)
Constructors in com.optimaize.langdetect with parameters of type NgramExtractor Constructor Description LanguageDetectorBuilder(@NotNull NgramExtractor ngramExtractor)
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
. -
Uses of NgramExtractor in com.optimaize.langdetect.cybozu.util
Fields in com.optimaize.langdetect.cybozu.util declared as NgramExtractor Modifier and Type Field Description private static NgramExtractor
Util. ngramExtractor
-
Uses of NgramExtractor in com.optimaize.langdetect.ngram
Fields in com.optimaize.langdetect.ngram declared as NgramExtractor Modifier and Type Field Description private static NgramExtractor
NgramExtractors. BACKWARDS
private static NgramExtractor
NgramExtractors. STANDARD
Methods in com.optimaize.langdetect.ngram that return NgramExtractor Modifier and Type Method Description static NgramExtractor
NgramExtractors. backwards()
The old way of doing n-grams.NgramExtractor
NgramExtractor. filter(NgramFilter filter)
static NgramExtractor
NgramExtractor. gramLength(int gramLength)
static NgramExtractor
NgramExtractor. gramLengths(java.lang.Integer... gramLength)
static NgramExtractor
NgramExtractors. standard()
The new standard n-gram algorithm.NgramExtractor
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 NgramExtractor Modifier and Type Field Description private NgramExtractor
LanguageProfileBuilder. ngramExtractor
Methods in com.optimaize.langdetect.profiles with parameters of type NgramExtractor Modifier and Type Method Description LanguageProfileBuilder
LanguageProfileBuilder. ngramExtractor(@NotNull NgramExtractor ngramExtractor)
-