spaCy/spacy/tokens/span.pxd

17 lines
320 B
Cython
Raw Normal View History

from .doc cimport Doc
cdef class Span:
2015-09-29 16:03:55 +03:00
cdef readonly Doc doc
cdef readonly int start
cdef readonly int end
cdef readonly int start_char
cdef readonly int end_char
cdef readonly int label
cdef public _vector
cdef public _vector_norm
cpdef int _recalculate_indices(self) except -1