mirror of https://github.com/explosion/spaCy.git
Remove cpdef enum, to avoid too much code generation
This commit is contained in:
parent
92ac9316b5
commit
6218af0105
|
@ -44,7 +44,7 @@ cdef class Morphology:
|
||||||
cdef int assign_feature(self, uint64_t* morph, univ_morph_t feat_id, bint value) except -1
|
cdef int assign_feature(self, uint64_t* morph, univ_morph_t feat_id, bint value) except -1
|
||||||
|
|
||||||
|
|
||||||
cpdef enum univ_morph_t:
|
cdef enum univ_morph_t:
|
||||||
NIL = 0
|
NIL = 0
|
||||||
Animacy_anim = symbols.Animacy_anim
|
Animacy_anim = symbols.Animacy_anim
|
||||||
Animacy_inam
|
Animacy_inam
|
||||||
|
|
Loading…
Reference in New Issue