Package opennlp.tools.entitylinker
Klasse BaseLink
java.lang.Object
opennlp.tools.entitylinker.BaseLink
Represents a minimal tuple of information.
Intended to be used with
LinkedSpan
.- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
int
hashCode()
void
void
setItemName
(String itemName) void
setItemParentID
(String itemParentID) void
setItemType
(String itemType) void
setScoreMap
(Map<String, Double> scoreMap) toString()
-
Konstruktordetails
-
BaseLink
-
-
Methodendetails
-
getItemParentID
-
setItemParentID
- Parameter:
itemParentID
- The parent ID of the linked item
-
getItemID
-
setItemID
- Parameter:
itemID
- This field can store, for example, the primary key of a now in an external/linked data source.
-
getItemName
-
setItemName
- Parameter:
itemName
- An item name can be the native name (often a normalized version of something) from an external linked data source.
-
getItemType
-
setItemType
- Parameter:
itemType
- An item type can be the native type from an external linked database. For instance, a product type or code.
-
getScoreMap
-
setScoreMap
-
toString
-
hashCode
public int hashCode() -
equals
-