Uses of Class
org.apache.lucene.analysis.hunspell.WordContext
-
Packages that use WordContext Package Description org.apache.lucene.analysis.hunspell 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 WordContext Modifier and Type Method Description static WordContext
WordContext. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WordContext[]
WordContext. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.lucene.analysis.hunspell with parameters of type WordContext Modifier and Type Method Description private 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)
private Root<CharsRef>
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
-