org.jasen.core.token
Class StopWordList
java.lang.Object
org.jasen.core.token.StopWordList
- public final class StopWordList
- extends Object
Maintains a hard-coded list of English stopwords.
- Author:
- Jason Polites
Method Summary |
static boolean |
isStopWord(String str)
Determines if the given word is a recognizable stop word |
STOP_WORDS
public static final String[] STOP_WORDS
isStopWord
public static final boolean isStopWord(String str)
- Determines if the given word is a recognizable stop word
- Parameters:
str
- The string to test. It is converted to lower
case in this method to perform the test
- Returns:
- True if the word is a stop word, false otherwise