From 206e8a5ac7fc6870cb1b1d2e293f163fc7ca1e9b Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 27 Sep 2019 18:03:26 +0200 Subject: [PATCH] Also apply hotfix to Ukrainian lemmaitzer --- spacy/lang/uk/lemmatizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang/uk/lemmatizer.py b/spacy/lang/uk/lemmatizer.py index cf7591ea8..d40bdf2df 100644 --- a/spacy/lang/uk/lemmatizer.py +++ b/spacy/lang/uk/lemmatizer.py @@ -70,7 +70,7 @@ class UkrainianLemmatizer(Lemmatizer): if ( feature in morphology and feature in analysis_morph - and morphology[feature] != analysis_morph[feature] + and morphology[feature].lower() != analysis_morph[feature].lower() ): break else: