Don't set morph rules without tag map

This commit is contained in:
ines 2017-05-08 16:15:12 +02:00
parent 4930f0fa8f
commit 9a5b2bdd4c
2 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@ class Norwegian(Language):
tokenizer_exceptions = update_exc(BASE_EXCEPTIONS, TOKENIZER_EXCEPTIONS)
stop_words = set(STOP_WORDS)
morph_rules = dict(MORPH_RULES)
__all__ = ['Norwegian']

View File

@ -22,7 +22,6 @@ class Swedish(Language):
tokenizer_exceptions = update_exc(BASE_EXCEPTIONS, TOKENIZER_EXCEPTIONS)
stop_words = set(STOP_WORDS)
morph_rules = dict(MORPH_RULES)
@classmethod
def create_lemmatizer(cls, nlp=None):