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 |
|---|---|
String[] |
getOptions()
Gets the current settings of the Classifier.
|
StopwordsHandler[] |
getStopwords()
Returns the stopwords algorithms.
|
String |
globalInfo()
Returns a string describing the stopwords scheme.
|
Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setOptions(String[] options)
Parses a given list of options.
|
void |
setStopwords(StopwordsHandler[] value)
Sets the stopwords algorithms.
|
String |
stopwordsTipText()
Returns the tip text for this property.
|
debugTipText, getDebug, isStopword, setDebugpublic String globalInfo()
AbstractStopwordsglobalInfo in class AbstractStopwordspublic Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class AbstractStopwordspublic void setOptions(String[] options) throws Exception
setOptions in interface OptionHandlersetOptions in class AbstractStopwordsoptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlergetOptions in class AbstractStopwordspublic void setStopwords(StopwordsHandler[] value)
value - the algorithmspublic StopwordsHandler[] getStopwords()
public String stopwordsTipText()
Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.