Enum Constant and Description |
---|
ADJECTIVE |
ADVERB |
CONJUNCTION |
DETERMINER |
INTERJECTION |
NOUN |
NUMERAL |
OTHER |
PREPOSITION |
PRONOUN |
SUBORDINATE_CONJUNCTION |
VERB |
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,POS> |
LONG_NAME_2_POS
Stores each POS object associated to its tag
|
static java.util.Map<java.lang.String,POS> |
PENNTAG_2_POS
Stores each POS object associated to its tag
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLongName() |
java.lang.String |
getPennTag() |
static POS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static POS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POS VERB
public static final POS NOUN
public static final POS ADJECTIVE
public static final POS ADVERB
public static final POS CONJUNCTION
public static final POS DETERMINER
public static final POS INTERJECTION
public static final POS NUMERAL
public static final POS PREPOSITION
public static final POS PRONOUN
public static final POS SUBORDINATE_CONJUNCTION
public static final POS OTHER
public static final java.util.Map<java.lang.String,POS> PENNTAG_2_POS
public static final java.util.Map<java.lang.String,POS> LONG_NAME_2_POS
public static POS[] values()
for (POS c : POS.values()) System.out.println(c);
public static POS 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 java.lang.String getLongName()
public java.lang.String getPennTag()