Make GoldParse attributes writeable

This commit is contained in:
Matthew Honnibal 2017-05-22 04:50:29 -05:00
parent 2a5eb9f61e
commit 93a042253b

View File

@ -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