I am total newbie, so sorry for a stupid question. I am trying to lemmatize some russian sentences using pre-trained models in DeepPavlov. Apparently I don’t understand how it works. What I do (with no success):
from deeppavlov.models.preprocessors.russian_lemmatizer import PymorphyRussianLemmatizer
p=PymorphyRussianLemmatizer()
p(['STRING GOES HERE'])
What should I do just to convert the string to list of stems/lemmas?
Thanks a lot for the brisk answer! But it seems I have to pass it through tokenizer first, right? So I can’t just feed a sentence there like ‘Я гулял по улице’?