FreeLanguageTools/vocabsieve

Certain words with capital letters don't get parsed

Closed this issue · 1 comments

Describe the bug
Certain words with capital letters don't get properly lowercased when searching the dictionary.

To Reproduce
Steps to reproduce the behavior:

  1. Search "Právě" (or many other words) in Czech (cs). No result found.
  2. Search "právě" (or many other words) in Czech (cs).

Expected behavior
The tool should find the definition for either capital or lowercase words.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Desktop (please complete the following information):

  • OS: Pop!_OS
  • Vocabsieve version (if nightly, must be latest): v0.10.1

Good catch! So as I found out the cause of this is that I had assumed simplemma would turn all words lowercase, so I had the word looked up both in the processed form and the capitalized form. Apparently it doesn't actually do that in some languages. This should be easily fixed.