mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	Pass on vocab arg in spacy.blank() (#6924)
This commit is contained in:
		
							parent
							
								
									efdeb9b53f
								
							
						
					
					
						commit
						b903de3fcb
					
				| 
						 | 
					@ -65,4 +65,4 @@ def blank(
 | 
				
			||||||
    LangClass = util.get_lang_class(name)
 | 
					    LangClass = util.get_lang_class(name)
 | 
				
			||||||
    # We should accept both dot notation and nested dict here for consistency
 | 
					    # We should accept both dot notation and nested dict here for consistency
 | 
				
			||||||
    config = util.dot_to_dict(config)
 | 
					    config = util.dot_to_dict(config)
 | 
				
			||||||
    return LangClass.from_config(config, meta=meta)
 | 
					    return LangClass.from_config(config, vocab=vocab, meta=meta)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user