spaCy/spacy/training/alignment_array.pxd

9 lines
171 B
Cython
Raw Normal View History

cimport numpy as np
from libcpp.vector cimport vector
cdef class AlignmentArray:
cdef np.ndarray _data
cdef np.ndarray _lengths
cdef np.ndarray _starts_ends