public class EnglishStopWords extends StopWords
StopWords.NoOptStopWords
Modifier and Type | Method and Description |
---|---|
static StopWords |
getInstance()
Gets the instance.
|
boolean |
isStopWord(String word)
Is stop word.
|
protected boolean |
isTokenStopWord(Annotation token) |
getInstance, hasStopWord, hasStopWord, isNotStopWord, isStopWord, isStopWord, notHasStopWord
public static StopWords getInstance()
protected boolean isTokenStopWord(Annotation token)
isTokenStopWord
in class StopWords
public boolean isStopWord(String word)
StopWords
isStopWord
in class StopWords
word
- the wordCopyright © 2016. All rights reserved.