mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
12 lines
204 B
Python
12 lines
204 B
Python
# coding: utf-8
|
|
from __future__ import unicode_literals
|
|
|
|
from ...vocab import Vocab
|
|
|
|
|
|
def test_load_vocab_with_string():
|
|
try:
|
|
vocab = Vocab.load('/tmp/vocab')
|
|
except IOError:
|
|
pass
|