Vuizur / add-stress-to-epub

A program that sets the stress and the letter ё of Russian text and ebooks using Wiktionary data and grammar analysis.
GNU Affero General Public License v3.0
20 stars 2 forks source link

KeyError: ''AUX" #12

Closed aniketpanjwani closed 1 year ago

aniketpanjwani commented 1 year ago

image

I'm running your tool on Windows 11. I get a bunch of "Apparently wrong POS detected" messages, and then the tool fails with KeyError: 'AUX', all within about 30 seconds.

Here is the file on which I'm trying to add stress marks. Any feedback is appreciated!

Vuizur commented 1 year ago

I pushed code that should fix the issue. I couldn't reproduce the error personally, how exactly are you running the program? As a library, the exe file or did you clone the repo?

aniketpanjwani commented 1 year ago

I was using the exe file, and whatever you pushed fixed the issue. Thanks!