public static enum NERClassifierCombiner.Language extends java.lang.Enum<NERClassifierCombiner.Language>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
languageName |
Modifier and Type | Method and Description |
---|---|
static NERClassifierCombiner.Language |
fromString(java.lang.String name,
NERClassifierCombiner.Language defaultValue) |
static NERClassifierCombiner.Language |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NERClassifierCombiner.Language[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NERClassifierCombiner.Language ENGLISH
public static final NERClassifierCombiner.Language CHINESE
public static NERClassifierCombiner.Language[] values()
for (NERClassifierCombiner.Language c : NERClassifierCombiner.Language.values()) System.out.println(c);
public static NERClassifierCombiner.Language 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 NERClassifierCombiner.Language fromString(java.lang.String name, NERClassifierCombiner.Language defaultValue)