From d8c7ac203a306f8b1f5900de97b0501a433540c8 Mon Sep 17 00:00:00 2001 From: dafnevk Date: Thu, 24 Nov 2016 16:39:49 +0100 Subject: [PATCH] Added nl module for dutch --- setup.py | 1 + spacy/__init__.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c256d064c..14128f901 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ PACKAGES = [ 'spacy.fr', 'spacy.it', 'spacy.pt', + 'spacy.nl', 'spacy.serialize', 'spacy.syntax', 'spacy.munge', diff --git a/spacy/__init__.py b/spacy/__init__.py index 68ac4c07b..ef9c3df63 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -10,6 +10,7 @@ from . import es from . import it from . import fr from . import pt +from . import nl try: @@ -33,7 +34,7 @@ def load(name, **overrides): if target_name == 'en' and 'add_vectors' not in overrides: if 'vectors' in overrides: vec_path = util.match_best_version(overrides['vectors'], None, data_path) - if vec_path is None: + if vec_path is None: raise IOError( 'Could not load data pack %s from %s' % (overrides['vectors'], data_path))