Class AffixedWord


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

      • getWord

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

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

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object