Class AffixedWord
java.lang.Object
org.apache.lucene.analysis.hunspell.AffixedWord
An object representing the analysis result of a simple (non-compound) word
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn object representing a prefix or a suffix applied to a word stem -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DictEntryprivate final List<AffixedWord.Affix> private final List<AffixedWord.Affix> private final String -
Constructor Summary
ConstructorsConstructorDescriptionAffixedWord(String word, DictEntry entry, List<AffixedWord.Affix> prefixes, List<AffixedWord.Affix> suffixes) -
Method Summary
-
Field Details
-
word
-
entry
-
prefixes
-
suffixes
-
-
Constructor Details
-
AffixedWord
AffixedWord(String word, DictEntry entry, List<AffixedWord.Affix> prefixes, List<AffixedWord.Affix> suffixes)
-
-
Method Details
-
getWord
- Returns:
- the word being analyzed
-
getDictEntry
- Returns:
- the dictionary entry for the stem in this analysis
-
getPrefixes
- Returns:
- the list of prefixes applied to the stem, at most two, outermost first
-
getSuffixes
- Returns:
- the list of suffixes applied to the stem, at most two, outermost first
-
equals
-
hashCode
public int hashCode() -
toString
-