Uses of Class
opennlp.tools.util.normalizer.TermAnalyzer.Builder
Packages that use TermAnalyzer.Builder
-
Uses of TermAnalyzer.Builder in opennlp.tools.util.normalizer
Methods in opennlp.tools.util.normalizer that return TermAnalyzer.BuilderModifier and TypeMethodDescriptionTermAnalyzer.Builder.accentFold()EnablesDimension.ACCENT_FOLD.TermAnalyzer.Builder.accentFold(Set<Character.UnicodeScript> foldScripts, boolean foldStrokeLetters) EnablesDimension.ACCENT_FOLDrestricted to a specific set of scripts, instead of the default Latin/Greek/Cyrillic.static TermAnalyzer.BuilderTermAnalyzer.builder()Returns a newTermAnalyzer.Builder.TermAnalyzer.Builder.caseFold()EnablesDimension.CASE_FOLD.EnablesDimension.CASE_FOLDusing the given locale's case rules (for example Turkish dotted/dotless i), instead of the defaultLocale.ROOT.TermAnalyzer.Builder.confusableFold()EnablesDimension.CONFUSABLE_FOLD.TermAnalyzer.Builder.dash()EnablesDimension.DASH.TermAnalyzer.Builder.dash(opennlp.tools.util.normalizer.CharSequenceNormalizer normalizer) EnablesDimension.DASHwith a specific normalizer (a custom dash set or target).TermAnalyzer.Builder.emojiFold()EnablesDimension.EMOJI_FOLD, folding emoji to ASCII emoticons.TermAnalyzer.Builder.fullCaseFold()EnablesDimension.FULL_CASE_FOLD, Unicode full case folding.TermAnalyzer.Builder.lemmatize(opennlp.tools.lemmatizer.Lemmatizer value) EnablesDimension.LEMMAthrough the given lemmatizer.TermAnalyzer.Builder.maxTokenLength(int maxTokenLength) Sets the maximum token length of the tokenizer used byTermAnalyzer.analyze(CharSequence).TermAnalyzer.Builder.nfc()EnablesDimension.NFC.TermAnalyzer.Builder.nfkc()EnablesDimension.NFKC.TermAnalyzer.Builder.stem(opennlp.tools.stemmer.Stemmer value) EnablesDimension.STEMthrough the given stemmer.TermAnalyzer.Builder.stem(opennlp.tools.stemmer.StemmerFactory factory) EnablesDimension.STEMthrough aStemmerFactory.TermAnalyzer.Builder.stem(opennlp.tools.stemmer.StemmerFactory factory, int cacheSize) EnablesDimension.STEMthrough aStemmerFactorywith an explicit stem cache capacity, otherwise identical tostem(StemmerFactory).TermAnalyzer.Builder.tokenizer(WordTokenizer value) Sets the tokenizer used byTermAnalyzer.analyze(CharSequence).TermAnalyzer.Builder.transform(Dimension dimension, opennlp.tools.util.normalizer.CharSequenceNormalizer normalizer) Enables a character-level dimension with a specific normalizer, overriding its default (for example a locale-specific case fold for a language profile).TermAnalyzer.Builder.whitespace()EnablesDimension.WHITESPACE.TermAnalyzer.Builder.whitespace(opennlp.tools.util.normalizer.CharSequenceNormalizer normalizer) EnablesDimension.WHITESPACEwith a specific normalizer, choosing the fold target and behavior.