modnlp.dstruct
public class SetOfWords extends java.util.HashSet
,
Serialized FormConstructor 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, size
addAll, containsAll, retainAll, toArray, toArray, toString
public 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.