Set 'model' as default model name to prevent meta.json errors

This commit is contained in:
ines 2017-10-26 16:12:23 +02:00
parent 9e372913e0
commit 2d6ec99884
1 changed files with 1 additions and 1 deletions

View File

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