mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-04 21:50:35 +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:
|
if is_valid[i] and costs[i] <= 0:
|
||||||
action = self.c[i]
|
action = self.c[i]
|
||||||
history.append(i)
|
history.append(i)
|
||||||
|
if _debug:
|
||||||
s0 = state.S(0)
|
s0 = state.S(0)
|
||||||
b0 = state.B(0)
|
b0 = state.B(0)
|
||||||
if _debug:
|
|
||||||
example = _debug
|
example = _debug
|
||||||
debug_log.append(" ".join((
|
debug_log.append(" ".join((
|
||||||
self.get_class_name(i),
|
self.get_class_name(i),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user