proycon / foliatools

A number of command-line tools for working with FoLiA (Format for Linguistic Annotation). Includes validators, converters, visualisers, and more.
GNU General Public License v3.0
10 stars 4 forks source link

Fixing typo in convert_higher_order function #25

Closed parkervg closed 3 years ago

parkervg commented 3 years ago

In trying to test out the newly added folia2salt converter, I was hit with the following error:

UnboundLocalError: local variable 'description' referenced before assignment

This looks to just be caused by a misnamed variable in the second loop of the convert_higher_order function, added in this commit. After changing description.value to comment.value in line 695, folia2salt works as expected.

proycon commented 3 years ago

Thanks!