Class Stemming

  • All Implemented Interfaces:
    RevisionHandler

    public class Stemming
    extends Object
    implements RevisionHandler
    A helper class for using the stemmers. Run with option '-h' to list all the available options.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • Stemming

        public Stemming()
    • Method Detail

      • useStemmer

        public static void useStemmer​(Stemmer stemmer,
                                      String[] options)
                               throws Exception
        Applies the given stemmer according to the given options. '-h' lists all the available options for the given stemmer.
        Parameters:
        stemmer - the stemmer to use
        options - the options for the stemmer
        Throws:
        Exception - if something goes wrong