* Whitespace

This commit is contained in:
Matthew Honnibal 2015-08-10 00:09:02 +02:00
parent 9de98f5a6f
commit 2c9753eff2
2 changed files with 1 additions and 2 deletions

View File

@ -109,7 +109,7 @@ cdef bint label_is_gold(const GoldParseC* gold, int head, int child, int label)
cdef bint _is_gold_root(const GoldParseC* gold, int word) nogil: cdef bint _is_gold_root(const GoldParseC* gold, int word) nogil:
return gold.labels[word] == -1 or gold.heads[word] == word return gold.labels[word] == -1 or gold.heads[word] == word
cdef class Shift: cdef class Shift:
@staticmethod @staticmethod

View File

@ -71,7 +71,6 @@ cdef class StateClass:
return -1 return -1
return self._sent[i].head + i return self._sent[i].head + i
cdef int E(self, int i) nogil cdef int E(self, int i) nogil
cdef int R(self, int i, int idx) nogil cdef int R(self, int i, int idx) nogil