* Removed unused i variable from Span, and set attributes to read-only

This commit is contained in:
Matthew Honnibal 2015-11-07 17:06:15 +11:00
parent 4b3c96d76d
commit 7663970d5f

View File

@ -3,11 +3,10 @@ from .doc cimport Doc
cdef class Span:
cdef readonly Doc doc
cdef public int i
cdef public int start
cdef public int end
cdef public int start_char
cdef public int end_char
cdef readonly int start
cdef readonly int end
cdef readonly int start_char
cdef readonly int end_char
cdef readonly int label
cdef public _vector