mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
* Removed unused i variable from Span, and set attributes to read-only
This commit is contained in:
parent
4b3c96d76d
commit
7663970d5f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user