Package com.basistech.rosette.apimodel
Class Entity
java.lang.Object
com.basistech.rosette.apimodel.Entity
Extracted entity
-
Method Details
-
builder
-
getType
- Returns:
- the entity type
-
getMention
- Returns:
- the entity mention text
-
getNormalized
- Returns:
- the normalized entity mention text
-
getCount
- Returns:
- the entity mention count
-
getMentionOffsets
- Returns:
- the list of offsets for all mentions
-
getEntityId
- Returns:
- the ID of this entity. If this entity was linked to a knowledge base, the resulting string will begin with 'Q'. If it was not linked to a knowledge base, it will begin with a 'T'. 'T' identifiers represent intra-document co-references.
-
getConfidence
- Returns:
- the confidence score for the entity (0.0-1.0)
-
getLinkingConfidence
- Returns:
- the confidence score for linking the entity to the knowledge base (0.0-1.0)
-
getSalience
- Returns:
- the salience score for the entity (0.0|1.0)
-
getSentiment
- Returns:
- the sentiment information.
-
getDbpediaType
Deprecated.use dbpediaTypes instead.- Returns:
- the DBpediaType
-
getDbpediaTypes
- Returns:
- the DBpediaTypes
- Since:
- 1.14.0 (19.08)
-
getPermId
- Returns:
- the PermID
-
equals
-
hashCode
public int hashCode() -
toString
-