Package | Description |
---|---|
org.apache.lucene.analysis.hunspell |
Stemming TokenFilter using a Java implementation of the
Hunspell stemming algorithm.
|
Modifier and Type | Method and Description |
---|---|
List<HunspellAffix> |
HunspellStemmer.Stem.getPrefixes()
Returns the list of prefixes used to generate the stem
|
List<HunspellAffix> |
HunspellStemmer.Stem.getSuffixes()
Returns the list of suffixes used to generate the stem
|
List<HunspellAffix> |
HunspellDictionary.lookupPrefix(char[] word,
int offset,
int length)
Looks up HunspellAffix prefixes that have an append that matches the String created from the given char array, offset and length
|
List<HunspellAffix> |
HunspellDictionary.lookupSuffix(char[] word,
int offset,
int length)
Looks up HunspellAffix suffixes that have an append that matches the String created from the given char array, offset and length
|
Modifier and Type | Method and Description |
---|---|
void |
HunspellStemmer.Stem.addPrefix(HunspellAffix prefix)
Adds a prefix to the list of prefixes used to generate this stem.
|
void |
HunspellStemmer.Stem.addSuffix(HunspellAffix suffix)
Adds a suffix to the list of suffixes used to generate this stem.
|
List<HunspellStemmer.Stem> |
HunspellStemmer.applyAffix(char[] strippedWord,
int length,
HunspellAffix affix,
int recursionDepth)
Applies the affix rule to the given word, producing a list of stems if any are found
|