mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-01 04:46:38 +03:00
14 lines
304 B
Cython
14 lines
304 B
Cython
from libcpp.memory cimport shared_ptr
|
|
|
|
from ..morphology cimport MorphAnalysisC
|
|
from ..typedefs cimport hash_t
|
|
from ..vocab cimport Vocab
|
|
|
|
|
|
cdef class MorphAnalysis:
|
|
cdef readonly Vocab vocab
|
|
cdef readonly hash_t key
|
|
cdef shared_ptr[MorphAnalysisC] c
|
|
|
|
cdef void _init_c(self, hash_t key)
|