mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Update Constituent definition
This commit is contained in:
parent
9dfc9c039c
commit
8ee7c541f1
|
@ -49,16 +49,18 @@ cdef struct Entity:
|
|||
|
||||
|
||||
cdef struct Constituent:
|
||||
int head
|
||||
int start
|
||||
int end
|
||||
const TokenC* head
|
||||
const Constituent* parent
|
||||
const Constituent* first
|
||||
const Constituent* last
|
||||
int label
|
||||
bint on_stack
|
||||
int length
|
||||
|
||||
|
||||
cdef struct TokenC:
|
||||
const LexemeC* lex
|
||||
Morphology morph
|
||||
const Constituent* ctnt
|
||||
univ_pos_t pos
|
||||
int tag
|
||||
int idx
|
||||
|
@ -73,9 +75,6 @@ cdef struct TokenC:
|
|||
uint32_t l_edge
|
||||
uint32_t r_edge
|
||||
|
||||
int attach_order
|
||||
int ctnt_label
|
||||
|
||||
int ent_iob
|
||||
int ent_type
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user