mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	* Add usage note for multi-threading
This commit is contained in:
		
							parent
							
								
									7f24229f10
								
							
						
					
					
						commit
						963ccc2aee
					
				| 
						 | 
					@ -9,6 +9,10 @@ mixin example(name)
 | 
				
			||||||
  pre.language-python: code
 | 
					  pre.language-python: code
 | 
				
			||||||
    include ../../code/home.load_resources_and_process_text
 | 
					    include ../../code/home.load_resources_and_process_text
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					+example("Multi-threaded generator (using OpenMP. No GIL!)")
 | 
				
			||||||
 | 
					  pre.language-python: code
 | 
				
			||||||
 | 
					    include ../../code/home.multithreading
 | 
				
			||||||
 | 
					
 | 
				
			||||||
+example("Get tokens and sentences")
 | 
					+example("Get tokens and sentences")
 | 
				
			||||||
  pre.language-python: code
 | 
					  pre.language-python: code
 | 
				
			||||||
    include ../../code/home.get_tokens_and_sentences
 | 
					    include ../../code/home.get_tokens_and_sentences
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user