From e367864e59ed366adb8f1b416f91828c05eac3a0 Mon Sep 17 00:00:00 2001 From: adrianeboyd Date: Tue, 10 Sep 2019 11:14:46 +0200 Subject: [PATCH] Update Ukrainian create_lemmatizer kwargs (#4266) Allow Ukrainian create_lemmatizer to accept lookups kwarg. --- spacy/lang/uk/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang/uk/__init__.py b/spacy/lang/uk/__init__.py index d152c08a4..6a4ed546d 100644 --- a/spacy/lang/uk/__init__.py +++ b/spacy/lang/uk/__init__.py @@ -24,7 +24,7 @@ class UkrainianDefaults(Language.Defaults): stop_words = STOP_WORDS @classmethod - def create_lemmatizer(cls, nlp=None): + def create_lemmatizer(cls, nlp=None, **kwargs): return UkrainianLemmatizer()