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
Misc changes needed for improving concept alignment #10
I needed to do various things, so here is a summary:
read
forRTree
s andUDWords
prUDSentence
also include preexisting comment linessent_id
of aUDSentence
(from its comment lines)