mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	* Move `thinc.extra.search` to `spacy.pipeline._parser_internals` Backport of: https://github.com/explosion/spaCy/pull/11317 Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com> * Replace references to `thinc.backends.linalg` with `CBlas` Backport of: https://github.com/explosion/spaCy/pull/11292 Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com> * Use cross entropy from `thinc.legacy` * Require thinc>=9.0.0.dev0,<9.1.0 Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
		
			
				
	
	
		
			7 lines
		
	
	
		
			249 B
		
	
	
	
		
			Cython
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			249 B
		
	
	
	
		
			Cython
		
	
	
	
	
	
from ...typedefs cimport class_t, hash_t
 | 
						|
 | 
						|
# These are passed as callbacks to .search.Beam
 | 
						|
cdef int transition_state(void* _dest, void* _src, class_t clas, void* _moves) except -1
 | 
						|
 | 
						|
cdef int check_final_state(void* _state, void* extra_args) except -1
 |