mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Clean up debug code in transition_system
This commit is contained in:
parent
a1b6add4c8
commit
0d6edf5397
|
@ -87,9 +87,9 @@ cdef class TransitionSystem:
|
|||
if is_valid[i] and costs[i] <= 0:
|
||||
action = self.c[i]
|
||||
history.append(i)
|
||||
s0 = state.S(0)
|
||||
b0 = state.B(0)
|
||||
if _debug:
|
||||
s0 = state.S(0)
|
||||
b0 = state.B(0)
|
||||
example = _debug
|
||||
debug_log.append(" ".join((
|
||||
self.get_class_name(i),
|
||||
|
|
Loading…
Reference in New Issue
Block a user