mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
12 lines
257 B
Cython
12 lines
257 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_flag(self, size_t flag_id) except *
|
|
cpdef unicode string_view(self, size_t view_id)
|