diff --git a/spacy/__init__.py b/spacy/__init__.py index 068282b1a..1cb7c0cbd 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -13,5 +13,10 @@ def load(name, **overrides): return util.load_model(name, **overrides) +def blank(name, **kwargs): + LangClass = util.get_lang_class(name) + return LangClass(**kwargs) + + def info(model=None, markdown=False): return cli_info(None, model, markdown)