public static enum BabelfyParameters.MCS extends java.lang.Enum<BabelfyParameters.MCS>
| Enum Constant and Description |
|---|
OFF
Do not use Most Common Sense
|
ON
Use Most Common Sense
|
ON_WITH_STOPWORDS
Use Most Common Sense even on Stopwords
|
| Modifier and Type | Method and Description |
|---|---|
static BabelfyParameters.MCS |
fromBoolean(boolean useMCS) |
static BabelfyParameters.MCS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BabelfyParameters.MCS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BabelfyParameters.MCS ON
public static final BabelfyParameters.MCS ON_WITH_STOPWORDS
public static final BabelfyParameters.MCS OFF
public static BabelfyParameters.MCS[] values()
for (BabelfyParameters.MCS c : BabelfyParameters.MCS.values()) System.out.println(c);
public static BabelfyParameters.MCS valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static BabelfyParameters.MCS fromBoolean(boolean useMCS)