Makes an empty state
Returns all mentions contained in the state for which keep == true
Checks if a mention is already contained in the state
Returns all mentions for a given sentence and any of the given tokens that match any of the given labels
Returns all mentions for a given sentence and any of the given tokens that match a given label
Returns all mentions for a given sentence and any of the given tokens
Returns all mentions for a given sentence and token that match any of the given labels
Returns all mentions for a given sentence and token that match a given label
Returns all mentions for a given sentence
Returns all mentions for a given sentence and token
Merges the current state with the provided mentions and returns a new State object.
Represents the current state of the ExtractorEngine. Contains all the mentions found in previous iterations.