From c617d288d8fb9636f9dd077f8393c9e1d2d8626a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 2 Oct 2017 17:20:19 +0200 Subject: [PATCH] Update pipeline component names in spaCy train --- spacy/cli/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/train.py b/spacy/cli/train.py index d973effb6..2096bf0a1 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -69,7 +69,7 @@ def train(cmd, lang, output_dir, train_data, dev_data, n_iter=10, n_sents=0, prints("Expected dict but got: {}".format(type(meta)), title="Not a valid meta.json format", exits=1) - pipeline = ['tags', 'dependencies', 'entities'] + pipeline = ['tagger', 'parser', 'ner'] if no_tagger and 'tags' in pipeline: pipeline.remove('tags') if no_parser and 'dependencies' in pipeline: pipeline.remove('dependencies') if no_entities and 'entities' in pipeline: pipeline.remove('entities')