public enum DictMatchingMethod extends Enum<DictMatchingMethod>
Enum Constant and Description |
---|
lemma |
prefix |
regex |
stem |
string_exact |
substring |
suffix |
word_exact |
Modifier and Type | Method and Description |
---|---|
String |
getExpression() |
String |
toString() |
static DictMatchingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DictMatchingMethod |
valueOfExpression(String expression) |
static DictMatchingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Collection<DictMatchingMethod> |
valuesCollection() |
public static final DictMatchingMethod string_exact
public static final DictMatchingMethod word_exact
public static final DictMatchingMethod prefix
public static final DictMatchingMethod suffix
public static final DictMatchingMethod substring
public static final DictMatchingMethod regex
public static final DictMatchingMethod stem
public static final DictMatchingMethod lemma
public static DictMatchingMethod[] values()
for (DictMatchingMethod c : DictMatchingMethod.values()) System.out.println(c);
public static DictMatchingMethod 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 String toString()
toString
in class Enum<DictMatchingMethod>
public String getExpression()
public static DictMatchingMethod valueOfExpression(String expression)
public static Collection<DictMatchingMethod> valuesCollection()