mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
13 lines
324 B
Cython
13 lines
324 B
Cython
from .typedefs cimport hash_t, utf8_t, flag_t, id_t
|
|
from spacy.lexeme cimport LexemeC
|
|
|
|
DEF MAX_FLAG = 64
|
|
|
|
|
|
cdef class Lexeme:
|
|
cdef LexemeC* _c
|
|
|
|
cpdef bint check_orth_flag(self, size_t flag_id) except *
|
|
cpdef bint check_dist_flag(self, size_t flag_id) except *
|
|
cpdef unicode string_view(self, size_t view_id)
|