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

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)