Fix redundant == TAG in from_array conditional

This commit is contained in:
Matthew Honnibal 2017-01-31 00:46:21 +11:00 committed by GitHub
parent 3ea0df6ba7
commit 6c665b81df

View File

@ -585,9 +585,6 @@ cdef class Doc:
elif attr_id == POS:
for i in range(length):
tokens[i].pos = <univ_pos_t>values[i]
elif attr_id == TAG:
for i in range(length):
tokens[i].tag = <univ_pos_t>values[i]
elif attr_id == DEP:
for i in range(length):
tokens[i].dep = values[i]