This commit is contained in:
Matthew Honnibal 2024-09-14 11:09:44 +02:00
commit 50aa3b5cbe
2 changed files with 1347 additions and 300 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

File diff suppressed because it is too large Load Diff