public abstract class AbstractFileBasedStopwords extends AbstractStopwords
| Constructor and Description |
|---|
AbstractFileBasedStopwords() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.io.File |
getStopwords()
returns the file used for obtaining the stopwords, if the file represents a
directory then the default ones are used.
|
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(java.io.File value)
Sets the file containing the stopwords, null or a directory unset the
stopwords.
|
abstract java.lang.String |
stopwordsTipText()
Returns the tip text for this property.
|
debugTipText, getDebug, globalInfo, isStopword, setDebugequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeCopypublic 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(java.io.File value)
value - the file containing the stopwordspublic java.io.File getStopwords()
public abstract java.lang.String stopwordsTipText()