Update Ukrainian create_lemmatizer kwargs (#4266)

Allow Ukrainian create_lemmatizer to accept lookups kwarg.
This commit is contained in:
adrianeboyd 2019-09-10 11:14:46 +02:00 committed by Ines Montani
parent c32126359a
commit e367864e59

View File

@ -24,7 +24,7 @@ class UkrainianDefaults(Language.Defaults):
stop_words = STOP_WORDS stop_words = STOP_WORDS
@classmethod @classmethod
def create_lemmatizer(cls, nlp=None): def create_lemmatizer(cls, nlp=None, **kwargs):
return UkrainianLemmatizer() return UkrainianLemmatizer()