Package opennlp.tools.entitylinker
Class BaseLink
java.lang.Object
opennlp.tools.entitylinker.BaseLink
Represents a minimal tuple of information.
 Intended to be used with 
LinkedSpan.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleaninthashCode()voidvoidsetItemName(String itemName) voidsetItemParentID(String itemParentID) voidsetItemType(String itemType) voidsetScoreMap(Map<String, Double> scoreMap) toString()
- 
Constructor Details- 
BaseLink
 
- 
- 
Method Details- 
getItemParentID
- 
setItemParentID- Parameters:
- itemParentID- The parent ID of the linked item
 
- 
getItemID
- 
setItemID- Parameters:
- itemID- This field can store, for example, the primary key of a now in an external/linked data source.
 
- 
getItemName
- 
setItemName- Parameters:
- itemName- An item name can be the native name (often a normalized version of something) from an external linked data source.
 
- 
getItemType
- 
setItemType- Parameters:
- itemType- An item type can be the native type from an external linked database. For instance, a product type or code.
 
- 
getScoreMap
- 
setScoreMap
- 
toString
- 
hashCodepublic int hashCode()
- 
equals
 
-