From 2d6ec998842ea5773f9e66c6153b5b9ceb7a5c0a Mon Sep 17 00:00:00 2001 From: ines Date: Thu, 26 Oct 2017 16:12:23 +0200 Subject: [PATCH] Set 'model' as default model name to prevent meta.json errors --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index b836b8619..9ced836f0 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -151,7 +151,7 @@ class Language(object): @property def meta(self): self._meta.setdefault('lang', self.vocab.lang) - self._meta.setdefault('name', '') + self._meta.setdefault('name', 'model') self._meta.setdefault('version', '0.0.0') self._meta.setdefault('spacy_version', about.__version__) self._meta.setdefault('description', '')