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

9 lines
218 B
Python
Raw Normal View History

import pytest
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)