Find the two tokens that anchor the shortest syntactic path between two mentions
find all entities in a mention
get concatenation of root paths for two mentions
get incoming dependency relations for the given span
Generate a concatenation of the labels for a pair of mentions
get the lemma tag sequence for a Sentence
get the lemma tag sequence for a Mention
get outgoing dependency relations for the given span
find paths from sentence root to mention's trigger
get token indices of shortest path between two mentions
Get paths from e1 to e2
Get the shortest syntactic paths connecting two mentions.
Get the shortest syntactic paths connecting two mentions.
If the two mentions are in different docs and/or sentences, return Nil
Get shortest syntactic paths between two tokens
get trigger for a mention
Generate variations of trigger -> arg syntactic paths
Get paths from trigger to trigger
(ex.
Get paths from trigger to trigger
(ex. e1:phosphorylation:Phosphorylation rcmod e2:decreases:Positive_Regulation)
find any verbs in shortest path between mentions
Features used to represent all mentions
Features used to represent all mentions
a sequence of related mentions used to find shared arguments
create cross sentence features for two mentions
Takes Event 1 and Event 2 and produces features
Takes Event 1 and Event 2 and produces features
Event 1 (mention)
Event 1 (mention)
get features for two mentions in same sentence
Replaces args in a mention with their role
Array(the, Ras, protein, phosphorylates, Mek-32, at, 123) =>
Vector(CONTROLLER, protein, CONTROLLED)
Replaces entities in a mention with their label
Array(the, Ras, protein, phosphorylates, Mek-32, at, 123) =>
Vector(FAMILY, protein, phosphorylates, GENE_OR_GENE_PRODUCT)
Replaces entities in a mention with their label
Array(the, Ras, protein, phosphorylates, Mek-32, at, 123) =>
Vector(FAMILY, protein, phosphorylates, GENE_OR_GENE_PRODUCT)
a sequence of related mentions used to find shared arguments
Check if two mentions are in the same doc and sentence
get the tokens on either end of the mention
get the words between two mentions