This commit is contained in:
Adriane Boyd 2022-11-17 18:27:26 +01:00 committed by GitHub
parent c06a02904f
commit 3bd532ec5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ def test_ru_doc_lookup_lemmatization(ru_lookup_lemmatizer):
("какая-то", "какой-то"),
),
)
def test_ruk_lookup_lemmatizer(ru_lookup_lemmatizer, word, lemma):
def test_ru_lookup_lemmatizer(ru_lookup_lemmatizer, word, lemma):
assert ru_lookup_lemmatizer.mode == "pymorphy3_lookup"
doc = Doc(ru_lookup_lemmatizer.vocab, words=[word])
assert ru_lookup_lemmatizer(doc)[0].lemma_ == lemma