spaCy/spacy/tests/lang/uk/test_lemmatizer.py
2021-06-28 12:08:15 +02:00

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)