modnlp.dstruct
public class SetOfWords extends java.util.HashSet
,
Serialized Form| Constructor and Description |
|---|
SetOfWords(java.lang.String text) |
SetOfWords(java.lang.String text,
StopWordList swlist) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTokens(java.lang.String text) |
void |
addTokens(java.lang.String text,
StopWordList swlist) |
boolean |
isIgnoreCase()
Get the value of ignoreCase.
|
void |
removeStopWords(StopWordList swl) |
void |
setIgnoreCase(boolean v)
Set the value of ignoreCase.
|
add, clear, clone, contains, isEmpty, iterator, remove, sizeaddAll, containsAll, retainAll, toArray, toArray, toStringpublic SetOfWords(java.lang.String text)
public SetOfWords(java.lang.String text,
StopWordList swlist)
public void addTokens(java.lang.String text)
public void addTokens(java.lang.String text,
StopWordList swlist)
public void removeStopWords(StopWordList swl)
public boolean isIgnoreCase()
public void setIgnoreCase(boolean v)
v - Value to assign to ignoreCase.