mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Merge branch 'rethinc2' of https://github.com/honnibal/spaCy into rethinc2
This commit is contained in:
commit
b3802562d6
|
@ -161,7 +161,6 @@ cdef class Parser:
|
|||
raise ValueError("Illegal action: %s" % move_name)
|
||||
action.do(state, action.label)
|
||||
memset(eg.scores, 0, sizeof(eg.scores[0]) * eg.nr_class)
|
||||
memset(eg.costs, 0, sizeof(eg.costs[0]) * eg.nr_class)
|
||||
for i in range(eg.nr_class):
|
||||
eg.is_valid[i] = 1
|
||||
self.moves.finalize_state(state)
|
||||
|
|
Loading…
Reference in New Issue
Block a user