public static enum KBPRelationExtractor.NERTag extends java.lang.Enum<KBPRelationExtractor.NERTag>
Enum Constant and Description |
---|
CAUSE_OF_DEATH |
CITY |
COUNTRY |
CRIMINAL_CHARGE |
DATE |
DURATION |
GPE |
IDEOLOGY |
LOCATION |
MISC |
MODIFIER |
NATIONALITY |
NUMBER |
ORGANIZATION |
PERSON |
RELIGION |
STATE_OR_PROVINCE |
TITLE |
URL |
Modifier and Type | Field and Description |
---|---|
boolean |
isRegexNERType
If true, this NER tag is not in the standard NER set, but is annotated via RegexNER
|
java.lang.String |
name
The full name of this NER tag, as would come out of our NER or RegexNER system
|
java.lang.String |
shortName
A short name for this NER tag, intended for compact serialization
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<KBPRelationExtractor.NERTag> |
fromString(java.lang.String name)
Find the slot for a given name
|
static KBPRelationExtractor.NERTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KBPRelationExtractor.NERTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KBPRelationExtractor.NERTag CAUSE_OF_DEATH
public static final KBPRelationExtractor.NERTag CITY
public static final KBPRelationExtractor.NERTag COUNTRY
public static final KBPRelationExtractor.NERTag CRIMINAL_CHARGE
public static final KBPRelationExtractor.NERTag DATE
public static final KBPRelationExtractor.NERTag IDEOLOGY
public static final KBPRelationExtractor.NERTag LOCATION
public static final KBPRelationExtractor.NERTag MISC
public static final KBPRelationExtractor.NERTag MODIFIER
public static final KBPRelationExtractor.NERTag NATIONALITY
public static final KBPRelationExtractor.NERTag NUMBER
public static final KBPRelationExtractor.NERTag ORGANIZATION
public static final KBPRelationExtractor.NERTag PERSON
public static final KBPRelationExtractor.NERTag RELIGION
public static final KBPRelationExtractor.NERTag STATE_OR_PROVINCE
public static final KBPRelationExtractor.NERTag TITLE
public static final KBPRelationExtractor.NERTag URL
public static final KBPRelationExtractor.NERTag DURATION
public static final KBPRelationExtractor.NERTag GPE
public final java.lang.String name
public final java.lang.String shortName
public final boolean isRegexNERType
public static KBPRelationExtractor.NERTag[] values()
for (KBPRelationExtractor.NERTag c : KBPRelationExtractor.NERTag.values()) System.out.println(c);
public static KBPRelationExtractor.NERTag 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 java.util.Optional<KBPRelationExtractor.NERTag> fromString(java.lang.String name)