spaCy/spacy/tokens/spans.pxd

13 lines
222 B
Cython

from .doc cimport Doc
cdef class Span:
cdef readonly Doc _seq
cdef public int i
cdef public int start
cdef public int end
cdef readonly int label
cdef public _vector
cdef public _vector_norm