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, setDebugequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeCopypublic java.lang.String globalInfo()
AbstractStopwordsglobalInfo in class AbstractStopwordspublic java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class AbstractStopwordspublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface OptionHandlersetOptions in class AbstractStopwordsoptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class AbstractStopwordspublic void setStopwords(StopwordsHandler[] value)
value - the algorithmspublic StopwordsHandler[] getStopwords()
public java.lang.String stopwordsTipText()