Update serializer test.

This commit is contained in:
Matthew Honnibal 2016-10-18 16:18:46 +02:00
parent 7d5212f131
commit c3a8a1cf51

View File

@ -28,7 +28,7 @@ def vocab():
else:
path = util.match_best_version('en', None, path)
vocab = English.Defaults('en', path).Vocab()
vocab = English.Defaults.create_vocab()
lex = vocab['dog']
assert vocab[vocab.strings['dog']].orth_ == 'dog'
lex = vocab['the']