2014-08-25 14:42:22 +00:00
|
|
|
from .typedefs cimport hash_t, utf8_t, flag_t, id_t
|
2014-09-10 18:41:47 +00:00
|
|
|
from spacy.lexeme cimport LexemeC
|
2014-08-24 16:14:08 +00:00
|
|
|
|
2014-08-25 14:42:22 +00:00
|
|
|
DEF MAX_FLAG = 64
|
2014-08-24 16:14:08 +00:00
|
|
|
|
|
|
|
|
2014-08-25 14:42:22 +00:00
|
|
|
cdef class Lexeme:
|
2014-09-10 18:41:47 +00:00
|
|
|
cdef LexemeC* _c
|
2014-08-24 16:14:08 +00:00
|
|
|
|
2014-10-09 21:11:31 +00:00
|
|
|
cpdef bint check_orth_flag(self, size_t flag_id) except *
|
|
|
|
cpdef bint check_dist_flag(self, size_t flag_id) except *
|
2014-08-29 01:01:40 +00:00
|
|
|
cpdef unicode string_view(self, size_t view_id)
|