mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	Update header
This commit is contained in:
		
							parent
							
								
									456e27dc8b
								
							
						
					
					
						commit
						29d39d8a34
					
				|  | @ -52,4 +52,4 @@ cdef class TransitionSystem: | |||
|     cdef int set_valid(self, int* output, const StateC* st) nogil | ||||
| 
 | ||||
|     cdef int set_costs(self, int* is_valid, weight_t* costs, | ||||
|                        StateClass state, Example example) except -1 | ||||
|                        StateClass state, gold) except -1 | ||||
|  |  | |||
|  | @ -115,7 +115,7 @@ cdef class TransitionSystem: | |||
|             is_valid[i] = self.c[i].is_valid(st, self.c[i].label) | ||||
| 
 | ||||
|     cdef int set_costs(self, int* is_valid, weight_t* costs, | ||||
|                        StateClass stcls, Example example) except -1: | ||||
|                        StateClass stcls, gold) except -1: | ||||
|         raise NotImplementedError | ||||
| 
 | ||||
|     def get_class_name(self, int clas): | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user