mirror of https://github.com/explosion/spaCy.git
Delete unnecessary method (#13441)
Co-authored-by: marinelay <marinelay@gmail.com>
This commit is contained in:
parent
4cc3ebe74e
commit
b18cc94451
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue