Ensure path in save_to_directory

This commit is contained in:
ines 2017-04-17 01:40:14 +02:00
parent 01067e99d4
commit e2299dc389

View File

@ -350,6 +350,7 @@ class Language(object):
'ner': self.entity.cfg if self.entity else {},
}
path = util.ensure_path(path)
self.setup_directory(path, **configs)
strings_loc = path / 'vocab' / 'strings.json'