mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Update lightning tour
This commit is contained in:
		
							parent
							
								
									881db170f7
								
							
						
					
					
						commit
						7f25f64acc
					
				|  | @ -6,6 +6,15 @@ p | ||||||
|     |  The following examples and code snippets give you an overview of spaCy's |     |  The following examples and code snippets give you an overview of spaCy's | ||||||
|     |  functionality and its usage. |     |  functionality and its usage. | ||||||
| 
 | 
 | ||||||
|  | +h(2, "models") Install and load models | ||||||
|  | 
 | ||||||
|  | +code(false, "bash"). | ||||||
|  |     python -m spacy.download en | ||||||
|  | 
 | ||||||
|  | +code. | ||||||
|  |     import spacy | ||||||
|  |     nlp = spacy.load('en') | ||||||
|  | 
 | ||||||
| +h(2, "examples-resources") Load resources and process text | +h(2, "examples-resources") Load resources and process text | ||||||
| 
 | 
 | ||||||
| +code. | +code. | ||||||
|  |  | ||||||
|  | @ -66,7 +66,7 @@ include _includes/_mixins | ||||||
|     +grid |     +grid | ||||||
|         +grid-col("two-thirds") |         +grid-col("two-thirds") | ||||||
|             +terminal("lightning_tour.py"). |             +terminal("lightning_tour.py"). | ||||||
|                 # Install: pip install spacy && python -m spacy.en.download |                 # Install: pip install spacy && python -m spacy.download en | ||||||
|                 import spacy |                 import spacy | ||||||
| 
 | 
 | ||||||
|                 # Load English tokenizer, tagger, parser, NER and word vectors |                 # Load English tokenizer, tagger, parser, NER and word vectors | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user