public static enum NERClassifierCombiner.Language extends Enum<NERClassifierCombiner.Language>
Modifier and Type | Field and Description |
---|---|
String |
languageName |
Modifier and Type | Method and Description |
---|---|
static NERClassifierCombiner.Language |
fromString(String name,
NERClassifierCombiner.Language defaultValue) |
static NERClassifierCombiner.Language |
valueOf(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 String languageName
public static NERClassifierCombiner.Language[] values()
for (NERClassifierCombiner.Language c : NERClassifierCombiner.Language.values()) System.out.println(c);
public static NERClassifierCombiner.Language 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 static NERClassifierCombiner.Language fromString(String name, NERClassifierCombiner.Language defaultValue)