UniversalDependencies / tools

Various utilities for processing the data.
GNU General Public License v2.0
203 stars 43 forks source link

Add line numbers when throwing UDError to make it easier to track the… #89

Closed AngledLuffa closed 2 years ago

AngledLuffa commented 2 years ago

Add line numbers when throwing UDError to make it easier to track the source of a problem

AngledLuffa commented 2 years ago

This is now updated to account for the copy node skipping fixed for #88

AngledLuffa commented 2 years ago

I added my proposed change to refactor the table creation code into a function as well. It was already applied to the previous version of this script. It's useful for Stanza to be able to use this to make nice tables without redoing the code ourselves

AngledLuffa commented 2 years ago

Suggest rebase merging w/o squashing so that these two changes remain separate... if that's not acceptable, I can separate these changes into two separate PRs. Just trying to save on back&forth by submitting them at once