mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Whitespace
This commit is contained in:
parent
9de98f5a6f
commit
2c9753eff2
|
@ -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:
|
||||
return gold.labels[word] == -1 or gold.heads[word] == word
|
||||
|
||||
|
||||
|
||||
cdef class Shift:
|
||||
@staticmethod
|
||||
|
|
|
@ -71,7 +71,6 @@ cdef class StateClass:
|
|||
return -1
|
||||
return self._sent[i].head + i
|
||||
|
||||
|
||||
cdef int E(self, int i) nogil
|
||||
|
||||
cdef int R(self, int i, int idx) nogil
|
||||
|
|
Loading…
Reference in New Issue
Block a user