mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Update structs
This commit is contained in:
parent
6ae645c4ef
commit
3bba8e9245
|
@ -2,6 +2,7 @@ from libc.stdint cimport uint8_t, uint32_t, int32_t, uint64_t
|
|||
|
||||
from .typedefs cimport flags_t, attr_t, hash_t
|
||||
from .parts_of_speech cimport univ_pos_t
|
||||
from .morphology cimport univ_morph_t
|
||||
|
||||
|
||||
cdef struct LexemeC:
|
||||
|
@ -71,3 +72,6 @@ cdef struct TokenC:
|
|||
int ent_iob
|
||||
attr_t ent_type # TODO: Is there a better way to do this? Multiple sources of truth..
|
||||
hash_t ent_id
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user