spaCy/spacy/spans.pxd

15 lines
372 B
Cython
Raw Normal View History

2015-07-08 19:53:00 +03:00
from .tokens cimport Doc
from .typedefs cimport flags_t, attr_id_t, attr_t
from .parts_of_speech cimport univ_pos_t
from .structs cimport Morphology, TokenC, LexemeC
from .vocab cimport Vocab
from .strings cimport StringStore
2015-04-19 11:31:31 +03:00
cdef class Span:
2015-07-08 19:53:00 +03:00
cdef readonly Doc _seq
cdef public int i
cdef public int start
cdef public int end
cdef readonly int label