Merge branch 'master' of ssh://github.com/honnibal/spaCy

This commit is contained in:
Matthew Honnibal 2015-07-27 22:57:48 +02:00
commit b96bf9b8cc
1 changed files with 5 additions and 4 deletions

View File

@ -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',