Package weka.core.stemmers
Class Stemming
java.lang.Object
weka.core.stemmers.Stemming
- All Implemented Interfaces:
RevisionHandler
A helper class for using the stemmers. Run with option '-h' to list all the
available options.
- Version:
- $Revision: 10203 $
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the revision string.static voiduseStemmer(Stemmer stemmer, String[] options) Applies the given stemmer according to the given options.
-
Constructor Details
-
Stemming
public Stemming()
-
-
Method Details
-
useStemmer
Applies the given stemmer according to the given options. '-h' lists all the available options for the given stemmer.- Parameters:
stemmer- the stemmer to useoptions- the options for the stemmer- Throws:
Exception- if something goes wrong
-
getRevision
Returns the revision string.- Specified by:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-