2015-07-13 18:20:58 +00:00
|
|
|
from .doc cimport Doc
|
|
|
|
|
|
|
|
|
|
|
|
cdef class Span:
|
2015-09-29 13:03:55 +00:00
|
|
|
cdef readonly Doc doc
|
2015-07-13 18:20:58 +00:00
|
|
|
cdef public int i
|
2015-11-06 21:55:34 +00:00
|
|
|
cdef public int start
|
|
|
|
cdef public int end
|
|
|
|
cdef public int start_char
|
|
|
|
cdef public int end_char
|
2015-07-13 18:20:58 +00:00
|
|
|
cdef readonly int label
|
2015-09-17 01:50:11 +00:00
|
|
|
|
|
|
|
cdef public _vector
|
|
|
|
cdef public _vector_norm
|
2015-11-06 21:56:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
cpdef int _recalculate_indices(self) except -1
|