mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +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