spaCy/spacy/syntax/conll.pxd

8 lines
174 B
Cython
Raw Normal View History

2015-02-21 19:06:58 +03:00
from ..structs cimport TokenC
cdef class GoldParse:
cdef int* heads
cdef int* labels
cdef int heads_correct(self, TokenC* tokens, bint score_punct=?) except -1