public static enum Dictionaries.MentionType extends java.lang.Enum<Dictionaries.MentionType>
Enum Constant and Description |
---|
LIST |
NOMINAL |
PRONOMINAL |
PROPER |
Modifier and Type | Field and Description |
---|---|
int |
representativeness
A higher representativeness means that this type of mention is more preferred for choosing
the representative mention.
|
Modifier and Type | Method and Description |
---|---|
static Dictionaries.MentionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Dictionaries.MentionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dictionaries.MentionType PRONOMINAL
public static final Dictionaries.MentionType NOMINAL
public static final Dictionaries.MentionType PROPER
public static final Dictionaries.MentionType LIST
public final int representativeness
Mention.moreRepresentativeThan(Mention)
.public static Dictionaries.MentionType[] values()
for (Dictionaries.MentionType c : Dictionaries.MentionType.values()) System.out.println(c);
public static Dictionaries.MentionType 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 null