mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +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)
|
||||
# We should accept both dot notation and nested dict here for consistency
|
||||
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