Skip to content

Commit

Permalink
Fix redundant == TAG in from_array conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal authored Jan 30, 2017
1 parent 3ea0df6 commit 6c665b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spacy/tokens/doc.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 6c665b8

Please sign in to comment.