mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
* Update test_docs
This commit is contained in:
parent
25a8774f42
commit
9034f8a1cf
|
@ -66,12 +66,13 @@ def test3():
|
||||||
u'consented', u'acquiesced', u'petitioned', u'quarreled',
|
u'consented', u'acquiesced', u'petitioned', u'quarreled',
|
||||||
u'appealed', u'pleading']
|
u'appealed', u'pleading']
|
||||||
o = [w.orth_ for w in words[50:60]]
|
o = [w.orth_ for w in words[50:60]]
|
||||||
assert o == [u'endeavoured', u'martialed', u'counselled', u'bragged',
|
assert o == [u'martialed', u'counselled', u'bragged',
|
||||||
u'backtracked', u'caucused', u'refiled', u'dueled', u'mused',
|
u'backtracked', u'caucused', u'refiled', u'dueled', u'mused',
|
||||||
u'dissented']
|
u'dissented', u'yearned']
|
||||||
o = [w.orth_ for w in words[100:110]]
|
o = [w.orth_ for w in words[100:110]]
|
||||||
assert o == [u'prosecuted', u'acquits', u'cabled', u'ducked', u'sentenced',
|
assert o == [u'acquits', u'cabled', u'ducked', u'sentenced',
|
||||||
u'gaoled', u'perjured', u'absconded', u'bargained', u'overstayed']
|
u'gaoled', u'perjured', u'absconded', u'bargained', u'overstayed',
|
||||||
|
u'clerked']
|
||||||
|
|
||||||
#o = [w.orth_ for w in words[1000:1010]]
|
#o = [w.orth_ for w in words[1000:1010]]
|
||||||
#assert o == [u'scorned', u'baled', u'righted', u'requested', u'swindled',
|
#assert o == [u'scorned', u'baled', u'righted', u'requested', u'swindled',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user