FreeLanguageTools/vocabsieve

[Regression] Failure to lemmatize some words leads to empty "Word Field" (Bug)

Closed this issue · 0 comments

Regression
When reading technical texts, we might find "unique" words not found in general dictionaries. I use VocabSieve to learn medical terminology. The current version 0.11.0 lacks an important feature of the previous version (0.10.3):

A double click on a "target word" tries to find the dictionary form (e.g. "running" > run ). However, currently if no dictionary form is found, the field of "new word" is left empty. Then, a user has an example sentence but no "new word" because the lemmatizer failed to recognize it.

In those cases, users are forced to manually copy and paste the target word from the "example" field into the "new word" field. That is cumbersome and it was not necessary in VocabSieve 0.10.3. From my perspective, it is clearly a regression.

It is normal for a "lemmatizer" to miss medical words, but they are definitely "new words" and should not be dismissed as “errors”. I mean, the software regards them as "not a word" and leaves an empty field as if they should not be added to Anki.

To Reproduce
Steps to reproduce the behavior:

  1. Set German as a target language and try to add the word "Hanrsäurekonzentration" in the following phrase:

"_Alkalisierung des Urins und Senkung der Hanrsäurekonzentration im Serum..."

  1. Double click on the word "Hanrsäurekonzentration" (concentration of uric acid) to make it bold in the "example field".
  2. The lemmatizer fails to recognize the word and the field for adding a "new lemma" is left empty.

Expected behavior
VocabSieve should try to lemmatize and if it fails, it should copy exactly the selected word into the "new word" field.

I mean, a backup mechanism is necessary to avoid having a sentence with a bolded word BUT an empty field below because the lemmatizer failed. That makes it impossible to add the word to Anki.

Desktop:

  • OS: EndeavourOS (Arch Linux)
  • Vocabsieve 0.11.0 (latest AppImage) e685fd4