Uses of Enum Class
org.apache.lucene.analysis.hunspell.WordContext
Packages that use WordContext
Package
Description
A Java implementation of Hunspell stemming and
spell-checking algorithms (
Hunspell
), and a stemming
TokenFilter (HunspellStemFilter
) based on it.-
Uses of WordContext in org.apache.lucene.analysis.hunspell
Methods in org.apache.lucene.analysis.hunspell that return WordContextModifier and TypeMethodDescriptionstatic WordContext
Returns the enum constant of this class with the specified name.static WordContext[]
WordContext.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.analysis.hunspell with parameters of type WordContextModifier and TypeMethodDescriptionprivate boolean
Stemmer.applyAffix
(char[] strippedWord, int offset, int length, WordContext context, int affix, int previousAffix, int prefixId, int recursionDepth, boolean prefix, Stemmer.RootProcessor processor) Applies the affix rule to the given word, producing a list of stems if any are found(package private) boolean
Stemmer.doStem
(char[] word, int offset, int length, WordContext context, Stemmer.RootProcessor processor) Hunspell.findStem
(char[] wordChars, int offset, int length, WordCase originalCase, WordContext context) private boolean
Stemmer.isAffixCompatible
(int affix, char prevFlag, int recursionDepth, boolean isPrefix, boolean previousWasPrefix, WordContext context) private boolean
Stemmer.isRootCompatibleWithContext
(WordContext context, int lastAffix, int entryId) private boolean
Stemmer.stem
(char[] word, int offset, int length, WordContext context, int previous, char prevFlag, int prefixId, int recursionDepth, boolean doPrefix, boolean previousWasPrefix, Stemmer.RootProcessor processor) Generates a list of stems for the provided word