Here's the problem: I have a large deck of Anki flashcards which I memorize. I would like to know how many unique Russian words (lemmas) I have in my entire collection.
What I need is some kind of lemmatizer or word counter or morphological dictionary that can tell me which words are different, and which are the same.
For example these words should be counted as the same: делать and делаю, хороший and хорошего, ме́сто and места́. However, здорово and здоровый should be different words.
Anyone know if this is a solved problem?
I imagine a simple computer program would work like this:
- Determine morphological root of the word (здоровому -> здоровый, здорово -> здоровый). This seems to be solved by https://morfologija.ru
- Determine whether the derivation has the same meaning as the root. (здоровому is equal to здоровый, but здорово is NOT equal to здоровый because they have different entries in a dictionary)
- Count number of unique lemmas.
Here are some resources I have gathered online, but I am not sure how to use them.
Yandex MyStem https://yandex.ru/dev/mystem This seems to help find the root of a word, but I don't see any word counters built with this.
https://morfologija.ru looks like it might help to find the "root" or lemma of a word. It seems to provide derivational root. However it doesn't provide an API and it is still not clear to me what to do when you have multiple listed "roots".