spaCy/spacy/tests/lang/uk/test_lemmatizer.py

8 lines
204 B
Python
Raw Normal View History

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)