Uses of Interface
opennlp.tools.stemmer.StemmerFactory
Packages that use StemmerFactory
Package
Description
-
Uses of StemmerFactory in opennlp.tools.stemmer
Classes in opennlp.tools.stemmer that implement StemmerFactoryMethods in opennlp.tools.stemmer that return StemmerFactoryModifier and TypeMethodDescription(package private) static StemmerFactoryDelegatingStemmer.requireFactory(StemmerFactory factory) Validates a factory argument before it is captured by a subclass supplier, so anullfactory fails at construction rather than on first use.Methods in opennlp.tools.stemmer with parameters of type StemmerFactoryModifier and TypeMethodDescription(package private) static StemmerFactoryDelegatingStemmer.requireFactory(StemmerFactory factory) Validates a factory argument before it is captured by a subclass supplier, so anullfactory fails at construction rather than on first use.private static Supplier<CachingStemmer.ThreadState> CachingStemmer.threadStateSupplier(StemmerFactory factory, int capacity) Validates the constructor arguments eagerly and returns a supplier that mints one delegate and its per-thread cache, so invalid arguments fail at construction rather than on first use.Constructors in opennlp.tools.stemmer with parameters of type StemmerFactoryModifierConstructorDescriptionCachingStemmer(StemmerFactory factory) Creates a caching stemmer with the default capacity.CachingStemmer(StemmerFactory factory, int capacity) Creates a caching stemmer.SharingStemmer(StemmerFactory factory) Creates a sharing stemmer. -
Uses of StemmerFactory in opennlp.tools.stemmer.hunspell
Classes in opennlp.tools.stemmer.hunspell that implement StemmerFactoryModifier and TypeClassDescriptionclassThe shareable handle for Hunspell stemming: holds one immutableHunspellDictionaryand hands outHunspellStemmerinstances over it. -
Uses of StemmerFactory in opennlp.tools.stemmer.snowball
Classes in opennlp.tools.stemmer.snowball that implement StemmerFactoryModifier and TypeClassDescriptionclassA thread-safe factory that captures a Snowball stemmer configuration for APIs that accept aStemmerFactory. -
Uses of StemmerFactory in opennlp.tools.util.normalizer
Methods in opennlp.tools.util.normalizer that return StemmerFactoryModifier and TypeMethodDescriptionNormalizationProfile.stemmerFactory()Returns a thread-safe factory for this language's Snowball stemmer.Methods in opennlp.tools.util.normalizer with parameters of type StemmerFactoryModifier and TypeMethodDescriptionTermAnalyzer.Builder.stem(StemmerFactory factory) EnablesDimension.STEMthrough aStemmerFactory.TermAnalyzer.Builder.stem(StemmerFactory factory, int cacheSize) EnablesDimension.STEMthrough aStemmerFactorywith an explicit stem cache capacity, otherwise identical toTermAnalyzer.Builder.stem(StemmerFactory).