From 4b6afd36114fbe1871f17998f9e3f4ec0e116f0f Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 30 Sep 2020 23:49:29 +0200 Subject: [PATCH] Remove English [initialize] default block for now to get tests to pass --- spacy/lang/en/__init__.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/spacy/lang/en/__init__.py b/spacy/lang/en/__init__.py index f4ea10f9c..cc01f1aea 100644 --- a/spacy/lang/en/__init__.py +++ b/spacy/lang/en/__init__.py @@ -9,21 +9,9 @@ from .punctuation import TOKENIZER_INFIXES from .lemmatizer import EnglishLemmatizer from ...language import Language from ...lookups import Lookups -from ...util import load_config_from_str - - -DEFAULT_CONFIG = """ -[initialize] - -[initialize.lookups] -@misc = "spacy.LookupsDataLoader.v1" -lang = ${nlp.lang} -tables = ["lexeme_norm"] -""" class EnglishDefaults(Language.Defaults): - config = load_config_from_str(DEFAULT_CONFIG) tokenizer_exceptions = TOKENIZER_EXCEPTIONS infixes = TOKENIZER_INFIXES lex_attr_getters = LEX_ATTRS