by dotinvoke · 2y ago · 0 comments
That is not the intended behaviour, but happens sometimes when the NLP pipeline and the dictionary don’t agree on the part-of-speech of a particular word.
I’ll have to run a script identifying all such cases in the built-in decks and most likely correct them by hand.
Happy to hear any other thoughts or issues so I can make it better :)
(And on the bright side, I'm sure I'll remember unserem now!)
In this case, unserem was assigned the part of speech determiner by the NLP pipeline (shoutout to https://stanfordnlp.github.io/stanza/, it's brilliant), but the dictionary only has an entry for unserem as a pronoun.
Perhaps a better design is to always show all entries, and just put the entries whose POS match the word in the sentence (if any) above the others.