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.it',
'spacy.pt',
'spacy.nl',
'spacy.serialize',
'spacy.syntax',
'spacy.munge',

View File

@ -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))