diff --git a/examples/training/train_ner.py b/examples/training/train_ner.py index 5b46a678b..7e08f23d5 100644 --- a/examples/training/train_ner.py +++ b/examples/training/train_ner.py @@ -27,7 +27,7 @@ def main(model_dir=None): model_dir.mkdir() assert model_dir.is_dir() - nlp = spacy.load('en', parser=False, entity=False, vectors=False) + nlp = spacy.load('en', parser=False, entity=False, add_vectors=False) train_data = [ ( diff --git a/examples/training/train_parser.py b/examples/training/train_parser.py index daf23cc49..8c3119704 100644 --- a/examples/training/train_parser.py +++ b/examples/training/train_parser.py @@ -32,7 +32,7 @@ def main(model_dir=None): model_dir.mkdir() assert model_dir.is_dir() - nlp = spacy.load('en', tagger=False, parser=False, entity=False, vectors=False) + nlp = spacy.load('en', tagger=False, parser=False, entity=False, add_vectors=False) train_data = [ (