From 0fc56e2544d03a2df52bdc03533f434dfa2cc381 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 26 Mar 2017 11:42:11 +0200 Subject: [PATCH] Update flag and defaults --- spacy/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/__main__.py b/spacy/__main__.py index 36dbb93d6..c4dc31d73 100644 --- a/spacy/__main__.py +++ b/spacy/__main__.py @@ -84,9 +84,9 @@ class CLI(object): n_iter=("number of iterations", "flag", "n", int), tagger=("train tagger", "flag", "t", bool), parser=("train parser", "flag", "p", bool), - ner=("train NER", "flag", "n", bool) + ner=("train NER", "flag", "e", bool) ) - def train(self, lang, output_dir, train_data, dev_data, n_iter=15, tagger=True, + def train(self, lang, output_dir, train_data, dev_data=None, n_iter=15, tagger=True, parser=True, ner=True): """Train a model."""