Uses of Enum Class
org.egothor.stemmer.ReductionMode
Packages that use ReductionMode
Package
Description
Provides the core Egothor-style stemming infrastructure based on compact
patch-command tries.
-
Uses of ReductionMode in org.egothor.stemmer
Methods in org.egothor.stemmer that return ReductionModeModifier and TypeMethodDescriptionReductionSettings.reductionMode()Returns the value of thereductionModerecord component.static ReductionModeReturns the enum constant of this class with the specified name.static ReductionMode[]ReductionMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.egothor.stemmer with parameters of type ReductionModeModifier and TypeMethodDescriptionstatic <V> FrequencyTrie.Builder<V> FrequencyTrieBuilders.copyOf(FrequencyTrie<V> source, IntFunction<V[]> arrayFactory, ReductionMode reductionMode) Reconstructs a new writable builder from a compiled read-only trie using default settings for the supplied reduction mode.static FrequencyTrie<String> StemmerPatchTrieLoader.load(String fileName, boolean storeOriginal, ReductionMode reductionMode) Loads a dictionary from a filesystem path string using default settings for the supplied reduction mode.static FrequencyTrie<String> StemmerPatchTrieLoader.load(Path path, boolean storeOriginal, ReductionMode reductionMode) Loads a dictionary from a filesystem path using default settings for the supplied reduction mode.static FrequencyTrie<String> StemmerPatchTrieLoader.load(StemmerPatchTrieLoader.Language language, boolean storeOriginal, ReductionMode reductionMode) Loads a bundled dictionary using default settings for the supplied reduction mode.static ReductionSettingsReductionSettings.withDefaults(ReductionMode reductionMode) Creates settings with default dominance thresholds.Constructors in org.egothor.stemmer with parameters of type ReductionModeModifierConstructorDescriptionBuilder(IntFunction<V[]> arrayFactory, ReductionMode reductionMode) Creates a new builder using default thresholds for the supplied reduction mode.ReductionSettings(ReductionMode reductionMode, int dominantWinnerMinPercent, int dominantWinnerOverSecondRatio) Creates a new instance.