Delete unnecessary method (#13441)

Co-authored-by: marinelay <marinelay@gmail.com>
This commit is contained in:
marinelay 2024-09-10 03:57:13 +09:00 committed by GitHub
parent 4cc3ebe74e
commit b18cc94451
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,13 +24,6 @@ class MacedonianDefaults(BaseDefaults):
tokenizer_exceptions = update_exc(BASE_EXCEPTIONS, TOKENIZER_EXCEPTIONS)
stop_words = STOP_WORDS
@classmethod
def create_lemmatizer(cls, nlp=None, lookups=None):
if lookups is None:
lookups = Lookups()
return MacedonianLemmatizer(lookups)
class Macedonian(Language):
lang = "mk"
Defaults = MacedonianDefaults