udapi.block.corefud.fixinterleaved module

class udapi.block.corefud.fixinterleaved.FixInterleaved(same_entity_only=True, both_discontinuous=False, crossing_only=False, nested_same_subspan=True, **kwargs)[source]

Bases: Block

Fix mentions with interleaved or crossing spans. https://github.com/ufal/corefUD/issues/25

process_tree(tree)[source]

Process a UD tree