spaCy/spacy/tokens/graph.pxd
2023-06-26 11:41:03 +02:00

15 lines
296 B
Cython

from cymem.cymem cimport Pool
from libcpp.vector cimport vector
from preshed.maps cimport PreshMap
from ..structs cimport EdgeC, GraphC
cdef class Graph:
cdef GraphC c
cdef Pool mem
cdef PreshMap node_map
cdef PreshMap edge_map
cdef object doc_ref
cdef public str name