mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Added nl module for dutch
This commit is contained in:
parent
3db8b0d322
commit
d8c7ac203a
1
setup.py
1
setup.py
|
@ -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',
|
||||||
|
|
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user