public abstract class AbstractFileBasedStopwords extends AbstractStopwords
| Constructor and Description |
|---|
AbstractFileBasedStopwords() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getOptions()
Gets the current settings of the Classifier.
|
File |
getStopwords()
returns the file used for obtaining the stopwords, if the file represents a
directory then the default ones are used.
|
Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setOptions(String[] options)
Parses a given list of options.
|
void |
setStopwords(File value)
Sets the file containing the stopwords, null or a directory unset the
stopwords.
|
abstract String |
stopwordsTipText()
Returns the tip text for this property.
|
debugTipText, getDebug, globalInfo, isStopword, setDebugpublic 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(File value)
value - the file containing the stopwordspublic File getStopwords()
public abstract String stopwordsTipText()
Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.