Fix whitespace

This commit is contained in:
ines 2017-06-03 11:31:18 +02:00
parent 5109bba910
commit 459a1e8470

View File

@ -741,7 +741,7 @@ cdef class Doc:
token.spacy = self.c[end-1].spacy token.spacy = self.c[end-1].spacy
for attr_name, attr_value in attributes.items(): for attr_name, attr_value in attributes.items():
if attr_name == TAG: if attr_name == TAG:
self.vocab.morphology.assign_tag(token, attr_value) self.vocab.morphology.assign_tag(token, attr_value)
else: else:
Token.set_struct_attr(token, attr_name, attr_value) Token.set_struct_attr(token, attr_name, attr_value)
# Begin by setting all the head indices to absolute token positions # Begin by setting all the head indices to absolute token positions