mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Fix typo
This commit is contained in:
parent
c06a02904f
commit
3bd532ec5a
|
@ -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"
|
assert ru_lookup_lemmatizer.mode == "pymorphy3_lookup"
|
||||||
doc = Doc(ru_lookup_lemmatizer.vocab, words=[word])
|
doc = Doc(ru_lookup_lemmatizer.vocab, words=[word])
|
||||||
assert ru_lookup_lemmatizer(doc)[0].lemma_ == lemma
|
assert ru_lookup_lemmatizer(doc)[0].lemma_ == lemma
|
||||||
|
|
Loading…
Reference in New Issue
Block a user