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

Use default options if all used options are non-printing #26

Closed anka-213 closed 2 years ago

anka-213 commented 2 years ago

Fix of #25

If you would run

gf-ud ud2gf Grammar Lang Startcat no-backups

it would print nothing, since no-backups only changes the behaviour of other printouts. With this change it adds the default options as the no-backups option.