mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Fix formatting
This commit is contained in:
parent
4d896171ae
commit
421c3837e8
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user