Update flag and defaults

This commit is contained in:
ines 2017-03-26 11:42:11 +02:00
parent 1dae97b2f6
commit 0fc56e2544
1 changed files with 2 additions and 2 deletions

View File

@ -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."""