spaCy/spacy/tokens/spans.pxd

13 lines
221 B
Cython

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