Package weka.core.stemmers
Class NullStemmer
- java.lang.Object
-
- weka.core.stemmers.NullStemmer
-
- All Implemented Interfaces:
Serializable,RevisionHandler,Stemmer
public class NullStemmer extends Object implements Stemmer
A dummy stemmer that performs no stemming at all.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullStemmer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRevision()Returns the revision string.StringglobalInfo()Returns a string describing the stemmerstatic voidmain(String[] args)Runs the stemmer with the given optionsStringstem(String word)Returns the word as it is.StringtoString()returns a string representation of the stemmer
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the stemmer- Returns:
- a description suitable for displaying in the explorer/experimenter gui
-
toString
public String toString()
returns a string representation of the stemmer
-
getRevision
public String getRevision()
Returns the revision string.- Specified by:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-
main
public static void main(String[] args)
Runs the stemmer with the given options- Parameters:
args- the options
-
-