udapi.block.ud.gl.prep module

Block ud.gl.Prep tries to solve some errors in Galician CTG where a preposition is mistakenly attached as a sibling of its noun.

Author: Dan Zeman

class udapi.block.ud.gl.prep.Prep(zones='all', if_empty_tree='process', **kwargs)[source]

Bases: Block

Block for fixing prepositions in UD_Galician-CTG.

process_node(node)[source]

Process a UD node