Remove unused is_base_form for mk lemmatizer (#6743)

Remove unimplemented/incorrect is_base_form for Macedonian lemmatizer.
This commit is contained in:
Adriane Boyd 2021-01-17 09:41:35 +01:00 committed by GitHub
parent 43a752a2a0
commit 185fc62f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,6 @@ class MacedonianLemmatizer(Lemmatizer):
string = string[:-3] string = string[:-3]
univ_pos = "verb" 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", {}) index_table = self.lookups.get_table("lemma_index", {})
exc_table = self.lookups.get_table("lemma_exc", {}) exc_table = self.lookups.get_table("lemma_exc", {})
rules_table = self.lookups.get_table("lemma_rules", {}) rules_table = self.lookups.get_table("lemma_rules", {})