public class Rainbow extends AbstractStopwords
-D If set, stopword scheme is run in debug mode and may output additional info to the console
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashSet<java.lang.String> |
m_Words
The hash set containing the list of stopwords.
|
m_Debug, m_Initialized| Constructor and Description |
|---|
Rainbow() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
globalInfo()
Returns a string describing the stopwords scheme.
|
protected void |
initialize()
Performs intialization of the scheme.
|
protected boolean |
is(java.lang.String word)
Returns true if the given string is a stop word.
|
debug, debugTipText, error, getDebug, getOptions, isStopword, listOptions, reset, setDebug, setOptionsprotected java.util.HashSet<java.lang.String> m_Words
public java.lang.String globalInfo()
globalInfo in class AbstractStopwordsprotected void initialize()
initialize in class AbstractStopwordsprotected boolean is(java.lang.String word)
is in class AbstractStopwordsword - the word to test