udapi.block.corefud.movehead module

class udapi.block.corefud.movehead.MoveHead(bugs='warn', keep_head_if_possible=True, **kwargs)[source]

Bases: Block

Block corefud.MoveHead moves the head to the highest node in each mention.

find_head(mention)[source]
process_coref_mention(mention)[source]

This method is called on each coreference mention in the document.

process_end()[source]

A hook method that is executed after processing all UD data