spaCy/spacy/tokens/span_group.pxd

14 lines
309 B
Cython
Raw Normal View History

from libcpp.memory cimport shared_ptr
from libcpp.vector cimport vector
2023-06-26 12:41:03 +03:00
from ..structs cimport SpanC
2023-06-26 12:41:03 +03:00
cdef class SpanGroup:
cdef public object _doc_ref
cdef public str name
cdef public dict attrs
cdef vector[shared_ptr[SpanC]] c
cdef void push_back(self, const shared_ptr[SpanC] &span)