public class MultiStopwords extends AbstractStopwords
-D If set, stopword scheme is run in debug mode and may output additional info to the console
-stopwords <classname + options> The stopwords algorithms to apply sequentially. (default: none)
Constructor and Description |
---|
MultiStopwords() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
StopwordsHandler[] |
getStopwords()
Returns the stopwords algorithms.
|
java.lang.String |
globalInfo()
Returns a string describing the stopwords scheme.
|
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setStopwords(StopwordsHandler[] value)
Sets the stopwords algorithms.
|
java.lang.String |
stopwordsTipText()
Returns the tip text for this property.
|
debugTipText, getDebug, isStopword, setDebug
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeCopy
public java.lang.String globalInfo()
AbstractStopwords
globalInfo
in class AbstractStopwords
public java.util.Enumeration<Option> listOptions()
listOptions
in interface OptionHandler
listOptions
in class AbstractStopwords
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
setOptions
in class AbstractStopwords
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class AbstractStopwords
public void setStopwords(StopwordsHandler[] value)
value
- the algorithmspublic StopwordsHandler[] getStopwords()
public java.lang.String stopwordsTipText()