From 9877f3298ff71ec746b509b3fcb9cbd7ab49381c Mon Sep 17 00:00:00 2001 From: kendricktan Date: Mon, 24 Oct 2016 11:53:33 +1000 Subject: [PATCH] updated training examples to v1.1.2 --- examples/training/train_ner.py | 2 +- examples/training/train_parser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = [ (