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: Fallback to morphoanalyze if parse fails + use Str functions for lexical backups #30

Open anka-213 opened 2 years ago

anka-213 commented 2 years ago

This is a somewhat breaking change if someone relied of the old way of inventing functions, but on the other hand, it didn't produce valid GF expressions in those cases, so it's unlikely that anything would break in practice.

One option is to put this behaviour behind a flag, so the new behaviour is opt-in, as is suggested in #24?