public enum TwitterPreprocessingModeOption extends Enum<TwitterPreprocessingModeOption> implements CmdLineOptionsProvider
| Enum Constant and Description |
|---|
LANG_ID
Language detection using the langid implementation
|
PORTER_STEM
Stem tweets.
|
REMOVE_STOPWORDS
Remove all stopwords from tokenised items
|
SENTIMENT
Ascribe sentiment
|
TOKENISE
Tokenise the tweet using the twokeniser implementation
|
| Modifier and Type | Method and Description |
|---|---|
abstract TwitterPreprocessingMode<?> |
getOptions() |
static TwitterPreprocessingModeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TwitterPreprocessingModeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwitterPreprocessingModeOption TOKENISE
public static final TwitterPreprocessingModeOption LANG_ID
public static final TwitterPreprocessingModeOption PORTER_STEM
public static final TwitterPreprocessingModeOption REMOVE_STOPWORDS
public static final TwitterPreprocessingModeOption SENTIMENT
public static TwitterPreprocessingModeOption[] values()
for (TwitterPreprocessingModeOption c : TwitterPreprocessingModeOption.values()) System.out.println(c);
public static TwitterPreprocessingModeOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract TwitterPreprocessingMode<?> getOptions()
getOptions in interface CmdLineOptionsProvider