diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py index d4a371b2b..56cf4d184 100644 --- a/spacy/en/__init__.py +++ b/spacy/en/__init__.py @@ -44,6 +44,7 @@ def _fix_deprecated_glove_vectors_loading(overrides): else: path = overrides['path'] data_path = path.parent + vec_path = None if 'add_vectors' not in overrides: if 'vectors' in overrides: vec_path = match_best_version(overrides['vectors'], None, data_path)