mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Make GoldParse attributes writeable
This commit is contained in:
parent
2a5eb9f61e
commit
93a042253b
|
@ -18,15 +18,15 @@ cdef class GoldParse:
|
||||||
cdef GoldParseC c
|
cdef GoldParseC c
|
||||||
|
|
||||||
cdef int length
|
cdef int length
|
||||||
cdef readonly int loss
|
cdef public int loss
|
||||||
cdef readonly list words
|
cdef public list words
|
||||||
cdef readonly list tags
|
cdef public list tags
|
||||||
cdef readonly list heads
|
cdef public list heads
|
||||||
cdef readonly list labels
|
cdef public list labels
|
||||||
cdef readonly dict orths
|
cdef public dict orths
|
||||||
cdef readonly list ner
|
cdef public list ner
|
||||||
cdef readonly list ents
|
cdef public list ents
|
||||||
cdef readonly dict brackets
|
cdef public dict brackets
|
||||||
|
|
||||||
cdef readonly list cand_to_gold
|
cdef readonly list cand_to_gold
|
||||||
cdef readonly list gold_to_cand
|
cdef readonly list gold_to_cand
|
||||||
|
|
Loading…
Reference in New Issue
Block a user