Uses of Class
org.apache.lucene.analysis.hunspell.AffixedWord
-
Packages that use AffixedWord 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 AffixedWord in org.apache.lucene.analysis.hunspell
Methods in org.apache.lucene.analysis.hunspell that return AffixedWord Modifier and Type Method Description (package private) AffixedWord
WordFormGenerator.AffixEntry. apply(AffixedWord stem, Dictionary dictionary)
Methods in org.apache.lucene.analysis.hunspell that return types with arguments of type AffixedWord Modifier and Type Method Description java.util.List<AffixedWord>
Hunspell. analyzeSimpleWord(java.lang.String word)
private java.util.List<AffixedWord>
WordFormGenerator. expand(AffixedWord stem, char[] flags, java.lang.Runnable checkCanceled)
private java.util.List<AffixedWord>
WordFormGenerator.WordCompressor. expand(java.lang.String stem, java.util.Set<java.lang.Character> flagSet)
java.util.List<AffixedWord>
Hunspell. getAllWordForms(java.lang.String root)
Generate all word forms for all dictionary entries with the given root word.java.util.List<AffixedWord>
WordFormGenerator. getAllWordForms(java.lang.String root, java.lang.Runnable checkCanceled)
Generate all word forms for all dictionary entries with the given root word.java.util.List<AffixedWord>
WordFormGenerator. getAllWordForms(java.lang.String stem, java.lang.String flags, java.lang.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 java.util.List<AffixedWord>
WordFormGenerator. getAllWordForms(DictEntry entry, char[] encodedFlags, java.lang.Runnable checkCanceled)
Methods in org.apache.lucene.analysis.hunspell with parameters of type AffixedWord Modifier and Type Method Description (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 java.util.List<AffixedWord>
WordFormGenerator. expand(AffixedWord stem, char[] flags, java.lang.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 AffixedWord Modifier and Type Method Description void
WordFormGenerator. generateAllSimpleWords(java.util.function.Consumer<AffixedWord> consumer, java.lang.Runnable checkCanceled)
Traverse the whole dictionary and derive all word forms via affixation (as inWordFormGenerator.getAllWordForms(String, String, Runnable)
) for each of the entries.
-