Adds adjectival modifiers to all elements in the given path This is necessary so we can properly inspect the semantic negatives, which are often not in the path, but modify tokens in it, "*decreased* PTPN13 expression increases phosphorylation of EphrinB1"
Test whether the mention has a bioprocess controller and, if so, if its use is legitimate
Recursively converts an Event to an Entity with the appropriate modifications representing its state.
Recursively converts an Event to an Entity with the appropriate modifications representing its state.
SimpleEvent -> theme + PTM
Binding -> Complex (treated as an Entity)
ComplexEvent -> recursive call on controlled (the event's "output")
value of true to generate a Mention's output (ex. theme or controlled)
Gets a trigger, an argument and a set of tokens to be ignored.
Gets a trigger, an argument and a set of tokens to be ignored. Returns the number of semantic negatives found in the shortest possible path between the trigger and the argument.
gets a polarized label and returns it flipped
retrieves the appropriate modification label
Test whether the given mention has a controller argument.
Gets a mention and checks that the controller and controlled are different.
Gets a mention and checks that the controller and controlled are different. Returns true if either the controller or the controlled is missing, or if they are both present and are distinct.
checks if a mention has a controller/controlled arguments with syntactic paths from the trigger that overlap
Checks if the token spans of the controlled and controller overlap.
Checks if the token spans of the controlled and controller overlap. Returns true if they do
Gets a sequence of mentions and returns only the ones that have Event controllers.
Gets a sequence of mentions and returns only the ones that have Event controllers. If none is found, returns all mentions.
Returns true if both mentions are grounded to the same entity
Gets a mention.
Gets a mention. If it is an EventMention with a polarized label and it is negated an odd number of times, returns a new mention with the label flipped. Or else it returns the mention unmodified