spaCy/spacy/ner/pystate.pxd

17 lines
334 B
Cython
Raw Normal View History

from cymem.cymem cimport Pool
from .structs cimport Move, State
cdef class PyState:
cdef Pool mem
cdef readonly list tag_names
cdef readonly int n_classes
cdef readonly dict moves_by_name
2015-04-19 11:31:31 +03:00
cdef Move* _moves
cdef Move* _golds
cdef State* _s
cdef Move* _get_move(self, unicode move_name) except NULL