Class AffixedWord

java.lang.Object
org.apache.lucene.analysis.hunspell.AffixedWord

public final class AffixedWord extends Object
An object representing the analysis result of a simple (non-compound) word
  • Method Details

    • getWord

      public String getWord()
      Returns:
      the word being analyzed
    • getDictEntry

      public DictEntry getDictEntry()
      Returns:
      the dictionary entry for the stem in this analysis
    • getPrefixes

      public List<AffixedWord.Affix> getPrefixes()
      Returns:
      the list of prefixes applied to the stem, at most two, outermost first
    • getSuffixes

      public List<AffixedWord.Affix> getSuffixes()
      Returns:
      the list of suffixes applied to the stem, at most two, outermost first
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object