Class WeakPorterStemmer

  • All Implemented Interfaces:
    Stemmer, TermPipeline

    public class WeakPorterStemmer
    extends PorterStemmer
    Weak Porter Stemmer, using Porter's Java implementation as the base.
    Since:
    3.0
    Author:
    Craig Macdonald
    • Constructor Detail

      • WeakPorterStemmer

        public WeakPorterStemmer()
        constructor
      • WeakPorterStemmer

        public WeakPorterStemmer​(TermPipeline next)
        constructor
        Parameters:
        next -
    • Method Detail

      • stem

        public void stem()
        Description copied from class: PorterStemmer
        Stem the word placed into the Stemmer buffer through calls to add(). Returns true if the stemming process resulted in a word different from the input. You can retrieve the result with getResultLength()/getResultBuffer() or toString().
        Overrides:
        stem in class PorterStemmer