Pass on vocab arg in spacy.blank() (#6924)

This commit is contained in:
Adriane Boyd 2021-02-04 15:09:01 +01:00 committed by GitHub
parent efdeb9b53f
commit b903de3fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)