GrammaticalFramework / gf-ud

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

ud2gf: Prefer shallower trees and add test suite #19

Closed anka-213 closed 2 years ago

anka-213 commented 2 years ago

This matches (I believe) the older behaviour before my changes in #13.

To run the test suite, run:

cd tests/grammars/; gf --make TestOrdering.gf; cd ..
stack test

or

cd tests/grammars/; gf --make TestOrdering.gf; cd ..
cabal test