Implements features related to an entity-mention pair.
nordlys.logic.features.ftr_entity_mention.
FtrEntityMention
Bases: object
object
commonness
Computes probability of entity e being linked by mention: link (e,m)/link(m) Returns zero if link(m) = 0
mct
Returns True if mention contains the title of entity
pos1
Returns position of the occurrence of mention in the short abstract.
tcm
Returns True if title of entity contains mention
tem
Returns True if title of entity equals mention.