public class IgnoreTokenStripper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IgnoreTokenStripper.Language
Language to build stripper from.
|
Constructor and Description |
---|
IgnoreTokenStripper(IgnoreTokenStripper.Language language)
Constructor for specified language.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
getNonStopWords(List<String> intokens)
Strips given list of tokens of all ignore words.
|
boolean |
isIgnoreToken(String token)
Checks if given token is an ignore word
|
public IgnoreTokenStripper(IgnoreTokenStripper.Language language)
language
- public ArrayList<String> getNonStopWords(List<String> intokens)
intokens
- public boolean isIgnoreToken(String token)
token
-