spaCy/spacy/ner/annot.pxd

9 lines
168 B
Cython

from cymem.cymem cimport Pool
cdef class NERAnnotation:
cdef Pool mem
cdef int* starts
cdef int* ends
cdef int* labels
cdef readonly list entities