udapi.block.corefud.link2cluster module

class udapi.block.corefud.link2cluster.Link2Cluster(id_attr='proiel-id', ante_attr='antecedent-proiel-id', delete_orig_attrs=True, **kwargs)[source]

Bases: Block

Block corefud.Link2Cluster converts link-based coreference annotation to the (cluster-based) CorefUD format.

process_document(doc)[source]

Process a UD document