public enum Matching extends Enum<Matching> implements Describable
| Enum Constant and Description |
|---|
STRONG_ANNOTATION_MATCH
This matching returns true iff a) the position, b) the length and c) the
disambiguated meaning of an entity are the same as those of the entity in
the dataset.
|
STRONG_ENTITY_MATCH
The matching returns true iff the disambiguated entity of the annotater
equals at least one tag/annotation of the text.
|
WEAK_ANNOTATION_MATCH
This matching returns true iff the disambiguated meaning of an entity is
the same as the meaning of an entity in the dataset and both entities
overlap inside the text.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getLabel() |
String |
getName() |
static Matching |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Matching[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Matching STRONG_ENTITY_MATCH
public static final Matching STRONG_ANNOTATION_MATCH
public static final Matching WEAK_ANNOTATION_MATCH
public static Matching[] values()
for (Matching c : Matching.values()) System.out.println(c);
public static Matching valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getLabel()
getLabel in interface Describablepublic String getDescription()
getDescription in interface Describablepublic String getName()
Copyright © 2014–2017. All rights reserved.