|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.util.nlp.StopWords
public class StopWords
An English stop word list with methods to check membership, remove members from other collections etc.
| Constructor Summary | |
|---|---|
StopWords()
|
|
| Method Summary | |
|---|---|
static boolean |
contains(String word)
Check if a String word is a stop word |
static String[] |
getArray()
Get the current stop-word list as an array |
static Collection<String> |
getSet()
Get the current stop-word list as a Collection |
static void |
remove(Collection<String> data)
Remove stop words from a Collection of String words |
static String |
remove(String in)
Remove stop words from a whitespace-separated String of words |
static String[] |
remove(String[] in)
Remove stop words from an array of String words |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StopWords()
| Method Detail |
|---|
public static void remove(Collection<String> data)
data - public static String[] remove(String[] in)
data -
public static String remove(String in)
data -
public static boolean contains(String word)
word -
public static String[] getArray()
public static Collection<String> getSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||