Functions to analyse and manipulate dependency trees, as well as conversions between GF and dependency trees. The main use case is UD (Universal Dependencies), but the code is designed to be completely generic as for annotation scheme. This repository replaces the old gf-contrib/ud2gf code. It is also meant to be used in the 'vd' command of GF and replace the supporting code in gf-core in the future.
Other
7
stars
15
forks
source link
Feature request: output something that is like bt0 but macros expanded on subtrees #34
I would like to linearise the subtree [4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21], but it is full of auxfuns, and I need to manually replace lots of auxfuns before I get it to linearise. Is there any way to output partial subtrees that have auxfuns expanded, to make debugging easier?
This is a common occurrence: I convert some large tree with ud2gf, and get output like this
I would like to linearise the subtree
[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]
, but it is full of auxfuns, and I need to manually replace lots of auxfuns before I get it to linearise. Is there any way to output partial subtrees that have auxfuns expanded, to make debugging easier?