From b903de3fcb56df2f7247e5b6cfa6b66f4ff02b62 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 4 Feb 2021 15:09:01 +0100 Subject: [PATCH] Pass on vocab arg in spacy.blank() (#6924) --- spacy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/__init__.py b/spacy/__init__.py index aac1db289..36074c440 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -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)