LR-POR / cl-conllu

tool for working with conllu files in CL
Apache License 2.0
13 stars 5 forks source link

Bugfix at insert-token #58

Closed GPPassos closed 6 years ago

GPPassos commented 6 years ago

Any call of INSERT-TOKEN where the NEW-TOKEN had ID 1 did not work, as INSERT-AT did not modify the original SENTENCE-TOKENS.

By explicitly setting SENTENCE-TOKENS, this bug is fixed.

For IDs greater than 1 it worked because PUSH in INSERT-AT did the necessary changes.