From 421c3837e83c2322a2addb52cf8d293af18b54ad Mon Sep 17 00:00:00 2001 From: ines Date: Thu, 26 Oct 2017 16:11:25 +0200 Subject: [PATCH] Fix formatting --- examples/training/train_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/training/train_parser.py b/examples/training/train_parser.py index ad39ab7c3..8cd602bcd 100644 --- a/examples/training/train_parser.py +++ b/examples/training/train_parser.py @@ -60,7 +60,7 @@ def main(model=None, output_dir=None, n_iter=1000): parser = nlp.get_pipe('parser') # add labels to the parser - for _, heads, deps in TRAIN_DATA: + for _, _, deps in TRAIN_DATA: for dep in deps: parser.add_label(dep)