Skip to content

Commit

Permalink
fixed split_clauses.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jmnybl committed May 9, 2016
1 parent 29df1a2 commit f47ff4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion split_clauses.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def split(args):
for token in sent:
head=int(token[HEAD])
if head==0:
tree.add_dep(0,int(token[ID]),u"ROOT",u"_")
tree.add_dep(0,int(token[ID]),u"root",u"_")
else:
tree.add_dep(head,int(token[ID]),token[DEPREL],u"|".join(m for m in [token[CPOS],token[FEAT]]))
# now dictionary is ready, start search from root
Expand Down

0 comments on commit f47ff4e

Please sign in to comment.