epic.constraints
Tells us wehther a given (labeled) span is allowed in a given sentence. Can be calculated either using rules/heuristics or via some kind of ML algorithm. We use a combination in Epic.
How long can a span be if it has label label in this sentence?
How long can a span be if it starts at begin
Computes the intersection of the constraints
Computes the union of the constraints
Tells us wehther a given (labeled) span is allowed in a given sentence. Can be calculated either using rules/heuristics or via some kind of ML algorithm. We use a combination in Epic.