From 185fc62f4d717aed488d34d323f4eedbf7f729ae Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Sun, 17 Jan 2021 09:41:35 +0100 Subject: [PATCH] Remove unused is_base_form for mk lemmatizer (#6743) Remove unimplemented/incorrect is_base_form for Macedonian lemmatizer. --- spacy/lang/mk/lemmatizer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/spacy/lang/mk/lemmatizer.py b/spacy/lang/mk/lemmatizer.py index eb07694b4..ce3e73b7a 100644 --- a/spacy/lang/mk/lemmatizer.py +++ b/spacy/lang/mk/lemmatizer.py @@ -18,8 +18,6 @@ class MacedonianLemmatizer(Lemmatizer): string = string[:-3] univ_pos = "verb" - if callable(self.is_base_form) and self.is_base_form(univ_pos, morphology): - return [string.lower()] index_table = self.lookups.get_table("lemma_index", {}) exc_table = self.lookups.get_table("lemma_exc", {}) rules_table = self.lookups.get_table("lemma_rules", {})