Fix formatting

This commit is contained in:
ines 2017-10-26 16:11:25 +02:00
parent 4d896171ae
commit 421c3837e8
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def main(model=None, output_dir=None, n_iter=1000):
parser = nlp.get_pipe('parser') parser = nlp.get_pipe('parser')
# add labels to the parser # add labels to the parser
for _, heads, deps in TRAIN_DATA: for _, _, deps in TRAIN_DATA:
for dep in deps: for dep in deps:
parser.add_label(dep) parser.add_label(dep)