Open mariana-scorp opened 5 months ago
Currently it supports using a MorphAnalyzer
instance passed during init (the intent behind that was so a pymorphy3 one can be passed if needed), but it does use pymorphy2 under the hood if nothing is specified, and defaults are important. Definitely a good idea to change this
(Or it could detect which pymorphy version is already installed, and prefer pymorphy3 in case both are — either way, defaulting to pymorphy2 is not the right way to do)
Thank you for bringing that up!
Or we could do this: https://github.com/explosion/spaCy/blob/master/spacy/lang/uk/lemmatizer.py
Pymorphy3 uses a much more recent version of Ukrainian dictionaries (VESUM).
https://github.com/no-plagiarism/pymorphy3