mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Fix redundant == TAG in from_array conditional
This commit is contained in:
parent
3ea0df6ba7
commit
6c665b81df
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user