mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
Update tagger serialization
This commit is contained in:
parent
bae59bf92f
commit
a7309a217d
|
@ -11,8 +11,8 @@ import pytest
|
||||||
def taggers(en_vocab):
|
def taggers(en_vocab):
|
||||||
tagger1 = Tagger(en_vocab)
|
tagger1 = Tagger(en_vocab)
|
||||||
tagger2 = Tagger(en_vocab)
|
tagger2 = Tagger(en_vocab)
|
||||||
tagger1.model = tagger1.Model(None, None)
|
tagger1.model = tagger1.Model(8, 8)
|
||||||
tagger2.model = tagger2.Model(None, None)
|
tagger2.model = tagger2.Model(8, 8)
|
||||||
return (tagger1, tagger2)
|
return (tagger1, tagger2)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user