mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-16 06:37:04 +03:00
8 lines
204 B
Python
8 lines
204 B
Python
|
from spacy.tokens import Doc
|
||
|
|
||
|
|
||
|
def test_uk_lemmatizer(uk_lemmatizer):
|
||
|
"""Check that the default uk lemmatizer runs."""
|
||
|
doc = Doc(uk_lemmatizer.vocab, words=["a", "b", "c"])
|
||
|
uk_lemmatizer(doc)
|