mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-25 00:34:20 +03:00
Update serializer test.
This commit is contained in:
parent
7d5212f131
commit
c3a8a1cf51
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue
Block a user