spaCy/spacy/tokens/graph.pxd

15 lines
296 B
Cython
Raw Normal View History

from cymem.cymem cimport Pool
2023-06-26 12:41:03 +03:00
from libcpp.vector cimport vector
from preshed.maps cimport PreshMap
2023-06-26 12:41:03 +03:00
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