mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
15 lines
372 B
Cython
15 lines
372 B
Cython
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
|
|
|
|
|
|
cdef class Span:
|
|
cdef readonly Doc _seq
|
|
cdef public int i
|
|
cdef public int start
|
|
cdef public int end
|
|
cdef readonly int label
|