public final class EntityAnnotation extends Enhancement
| Constructor and Description |
|---|
EntityAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDataset()
The dataset of the entity (e.g.
|
String |
getEntityLabel()
Returns the preferred entity label
|
String |
getEntityLabelLang() |
Entity |
getEntityReference()
Returns the dereferenced
Entity associated to the EntityAnnotation |
Collection<String> |
getEntityTypes()
Returns the
Collection of types associated to the entity |
String |
getLanguage()
Deprecated.
use
getEntityLabelLang() instead |
int |
hashCode() |
compareTo, getConfidence, getRelationspublic String getEntityLabel()
public String getEntityLabelLang()
@Deprecated public String getLanguage()
getEntityLabelLang() insteadEnhancementgetLanguage in class Enhancementnullpublic Entity getEntityReference()
Entity associated to the EntityAnnotationpublic Collection<String> getEntityTypes()
Collection of types associated to the entitypublic String getDataset()
null if not applicable.Copyright © 2018 Redlink GmbH. All rights reserved.