mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-15 06:09:01 +03:00
14 lines
295 B
Cython
14 lines
295 B
Cython
|
from libcpp.vector cimport vector
|
||
|
from cymem.cymem cimport Pool
|
||
|
from preshed.maps cimport PreshMap
|
||
|
from ..structs cimport GraphC, EdgeC
|
||
|
|
||
|
|
||
|
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
|