spaCy/spacy/tests/regression/test_issue617.py

9 lines
147 B
Python
Raw Normal View History

from ...vocab import Vocab
def test_load_vocab_with_string():
2016-11-10 21:48:10 +00:00
try:
vocab = Vocab.load('/tmp/vocab')
except IOError:
pass