udapi.block.ud.pt.addhyphenmwt module

Block ud.pt.AddHyphenMwt for transforming hyphen compounds into multiword tokens in Portuguese-GSD.

See https://github.com/UniversalDependencies/UD_Portuguese-GSD/issues/39

class udapi.block.ud.pt.addhyphenmwt.AddHyphenMwt(zones='all', if_empty_tree='process', **kwargs)[source]

Bases: Block

process_tree(root)[source]

Process a UD tree