Added nl module for dutch

This commit is contained in:
dafnevk 2016-11-24 16:39:49 +01:00
parent 3db8b0d322
commit d8c7ac203a
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ PACKAGES = [
'spacy.fr', 'spacy.fr',
'spacy.it', 'spacy.it',
'spacy.pt', 'spacy.pt',
'spacy.nl',
'spacy.serialize', 'spacy.serialize',
'spacy.syntax', 'spacy.syntax',
'spacy.munge', 'spacy.munge',

View File

@ -10,6 +10,7 @@ from . import es
from . import it from . import it
from . import fr from . import fr
from . import pt from . import pt
from . import nl
try: try:
@ -33,7 +34,7 @@ def load(name, **overrides):
if target_name == 'en' and 'add_vectors' not in overrides: if target_name == 'en' and 'add_vectors' not in overrides:
if 'vectors' in overrides: if 'vectors' in overrides:
vec_path = util.match_best_version(overrides['vectors'], None, data_path) vec_path = util.match_best_version(overrides['vectors'], None, data_path)
if vec_path is None: if vec_path is None:
raise IOError( raise IOError(
'Could not load data pack %s from %s' % (overrides['vectors'], data_path)) 'Could not load data pack %s from %s' % (overrides['vectors'], data_path))