mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +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 class Span: | ||||||
|     cdef readonly Doc doc |     cdef readonly Doc doc | ||||||
|     cdef public int i |     cdef readonly int start | ||||||
|     cdef public int start |     cdef readonly int end | ||||||
|     cdef public int end |     cdef readonly int start_char | ||||||
|     cdef public int start_char |     cdef readonly int end_char | ||||||
|     cdef public int end_char |  | ||||||
|     cdef readonly int label |     cdef readonly int label | ||||||
| 
 | 
 | ||||||
|     cdef public _vector |     cdef public _vector | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user