Package weka.core.stemmers
Class NullStemmer
java.lang.Object
weka.core.stemmers.NullStemmer
- All Implemented Interfaces:
Serializable
,RevisionHandler
,Stemmer
A dummy stemmer that performs no stemming at all.
- Version:
- $Revision: 8034 $
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the revision string.Returns a string describing the stemmerstatic void
Runs the stemmer with the given optionsReturns the word as it is.toString()
returns a string representation of the stemmer
-
Constructor Details
-
NullStemmer
public NullStemmer()
-
-
Method Details
-
globalInfo
Returns a string describing the stemmer- Returns:
- a description suitable for displaying in the explorer/experimenter gui
-
stem
Returns the word as it is. -
toString
returns a string representation of the stemmer -
getRevision
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Returns:
- the revision
-
main
Runs the stemmer with the given options- Parameters:
args
- the options
-