An example excerpt from the Faustroll index data structure.
defaultdict(<function <lambda> at 0x101d17938>,
{
u'fawn': defaultdict(<type 'list'>,
{
u'l_17': [101330, 111976],
u'l_19': [345609],
u'l_01': [92598, 469332, 469716, 469757, 469830, 469950]
}),
u'lenitives': defaultdict(<type 'list'>,
{
u'l_19': [121161]
}),
u'malheureuses': defaultdict(<type 'list'>,
{
u'l_06': [18950, 52631, 65053, 65792, 79960, 127861, 176200],
u'l_04': [51545, 93611]
}),
u'nunnery': defaultdict(<type 'list'>,
{
u'l_19': [38182, 160331]
}),
u'nuzzing': defaultdict(<type 'list'>,
{
u'l_19': [147035]
}),
u'huileux': defaultdict(<type 'list'>,
{
u'l_04': [69998]
}),
u'lentuli': defaultdict(<type 'list'>,
{
u'l_19': [217454]
}),
u'porphyrogene': defaultdict(<type 'list'>,
{
u'l_01': [137368, 480308]
}),
u'woods': defaultdict(<type 'list'>,
{
u'l_14': [16256],
u'l_05': [2890],
u'l_17': [11445, 34923, 48413, 59186, 61062, 78084, 78681, 81374, 101319, 137624],
u'l_10': [12500, 21691, 33136],
u'l_02': [4596, 6221],
u'l_01': [63176, 63622, 74535, 74807, 326433, 326464, 326472, 419835, 441374, 467791, 481003, 481113, 500201, 500331, 501595],
u'l_27': [60731],
u'l_26': [1120, 9622],
u'l_19': [149538, 232296, 294503]
}),
u'clotted': defaultdict(<type 'list'>,
{
u'l_17': [92418],
u'l_01': [53612, 133153, 200952, 241165]
}),
u'spiders': defaultdict(<type 'list'>,
{
u'l_19': [285105, 301556],
u'l_00': [3085]
}),
u'hanging': defaultdict(<type 'list'>,
{
u'l_17': [84239],
u'l_10': [35501, 92813, 126657],
u'l_02': [6033, 33307, 34297],
u'l_01': [10317, 102489, 114549, 134507, 193056, 210178, 251167, 266320, 287765, 311802, 342798, 379707, 417326, 417956, 448394, 469204],
u'l_00': [1831, 5490, 6891, 11088, 13846],
u'l_27': [19757, 45058, 83470],
u'l_26': [6500],
u'l_19': [8309, 15850, 17056, 20629, 25899, 47147, 47186, 49544, 108943, 177323, 200639, 252551, 334120, 341621]
}),
...
This section show the Clinamen function allowing up to 3 errors. See chapter 12.2.4.
afar, ahead, Alas, altar, appear, bar, beam, beard, bears, beat, beer, ble, bleed, blew, bluer, bread, break, Caesar, calvary, can, canal, care, cedar, cellar, chair, charm, cheek, chen, chere, chern, choir, clad, claim, clasp, claws, clean, clear, clearly, clerks, climb, clock, clogs, close, cloth, color, coral, crab, crap, cresc, crest, Dead, dead, dear, Dewar, ear, ears, eat, ever, far, fear, Fear, feat, flag, flat, flesh, floor, Friar, glare, Great, great, head, hear, heard, heart, heat, Her, her, idea, ideal, ideas, jar, law, lay, lead, leaf, leap, least, leave, led, lees, left, leg, legs, lent, leper, less, lest, let, mean, meat, near, oar, Ocean, Opera, over, peak, pearl, per, plat, pleas, read, Read, real, rear, sea, Sea, seat, sheer, slab, sleep, solar, speak, star, steam, sugar, swear, swears, sweat, tean, tears, their, vulgar, war, year, years, zeal
acid, aid, aim, air, an, ance, and, animae, animal, Anna, ant, anti, ants, anvil, any, axis, Baba, bank, banks, basin, cabin, can, canal, Cane, canvas, dance, Danzig, data, Denis, fa, face, faced, faces, facet, facing, fact, facts, fading, faIt, faith, fake, fall, falls, false, family, fan, fans, far, fat, fate, fauns, favor, final, find, finds, fine, finer, fins, flint, fluid, foil, francs, fruit, gain, habit, hair, hand, hands, india, Jane, Janus, Kaka, Kantian, laid, lance, land, lanes, Latin, lava, mail, main, Man, man, many, nadir, nail, nib, nil, pair, pan, Pan, Papio, papio, Paris, rang, range, rapid, said, sail, Saint, saliva, San, sand, sang, sonic, tail, Tait, Tanit, tunic, unit, vain, valid, van, vanish, vanity, vans, vina, Yan
abyss, Across, across, acts, adds, Alas, almost, also, among, amor, amore, amour, ants, apes, arms, arose, as, As, ash, ask, ass, axis, bars, base, bases, beds, best, bis, blows, Boat, boat, boats, body, bolus, bone, bones, book, books, boot, boots, bores, born, Bosse, both, bout, bow, bowl, bows, box, boy, Boys, brass, brows, bust, case, cases, cash, cast, chose, clogs, close, co, coast, coats, Code, coins, cold, come, comes, cool, copy, cords, cost, Cost, costs, cows, crass, cross, cuIs, cups, days, demons, Deus, disk, disks, Do, do, does, dogs, dome, domos, done, door, doors, douds, down, Down, dress, drops, dust, ears, ease, easy, eats, eggs, ells, else, ends, Eros, ess, est, eyes, fans, fess, fins, fish, fist, fists, foam, fog, foil, folds, foot, For, for, fore, fork, Form, form, forms, fotms, foul, four, fox, foxes, Ghost, ghosts, glass, glows, go, God, gods, goes, Gog, Gogh, gold, Gold, gong, good, goods, gown, gowns, grass, hams, has, hast, His, his, ho, Ho, holds, holes, Holy, home, Homo, hoof, hooks, hope, horn, horns, Horse, horse, horses, host, hot, hour, Hour, hours, house, houses, how, How, humors, hums, ikons, iris, irs, is, Is, Its, its, jaws, Jesus, jibs, job, John, jowls, joy, Just, just, kiosks, kiss, knows, last, laws, Lays, lees, legs, less, lest, lies, lions, lips, Lo, lobe, loins, Long, long, looks, Lord, lord, lords, lore, lose, loss, lost, Loti, lots, loud, louse, Love, love, loves, low, Loye, m, made, mail, main, make, makes, male, man, many, map, maps, mask, mass, masses, mast, masts, may, me, mean, means, meat, meet, men, mere, mesh, meshes, met, milk, mimes, mist, mite, mites, mob, moist, moles, month, months, moon, mor, more, Moses, most, motor, mount, Mour, mouth, mouths, moved, mower, Mrs, much, music, must, Must, my, nest, news, nisi, no, No, noise, non, none, noon, Nor, nor, nos, nose, Not, not, note, now, Now, nuts, o, oak, oar, oars, oc, odd, of, off, ofQ, oil, old, on, one, ones, or, orb, orms, our, out, own, pass, past, pigs, piss, Plus, Poe, poets, pole, poles, ponds, Poor, poor, pope, port, Pour, prose, Prose, rats, rays, rest, rise, rises, road, robe, robes, rock, rocks, rod, Roi, role, roll, rolls, rome, roof, room, rooms, root, rope, ropes, rose, rosy, row, rows, s, says, sc, sets, shops, smock, smoke, So, so, soft, sole, Some, some, son, songs, sons, soon, Soon, sorb, soul, souls, sows, sums, suns, tats, This, this, those, Thus, thus, tjis, to, To, toad, toads, tock, toes, told, tome, tone, toO, too, took, top, tops, tore, torn, tossed, Town, town, Tres, tres, ups, us, use, vans, vast, Was, was, wash, wasps, webs, whose, wigs, Woan, won, wont, wood, word, words, wore, Work, work, Works, works, worm, worn, wove, Yes, yolk, York, you, You, your, Your
[
Synset('clear.n.01'), Synset('open.n.01'), Synset('unclutter.v.01'),
Synset('clear.v.02'), Synset('clear_up.v.04'), Synset('authorize.v.01'),
Synset('clear.v.05'), Synset('pass.v.09'), Synset('clear.v.07'),
Synset('clear.v.08'), Synset('clear.v.09'), Synset('clear.v.10'),
Synset('clear.v.11'), Synset('clear.v.12'), Synset('net.v.02'),
Synset('net.v.01'), Synset('gain.v.08'), Synset('clear.v.16'),
Synset('clear.v.17'), Synset('acquit.v.01'), Synset('clear.v.19'),
Synset('clear.v.20'), Synset('clear.v.21'), Synset('clear.v.22'),
Synset('clear.v.23'), Synset('clear.v.24'), Synset('clear.a.01'),
Synset('clear.s.02'), Synset('clear.s.03'), Synset('clear.a.04'),
Synset('clear.s.05'), Synset('clear.s.06'), Synset('clean.s.03'),
Synset('clear.s.08'), Synset('clear.s.09'), Synset('well-defined.a.02'),
Synset('clear.a.11'), Synset('clean.s.02'), Synset('clear.s.13'),
Synset('clear.s.14'), Synset('clear.s.15'), Synset('absolved.s.01'),
Synset('clear.s.17'), Synset('clear.r.01'), Synset('clearly.r.04')
]
synset item:clear.n.01
synset item:open.n.01
synset item:unclutter.v.01
antonym out:clutter
antonym in:clutter
synset item:clear.v.02
synset item:clear_up.v.04
antonym out:overcast
antonym in:overcast
synset item:authorize.v.01
synset item:clear.v.05
synset item:pass.v.09
synset item:clear.v.07
antonym out:bounce
antonym in:bounce
synset item:clear.v.08
synset item:clear.v.09
synset item:clear.v.10
synset item:clear.v.11
synset item:clear.v.12
synset item:net.v.02
synset item:net.v.01
synset item:gain.v.08
synset item:clear.v.16
synset item:clear.v.17
synset item:acquit.v.01
antonym out:convict
antonym in:convict
synset item:clear.v.19
synset item:clear.v.20
synset item:clear.v.21
synset item:clear.v.22
synset item:clear.v.23
synset item:clear.v.24
synset item:clear.a.01
antonym out:unclear
antonym in:unclear
synset item:clear.s.02
synset item:clear.s.03
synset item:clear.a.04
antonym out:opaque
antonym in:opaque
synset item:clear.s.05
synset item:clear.s.06
synset item:clean.s.03
synset item:clear.s.08
synset item:clear.s.09
synset item:well-defined.a.02
antonym out:ill-defined
antonym in:ill-defined
synset item:clear.a.11
antonym out:cloudy
antonym in:cloudy
synset item:clean.s.02
synset item:clear.s.13
synset item:clear.s.14
synset item:clear.s.15
synset item:absolved.s.01
synset item:clear.s.17
synset item:clear.r.01
synset item:clearly.r.04
[
Synset('clear.n.01'), Synset('open.n.01'), Synset('unclutter.v.01'),
Synset('clear.v.02'), Synset('clear\_up.v.04'), Synset('authorize.v.01'),
Synset('clear.v.05'), Synset('pass.v.09'), Synset('clear.v.07'),
Synset('clear.v.08'), Synset('clear.v.09'), Synset('clear.v.10'),
Synset('clear.v.11'), Synset('clear.v.12'), Synset('net.v.02'),
Synset('net.v.01'), Synset('gain.v.08'), Synset('clear.v.16'),
Synset('clear.v.17'), Synset('acquit.v.01'), Synset('clear.v.19'),
Synset('clear.v.20'), Synset('clear.v.21'), Synset('clear.v.22'),
Synset('clear.v.23'), Synset('clear.v.24'), Synset('clear.a.01'),
Synset('clear.s.02'), Synset('clear.s.03'), Synset('clear.a.04'),
Synset('clear.s.05'), Synset('clear.s.06'), Synset('clean.s.03'),
Synset('clear.s.08'), Synset('clear.s.09'), Synset('well-defined.a.02'),
Synset('clear.a.11'), Synset('clean.s.02'), Synset('clear.s.13'),
Synset('clear.s.14'), Synset('clear.s.15'), Synset('absolved.s.01'),
Synset('clear.s.17'), Synset('clear.r.01'), Synset('clearly.r.04')
]
Step (2) then retrieves related terms. First it gets hypernyms.
synset: clear.n.01
hyponyms: ---
hypernyms: innocence
holonyms: ---
synset: open.n.01
hyponyms: ---
hypernyms: area, country
holonyms: ---
synset: unclutter.v.01
hyponyms: ---
hypernyms: change, alter, modify
holonyms: ---
synset: clear.v.02
hyponyms: ---
hypernyms: make, create
holonyms: ---
synset: clear\_up.v.04
hyponyms: ---
hypernyms: ---
holonyms: ---
synset: authorize.v.01
hyponyms: approbate, approve, O.K., okay, sanction, certificate, commission, declare, license, certify, validate, formalise
hypernyms: permit, allow, let, countenance
holonyms: ---
synset: clear.v.05
hyponyms: clear-cut, deforest, disafforest, denude, bare, denudate, strip, stump
hypernyms: remove, take, take\_away, withdraw
holonyms: ---
synset: pass.v.09
hyponyms: clear
hypernyms: succeed, win, come\_through, bring\_home\_the\_bacon, deliver\_the\_goods
holonyms: ---
synset: clear.v.07
hyponyms: ---
hypernyms: ---
holonyms: ---
synset: clear.v.08
hyponyms: ---
hypernyms: vanish, disappear, go\_away
holonyms: ---
synset: clear.v.09
hyponyms: hop
hypernyms: pass, overtake, overhaul
holonyms: ---
synset: clear.v.10
hyponyms: ---
hypernyms: clarify, clear\_up, elucidate
holonyms: ---
synset: clear.v.11
hyponyms: ---
hypernyms: free, discharge
holonyms: ---
synset: clear.v.12
hyponyms: ---
hypernyms: rid, free, disembarass
holonyms: ---
synset: net.v.02
hyponyms: ---
hypernyms: yield, pay, bear
holonyms: ---
synset: net.v.01
hyponyms: ---
hypernyms: profit, gain, benefit
holonyms: ---
synset: gain.v.08
hyponyms: eke\_out, squeeze\_out, gross, profit, turn\_a\_profit, rake\_in, shovel\_in, rake\_off, take\_home, bring\_home, yield, pay, bear
hypernyms: get, acquire
holonyms: ---
synset: clear.v.16
hyponyms: ---
hypernyms: sell
holonyms: ---
synset: clear.v.17
hyponyms: ---
hypernyms: pass, clear
holonyms: ---
synset: acquit.v.01
hyponyms: ---
hyponyms: purge, vindicate, whitewash, pronounce, label, judge
holonyms: ---
synset: clear.v.19
hyponyms: ---
hypernyms: settle, square\_off, square\_up, determine
holonyms: ---
synset item:clear.v.20
hyponyms: ---
hypernyms: change, alter, modify
holonyms: ---
synset item:clear.v.21
hyponyms: ---
hypernyms: empty
holonyms: ---
synset item:clear.v.22
hyponyms: ---
hypernym out:take\_out, move\_out, remove
holonyms: ---
synset item:clear.v.23
hyponyms: ---
hypernym out:empty
holonyms: ---
synset item:clear.v.24
hyponyms: ---
hypernym out:remove, take, take\_away, withdraw
holonyms: ---
synset item:clear.a.01
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.02
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.03
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.a.04
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.05
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.06
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clean.s.03
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.08
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.09
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:well-defined.a.02
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.a.11
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clean.s.02
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.13
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.14
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.15
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:absolved.s.01
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.s.17
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clear.r.01
hyponyms: ---
hypernyms: ---
holonyms: ---
synset item:clearly.r.04
hyponyms: ---
hypernyms: ---
holonyms: ---
synset: clear.n.01
hypernyms: innocence
synset: open.n.01
hypernyms: area, country
synset: unclutter.v.01
hypernyms: change, alter, modify
synset: clear.v.02
hypernyms: make, create
synset: authorize.v.01
hyponyms: approbate, approve, O.K., okay, sanction, certificate, commission, declare, license, certify, validate, formalise
hypernyms: permit, allow, let, countenance
synset: clear.v.05
hyponyms: clear-cut, deforest, disafforest, denude, bare, denudate, strip, stump
hypernyms: remove, take, take\_away, withdraw
synset: pass.v.09
hyponyms: clear
hypernyms: succeed, win, come\_through, bring\_home\_the\_bacon, deliver\_the\_goods
synset: clear.v.08
hypernyms: vanish, disappear, go\_away
synset: clear.v.09
hyponyms: hop
hypernyms: pass, overtake, overhaul
synset: clear.v.10
hypernyms: clarify, clear\_up, elucidate
synset: clear.v.11
hypernyms: free, discharge
synset: clear.v.12
hypernyms: rid, free, disembarass
synset: net.v.02
hypernyms: yield, pay, bear
synset: net.v.01
hypernyms: profit, gain, benefit
synset: gain.v.08
hyponyms: eke\_out, squeeze\_out, gross, profit, turn\_a\_profit, rake\_in, shovel\_in, rake\_off, take\_home, bring\_home, yield, pay, bear
hypernyms: get, acquire
synset: clear.v.16
hypernyms: sell
synset: clear.v.17
hypernyms: pass, clear
synset: acquit.v.01
hyponyms: purge, vindicate, whitewash, pronounce, label, judge
synset: clear.v.19
hypernyms: settle, square\_off, square\_up, determine
synset: clear.v.20
hypernyms: change, alter, modify
synset: clear.v.21
hypernyms: empty
synset: clear.v.22
hypernyms: take\_out, move\_out, remove
synset: clear.v.23
hypernyms: empty
synset: clear.v.24
hypernyms: remove, take, take\_away, withdraw
[
Synset('clear.n.01'), Synset('open.n.01'), Synset('unclutter.v.01'),
Synset('clear.v.02'), Synset('clear_up.v.04'), Synset('authorize.v.01'),
Synset('clear.v.05'), Synset('pass.v.09'), Synset('clear.v.07'),
Synset('clear.v.08'), Synset('clear.v.09'), Synset('clear.v.10'),
Synset('clear.v.11'), Synset('clear.v.12'), Synset('net.v.02'),
Synset('net.v.01'), Synset('gain.v.08'), Synset('clear.v.16'),
Synset('clear.v.17'), Synset('acquit.v.01'), Synset('clear.v.19'),
Synset('clear.v.20'), Synset('clear.v.21'), Synset('clear.v.22'),
Synset('clear.v.23'), Synset('clear.v.24'), Synset('clear.a.01'),
Synset('clear.s.02'), Synset('clear.s.03'), Synset('clear.a.04'),
Synset('clear.s.05'), Synset('clear.s.06'), Synset('clean.s.03'),
Synset('clear.s.08'), Synset('clear.s.09'), Synset('well-defined.a.02'),
Synset('clear.a.11'), Synset('clean.s.02'), Synset('clear.s.13'),
Synset('clear.s.14'), Synset('clear.s.15'), Synset('absolved.s.01'),
Synset('clear.s.17'), Synset('clear.r.01'), Synset('clearly.r.04')
]
synset item:clear.n.01
hypernym out:innocence
[]
synset item:open.n.01
hypernym out:area
hypernym out:country
hypernym in:country
[]
synset item:unclutter.v.01
hypernym out:change
hypernym in:change
hypernym out:alter
hypernym out:modify
[]
synset item:clear.v.02
hypernym out:make
hypernym in:make
hypernym out:create
[]
synset item:clear_up.v.04
[]
synset item:authorize.v.01
hyponym out:approbate
hyponym out:approve
hyponym out:O.K.
hyponym out:okay
hyponym out:sanction
hyponym out:certificate
hyponym in:certificate
hyponym out:commission
hyponym out:declare
hyponym in:declare
hyponym out:license
hyponym out:licence
hyponym out:certify
hyponym out:validate
hyponym out:formalize
hyponym out:formalise
hypernym out:permit
hypernym in:permit
hypernym out:allow
hypernym in:allow
hypernym out:let
hypernym in:let
hypernym out:countenance
hypernym in:countenance
[]
synset item:clear.v.05
hyponym out:clear-cut
hyponym out:deforest
hyponym out:disforest
hyponym out:disafforest
hyponym out:denude
hyponym out:bare
hyponym in:bare
hyponym out:denudate
hyponym out:strip
hyponym out:stump
hypernym out:remove
hypernym out:take
hypernym in:take
hypernym out:take_away
hypernym out:withdraw
[]
synset item:pass.v.09
hyponym out:clear
hyponym in:clear
hypernym out:succeed
hypernym in:succeed
hypernym out:win
hypernym out:come_through
hypernym out:bring_home_the_bacon
hypernym out:deliver_the_goods
[]
synset item:clear.v.07
[]
synset item:clear.v.08
hypernym out:vanish
hypernym in:vanish
hypernym out:disappear
hypernym out:go_away
[]
synset item:clear.v.09
hyponym out:hop
hypernym out:pass
hypernym in:pass
hypernym out:overtake
hypernym out:overhaul
[]
synset item:clear.v.10
hypernym out:clarify
hypernym out:clear_up
hypernym out:elucidate
[]
synset item:clear.v.11
hypernym out:free
hypernym in:free
hypernym out:discharge
[]
synset item:clear.v.12
hypernym out:rid
hypernym out:free
hypernym in:free
hypernym out:disembarrass
[]
synset item:net.v.02
hypernym out:yield
hypernym out:pay
hypernym in:pay
hypernym out:bear
[]
synset item:net.v.01
hypernym out:profit
hypernym out:gain
hypernym in:gain
hypernym out:benefit
hypernym in:benefit
[]
synset item:gain.v.08
hyponym out:eke_out
hyponym out:squeeze_out
hyponym out:gross
hyponym out:profit
hyponym out:turn_a_profit
hyponym out:rake_in
hyponym out:shovel_in
hyponym out:rake_off
hyponym out:take_home
hyponym out:bring_home
hyponym out:yield
hyponym out:pay
hyponym in:pay
hyponym out:bear
hypernym out:get
hypernym out:acquire
[]
synset item:clear.v.16
hypernym out:sell
[]
synset item:clear.v.17
hypernym out:pass
hypernym in:pass
hypernym out:clear
hypernym in:clear
[]
synset item:acquit.v.01
hyponym out:purge
hyponym out:vindicate
hyponym out:whitewash
hypernym out:pronounce
hypernym in:pronounce
hypernym out:label
hypernym out:judge
hypernym in:judge
[]
synset item:clear.v.19
hypernym out:settle
hypernym out:square_off
hypernym out:square_up
hypernym out:determine
hypernym in:determine
[]
synset item:clear.v.20
hypernym out:change
hypernym in:change
hypernym out:alter
hypernym out:modify
[]
synset item:clear.v.21
hypernym out:empty
hypernym in:empty
[]
synset item:clear.v.22
hypernym out:take_out
hypernym out:move_out
hypernym out:remove
[]
synset item:clear.v.23
hypernym out:empty
hypernym in:empty
[]
synset item:clear.v.24
hypernym out:remove
hypernym out:take
hypernym in:take
hypernym out:take_away
hypernym out:withdraw
[]
synset item:clear.a.01
[]
synset item:clear.s.02
[]
synset item:clear.s.03
[]
synset item:clear.a.04
[]
synset item:clear.s.05
[]
synset item:clear.s.06
[]
synset item:clean.s.03
[]
synset item:clear.s.08
[]
synset item:clear.s.09
[]
synset item:well-defined.a.02
[]
synset item:clear.a.11
[]
synset item:clean.s.02
[]
synset item:clear.s.13
[]
synset item:clear.s.14
[]
synset item:clear.s.15
[]
synset item:absolved.s.01
[]
synset item:clear.s.17
[]
synset item:clear.r.01
[]
synset item:clearly.r.04
[]
{"d": { "results": [
{ "__metadata":
{ "uri": "https://api.datamarket.azure.com/Data.ashx/Bing/Search/Image?Query=\u0027kittens\u0027&$skip=0&$top=1",
"type": "ImageResult"
},
"ID": "e09072a2-faf3-47ac-b77d-46a8df8941aa",
"Title": "Cute Kittens - Pictures - The Wondrous Pics",
"MediaUrl": "http://wondrouspics.com/wp-content/uploads/2011/12/Cute-Kitten2.jpg",
"SourceUrl": "http://wondrouspics.com/cute-kittens-pictures/",
"DisplayUrl": "wondrouspics.com/cute-kittens-pictures",
"Width": "1440",
"Height": "900",
"FileSize": "238015",
"ContentType": "image/jpeg",
"Thumbnail":
{ "__metadata":
{ "type": "Bing.Thumbnail"
},
"MediaUrl": "http://ts2.mm.bing.net/th?id=OIP.M5692e5d79242507e30600fd54639316cH0&pid=15.1",
"ContentType": "image/jpg",
"Width": "480",
"Height": "300",
"FileSize": "13856"
}
},
],
"__next": "https://api.datamarket.azure.com/Data.ashx/Bing/Search/Image?Query=\u0027kittens\u0027&$skip=50"
}}
def getrandquote():
root_path = os.path.dirname(os.path.abspath(__file__))
root_path = root_path[:-4]
corpus_root = root_path + '/app/static/corpus'
path_b = corpus_root + '/quotes.txt'
quotes_text = codecs.open(path_b, "r", encoding='utf-8')
quotestext = quotes_text.readlines()
quotes_text.close()
return random.choice(quotestext)
i, me, my, myself, we, our, ours, ourselves, yo, your, yours, yourself, yourselves, he, him, his, himself, she, her, hers, herself, it, its, itself, they, them, their, theirs, themselves, what, which, who, whom, this, that, these, those, am, is, are, was, were, be, been, being, have, has, had, having, do, does, did, doing, a, an, the, and, but, if, or, because, as, until, while, of, at, by, for, with, about, against, between, into, through, during, before, after, above, below, to, from, up, down, in, out, on, off, over, under, again, further, then, once, here, there, when, where, why, how, all, any, both, each, few, more, most, other, some, such, no, nor, not, only, own, same, so, than, too, very, s, t, can, will, just, don, should, now
a, aux, avec, ce, ces, dans, de, des, d, elle, en, et, eux, il, je, la, le, leur, lui, ma, mais, me, même, mes, moi, mon, ne, nos, notre, nous, on, o, par, pas, pour, q, que, qui, sa, se, ses, son, sur, ta, te, tes, toi, ton, t, un, une, vos, votre, vous, été, étée, étées, étés, étant, étante, étants, étantes, suis, es, est, sommes, êtes, sont, serai, seras, sera, serons, serez, seront, serais, serait, serions, seriez, seraient, étais, était, étions, étiez, étaient, fus, fut, fûmes, fûtes, furent, sois, soit, soyons, soyez, soient, fusse, fusses, fût, fussions, fussiez, fussent, ayant, ayante, ayantes, ayants, e, eue, eues, eus, ai, as, avons, avez, ont, aurai, auras, aura, aurons, aurez, auront, aurais, aurait, aurions, auriez, auraient, avais, avait, avions, aviez, avaient, eut, eûmes, eûtes, eurent, aie, aies, ait, ayons, ayez, aient, eusse, eusses, eût, eussions, eussiez, eussent
aber, alle, allem, allen, aller, alles, als, also, am, an, ander, andere, anderem, anderen, anderer, anderes, anderm, andern, anderr, anders, auch, auf, aus, bei, bin, bis, bist, da, damit, dann, der, den, des, dem, die, das, daß, derselbe, derselben, denselben, desselben, demselben, dieselbe, dieselben, dasselbe, daz, dein, deine, deinem, deinen, deiner, deines, denn, derer, dessen, dich, dir, d, dies, diese, diesem, diesen, dieser, dieses, doch, dort, durch, ein, eine, einem, einen, einer, eines, einig, einige, einigem, einigen, einiger, einiges, einmal, er, ihn, ihm, es, etwas, euer, eure, eurem, euren, eurer, eures, für, gegen, gewesen, hab, habe, haben, hat, hatte, hatten, hier, hin, hinter, ich, mich, mir, ihr, ihre, ihrem, ihren, ihrer, ihres, euch, im, in, indem, ins, ist, jede, jedem, jeden, jeder, jedes, jene, jenem, jenen, jener, jenes, jetzt, kann, kein, keine, keinem, keinen, keiner, keines, können, könnte, machen, man, manche, manchem, manchen, mancher, manches, mein, meine, meinem, meinen, meiner, meines, mit, muss, musste, nach, nicht, nichts, noch, nun, nur, ob, oder, ohne, sehr, sein, seine, seinem, seinen, seiner, seines, selbst, sich, sie, ihnen, sind, so, solche, solchem, solchen, solcher, solches, soll, sollte, sondern, sonst, über, um, und, uns, unse, unsem, unsen, unser, unses, unter, viel, vom, von, vor, während, war, waren, warst, was, weg, weil, weiter, welche, welchem, welchen, welcher, welches, wenn, werde, werden, wie, wieder, will, wir, wird, wirst, wo, wollen, wollte, würde, würden, z, zum, zur, zwar, zwischen
function createSpiral(imglist){
if (imglist.length === 10){
var spiral_code = ' \
<div class="spouter"> \
<div class="spleft"> \
<div class="spltop"> \
<div class="spltleft"> \
<a id="a3" class="spimg" href="'+imglist[3][2]+'" ><img id="img3" src="'+imglist[3][1]+'" title="'+imglist[3][0]+' --- '+imglist[3][3]+'" height="210" width="210"/></a> \
</div> \
<div class="spltright"> \
<div class="spltrtop"> \
<a id="a8" class="spimg" href="'+imglist[8][2]+'" ><img id="img8" src="'+imglist[8][1]+'" title="'+imglist[8][0]+'" height="130" width="130"/></a> \
</div> \
<div class="spltrbottom"> \
<div class="spltrbleft"> \
<div class="spltrbltop"> \
<div class="spltrbltleft"> \
<a id="a0" class="spimg" href="'+imglist[0][2]+'" ><img id="img0" src="'+imglist[0][1]+'" title="'+imglist[0][0]+'" height="30" width="30"/></a> \
</div> \
<div class="spltrbltright"> \
<div class="spltrbltrtop"> \
<a id="a1" class="spimg" href="'+imglist[1][2]+'" ><img id="img1" src="'+imglist[1][1]+'" title="'+imglist[1][0]+'" height="20" width="20"/></a> \
</div> \
<div class="spltrbltrbottom"> \
<div class="spltrbltrbleft"> \
<a id="a5" class="spimg" href="'+imglist[5][2]+'" ><img id="img5" src="'+imglist[5][1]+'" title="'+imglist[5][0]+'" height="10" width="10"/></a> \
</div> \
<div class="spltrbltrbright"> \
<a id="a6" class="spimg" href="'+imglist[6][2]+'" ><img id="img6" src="'+imglist[6][1]+'" title="'+imglist[6][0]+'" height="10" width="10"/></a> \
</div> \
</div> \
</div> \
</div> \
<div class="spltrblbottom"> \
<a id="a7" class="spimg" href="'+imglist[7][2]+'" ><img id="img7" src="'+imglist[7][1]+'" title="'+imglist[7][0]+'" height="50" width="50"/></a> \
</div> \
</div> \
<div class="spltrbright"> \
<a id="a2" class="spimg" href="'+imglist[2][2]+'" ><img id="img2" src="'+imglist[2][1]+'" title="'+imglist[2][0]+'" height="80" width="80"/></a> \
</div> \
</div> \
</div> \
</div> \
<div class="splbottom"> \
<a id="a9" class="spimg" href="'+imglist[9][2]+'" ><img id="img9" src="'+imglist[9][1]+'" title="'+imglist[9][0]+'" height="340" width="340"/></a> \
</div> \
</div> \
<div class="spright"> \
<a id="a4" class="spimg" href="'+imglist[4][2]+'" ><img id="img4" src="'+imglist[4][1]+'" title="'+imglist[4][0]+'" height="550" width="550"/></a> \
</div> \
</div> \
';
var list_code = [];
for (i in imglist) {
var img = ' \
<div class="w3-col s12 m6 l3 w3-padding"> \
<a href="'+imglist[i][2]+'"> \
<img src="'+imglist[i][1]+'" \
title="'+imglist[i][0]+'" style="width:100%"> \
</a> \
</div> \
';
list_code.push(img);
} // end for
$('#img_spiral_div').html(spiral_code);
$('#img_list_div').html(list_code);
} // end if
else{
// console.log("inside else");
$('.img_empty').wrap("<div>Not enough results found.</div>");
} // end else
}