public static enum SemanticAnnotation.Source extends java.lang.Enum<SemanticAnnotation.Source>
SemanticAnnotation
.Enum Constant and Description |
---|
BABELFY
The annotation comes from Babelfy algorithm.
|
MCS
The annotation comes from the MFS heuristic.
|
MONOSEMOUS
The annotation comes from a monosemous term.
|
OTHER
An unspecified annotation.
|
Modifier and Type | Method and Description |
---|---|
static SemanticAnnotation.Source |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SemanticAnnotation.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SemanticAnnotation.Source BABELFY
public static final SemanticAnnotation.Source MCS
public static final SemanticAnnotation.Source MONOSEMOUS
public static final SemanticAnnotation.Source OTHER
public static SemanticAnnotation.Source[] values()
for (SemanticAnnotation.Source c : SemanticAnnotation.Source.values()) System.out.println(c);
public static SemanticAnnotation.Source 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