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
1 changed files with 0 additions and 7 deletions

View File

@ -24,13 +24,6 @@ class MacedonianDefaults(BaseDefaults):
tokenizer_exceptions = update_exc(BASE_EXCEPTIONS, TOKENIZER_EXCEPTIONS) tokenizer_exceptions = update_exc(BASE_EXCEPTIONS, TOKENIZER_EXCEPTIONS)
stop_words = STOP_WORDS 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): class Macedonian(Language):
lang = "mk" lang = "mk"
Defaults = MacedonianDefaults Defaults = MacedonianDefaults