mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	link to spacy load and mention difference
This commit is contained in:
		
							parent
							
								
									f21d12bbff
								
							
						
					
					
						commit
						1e820aceb4
					
				|  | @ -25,7 +25,10 @@ and call the package's own `load()` method. If a pipeline is loaded from a path, | ||||||
| spaCy will assume it's a data directory, load its | spaCy will assume it's a data directory, load its | ||||||
| [`config.cfg`](/api/data-formats#config) and use the language and pipeline | [`config.cfg`](/api/data-formats#config) and use the language and pipeline | ||||||
| information to construct the `Language` class. The data will be loaded in via | information to construct the `Language` class. The data will be loaded in via | ||||||
| [`Language.from_disk`](/api/language#from_disk). | [`Language.from_disk`](/api/language#from_disk). Loading a pipeline from a | ||||||
|  | package will also import any custom code, if present, whereas loading from a | ||||||
|  | directory does not. For these cases, you need to manually import your custom | ||||||
|  | code. | ||||||
| 
 | 
 | ||||||
| <Infobox variant="warning" title="Changed in v3.0"> | <Infobox variant="warning" title="Changed in v3.0"> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -760,9 +760,9 @@ your pipeline and registered when it's loaded. See the documentation on | ||||||
| 
 | 
 | ||||||
| <Infobox variant="warning"> | <Infobox variant="warning"> | ||||||
| 
 | 
 | ||||||
| Please note that unpackaged models produced by `spacy train` do **not include | Note that unpackaged models produced by `spacy train` do **not include custom | ||||||
| any custom code**, you need to import the code in your script before loading | code**, you need to import the code to your script before loading in unpackaged | ||||||
| unpackaged models. | models. For more details, see [`spacy.load`](/api/top-level#spacy.load). | ||||||
| 
 | 
 | ||||||
| </Infobox> | </Infobox> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user