max-kamps / jpd-breader

MIT License
102 stars 28 forks source link

Verbs being changed #7

Closed comatosebunny closed 1 year ago

comatosebunny commented 1 year ago

I'm only noticing this with verbs, but they'll often get deconjugated. ございません becomes ござる, なった becoming なる. This only happens in ttu so far with the extension, the text itself shows up normally in any other reader without the extension. It doesn't happen with all verbs, but enough that it became noticeable.

max-kamps commented 1 year ago

This bug is caused by the current fallback logic for words with no furigana. The code assumes that using the word's spelling instead is fine. However, the spelling as reported through the jpdb API does not include any conjugations.

This will be fixed along with #8. Rather than waiting for the furigana customization settings as originally planned, I will prioritize just fixing these bugs for now.