Class PorterStemmer

    • Constructor Detail

      • PorterStemmer

        public PorterStemmer()
    • Method Detail

      • stem

        public String stem​(String word)
        Description copied from interface: Stemmer
        Stems a word, e.g. meeting -> meet.
        Specified by:
        stem in interface Stemmer
        word - word
        stemmed result
      • toString

        public String toString()
        After a word has been stemmed, it can be retrieved by toString(), or a reference to the internal buffer can be retrieved by getResultBuffer and getResultLength (which is generally more efficient.)
        toString in class Object