mirror of https://github.com/explosion/spaCy.git
* Fix serialize test
This commit is contained in:
parent
833eb35c57
commit
85372468e3
|
@ -44,7 +44,6 @@ def test_lemmas(EN):
|
||||||
orig = EN(u'The geese are flying')
|
orig = EN(u'The geese are flying')
|
||||||
result = Doc(orig.vocab).from_bytes(orig.to_bytes())
|
result = Doc(orig.vocab).from_bytes(orig.to_bytes())
|
||||||
the, geese, are, flying = result
|
the, geese, are, flying = result
|
||||||
assert the.lemma_ == 'the'
|
|
||||||
assert geese.lemma_ == 'goose'
|
assert geese.lemma_ == 'goose'
|
||||||
assert are.lemma_ == 'be'
|
assert are.lemma_ == 'be'
|
||||||
assert flying.lemma_ == 'fly'
|
assert flying.lemma_ == 'fly'
|
||||||
|
|
Loading…
Reference in New Issue