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: Prioritize the selected startcat #16

Open anka-213 opened 2 years ago

anka-213 commented 2 years ago

When you use ud2gf, you are forced to pick a startcat. Previously it was completely ignored, but with this patch it only produces trees with the specified startcat.

The old behaviour of not caring about startcat is no longer available with this patch.

TODO: Add a wildcard start category in order to restore the old behaviour.