Uses of Class
org.apache.lucene.analysis.hunspell.AffixedWord
Packages that use AffixedWord
Package
Description
A Java implementation of Hunspell stemming and
spell-checking algorithms (
Hunspell
), and a stemming
TokenFilter (HunspellStemFilter
) based on it.-
Uses of AffixedWord in org.apache.lucene.analysis.hunspell
Methods in org.apache.lucene.analysis.hunspell that return AffixedWordModifier and TypeMethodDescription(package private) AffixedWord
WordFormGenerator.AffixEntry.apply
(AffixedWord stem, Dictionary dictionary) Methods in org.apache.lucene.analysis.hunspell that return types with arguments of type AffixedWordModifier and TypeMethodDescriptionHunspell.analyzeSimpleWord
(String word) private List
<AffixedWord> WordFormGenerator.expand
(AffixedWord stem, char[] flags, Runnable checkCanceled) private List
<AffixedWord> WordFormGenerator.WordCompressor.expand
(String stem, CharHashSet flagSet) Hunspell.getAllWordForms
(String root) Generate all word forms for all dictionary entries with the given root word.WordFormGenerator.getAllWordForms
(String root, Runnable checkCanceled) Generate all word forms for all dictionary entries with the given root word.WordFormGenerator.getAllWordForms
(String stem, String flags, Runnable checkCanceled) Generate all word forms for the given root pretending it has the given flags (in the same format as the dictionary uses).private List
<AffixedWord> WordFormGenerator.getAllWordForms
(DictEntry entry, char[] encodedFlags, Runnable checkCanceled) Methods in org.apache.lucene.analysis.hunspell with parameters of type AffixedWordModifier and TypeMethodDescription(package private) AffixedWord
WordFormGenerator.AffixEntry.apply
(AffixedWord stem, Dictionary dictionary) protected boolean
WordFormGenerator.canStemToOriginal
(AffixedWord derived) A sanity-check that the word form generated by affixation inWordFormGenerator.getAllWordForms(String, String, Runnable)
is indeed accepted by the spell-checker and analyzed to be the form of the original dictionary entry.private List
<AffixedWord> WordFormGenerator.expand
(AffixedWord stem, char[] flags, Runnable checkCanceled) private boolean
WordFormGenerator.isCompatibleWithPreviousAffixes
(AffixedWord stem, AffixKind kind, char flag) Method parameters in org.apache.lucene.analysis.hunspell with type arguments of type AffixedWordModifier and TypeMethodDescriptionvoid
WordFormGenerator.generateAllSimpleWords
(Consumer<AffixedWord> consumer, Runnable checkCanceled) Traverse the whole dictionary and derive all word forms via affixation (as inWordFormGenerator.getAllWordForms(String, String, Runnable)
) for each of the entries.