Class NullStemmer

    • Constructor Detail

      • NullStemmer

        public NullStemmer()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the stemmer
        Returns:
        a description suitable for displaying in the explorer/experimenter gui
      • stem

        public String stem​(String word)
        Returns the word as it is.
        Specified by:
        stem in interface Stemmer
        Parameters:
        word - the unstemmed word
        Returns:
        the unstemmed word, again
      • toString

        public String toString()
        returns a string representation of the stemmer
        Overrides:
        toString in class Object
        Returns:
        a string representation of the stemmer
      • main

        public static void main​(String[] args)
        Runs the stemmer with the given options
        Parameters:
        args - the options