TalkBank / batchalign2

Tools for language sample analysis.
https://talkbank.org/info/BA2-usage.pdf
BSD 3-Clause "New" or "Revised" License
13 stars 3 forks source link

Error when using morphotag on a .cha file #9

Open batchenoz opened 2 hours ago

batchenoz commented 2 hours ago

Hello, it's my first time using batchalign. I tried to run morphotag on a .cha file, and I got this error: Unexpected Batchalign error when parsing CHAT: line='*DOR: ima. 0_2443', error='string index out of range'.

Is there anything I'm doing wrong? This is the command I ran: batchalign morphotag --lang=heb . output and the cha file contains @Languages: heb Thanks

batchenoz commented 2 hours ago

OK, seems like the issue was that I have a new-line space in my .cha file. After removing the new-line, everything worked as expected.