From 763cbd23d5556fe6324dcdc4e45c859f7f0d1422 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 14 Jun 2015 17:44:29 +0200 Subject: [PATCH] * Upd stateclass.print_state --- spacy/syntax/stateclass.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/syntax/stateclass.pyx b/spacy/syntax/stateclass.pyx index 5c1895a1e..b03f6ed16 100644 --- a/spacy/syntax/stateclass.pyx +++ b/spacy/syntax/stateclass.pyx @@ -228,7 +228,7 @@ cdef class StateClass: third = words[self.S(2)] + '_%d' % self.S_(2).head n0 = words[self.B(0)] n1 = words[self.B(1)] - return ' '.join((str(self.buffer_length()), str(self.B_(0).sent_end), str(self._b_i), str(self._break), str(self.length), str(self.stack_depth()), third, second, top, '|', n0, n1)) + return ' '.join((third, second, top, '|', n0, n1)) # From https://en.wikipedia.org/wiki/Hamming_weight