public enum CorefErrorType extends java.lang.Enum<CorefErrorType> implements de.ims.icarus.util.id.Identity
Enum Constant and Description |
---|
FALSE_NEGATIVE_MENTION |
FALSE_POSITIVE_MENTION |
FOREIGN_CLUSTER_HEAD |
HALLUCINATED_HEAD |
INVALID_CLUSTER_START |
TRUE_POSITIVE_MENTION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getKey() |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
boolean |
isEdgeRelated() |
static CorefErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CorefErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorefErrorType TRUE_POSITIVE_MENTION
public static final CorefErrorType FALSE_POSITIVE_MENTION
public static final CorefErrorType FALSE_NEGATIVE_MENTION
public static final CorefErrorType FOREIGN_CLUSTER_HEAD
public static final CorefErrorType HALLUCINATED_HEAD
public static final CorefErrorType INVALID_CLUSTER_START
public static CorefErrorType[] values()
for (CorefErrorType c : CorefErrorType.values()) System.out.println(c);
public static CorefErrorType 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 getKey()
public boolean isEdgeRelated()
public java.lang.String getId()
getId
in interface de.ims.icarus.util.id.Identity
public java.lang.String getName()
getName
in interface de.ims.icarus.util.id.Identity
public java.lang.String getDescription()
getDescription
in interface de.ims.icarus.util.id.Identity
public javax.swing.Icon getIcon()
getIcon
in interface de.ims.icarus.util.id.Identity
public java.lang.Object getOwner()
getOwner
in interface de.ims.icarus.util.id.Identity