Shakespearean Rhymes

Rhyme a word

Write a sonnet

Create a Net

About Shakespearean Rhymes

Rhyme a word

This program, when given one of over 1,000 unique words, returns a line of iambic pentameter that rhymes with the given word. The program uses all 152 of Shakespeare's complete sonnets to generate these lines, as sonnets have a strict meter and rhyme scheme. The sonnets, as part of the public domain, are available at

The program has two arrays that hold the data: "sonnets" and "end_rhymes". The "sonnets" array holds each sonnet as an array of fourteen strings, while the "end_rhymes" array holds the last word of each line of each sonnet. First, the program takes the given word and runs it through the "end_rhymes" array to find the index of the word. This is the same index as the corresponding sonnet in the "sonnets" array. From there, the program uses a series of loops to determine the correct line to rhyme with, given the sonnet's strictly defined rhyme scheme. It proudly displays this rhyming line.

Create a sonnet

Using the same data as the word-rhyming program, this program generates an entire sonnet by combining existing lines of Shakespeare's poetry. Using the rhyming line program, it creates poems where the lines that rhyme are not necessarily from the same poem.

The program takes seven random words from the "end_rhymes" array and matches rhyming lines. It then matches the last word of each of these lines to generate a second list of seven lines. It combines these lists into the structure of a sonnet to complete the poem.

Create a "net"

Enter a number (sonnets numbered in accordance with Folger Shakespeare's Sonnets and Poems) to create a randomized "net" of a few words (usually between 3 to 7) from that sonnet.

Recognized words for end rhyme

a-doting, abhor, abide, about, above, abuse, abused, accident, accidents, account, accumulate, achieve, acquainted, adieu, admire, advance, advocate, afford, affords, afloat, after-loss, again, age, aid, air, alack, alchemy, alive, all, allay'd, allow, alone, amazeth, amends, amiss, anew, annoy, anon, another, anticipate, antiquity, any, appear, appetite, approve, are, argument, aright, arise, arising, array, arrest, art, aside, asleep, aspect, assailed, assemble, assured, astonished, astronomy, attainted, authority, awake, away, back, bad, bail, bait, bar, bark, bars, be, bear, beard, bearing, beck, bed, been, befits, before, begin, beguiled, behind, behold, being, belied, bell, belong, belongs, beloved, bent, bereft, beside, best, bestowest, betray, better, bevel, bide, bind, black, blame, blest, blind, blindness, blood, blot, boast, boat, bold, book, born, both, bough, bow, bower, brain, brand, break, breast, breath, bred, breeds, bright, bring, brings, broken, brood, brought, brow, bud, buried, burn, burn'd, by, call, calls, can, canopy, car, carcanet, care, case, catch, cause, cease, change, character, charged, chary, chase, cheek, cheeks, cheer, cheque, cherish, chest, chide, chief, child, chips, choose, clay, clear, clearer, clears, cloak, cold, come, commence, commend, comment, commits, committed, compare, compile, compiled, complain, confined, confound, confounds, conspire, constancy, contain, contains, contend, content, contents, control, controlling, convert, convertest, correction, cost, counterfeit, cover, crave, created, creature, cries, crime, cross, cross'd, crown'd, cruel, cry, cup, cure, cured, curse, date, day, days, dead, dear, dearer, dearly, dearth, death, debate, debt, decay, decay, decay'd, decays, decease, deceased, deceive, deceived, deceivest, declines, decrease, decree, deeds, deem, deem'd, deface, defaced, defeat, defeated, defect, defects, defence, define, defy, delight, delighted, denied, denote, deny, depart, departest, depend, depends, derive, desert, deserts, deserving, desire, desired, despair, despise, despised, despising, determinate, determined, devil, devise, devised, dial-hand, die, difference, dignified, dignity, dimm'd, directed, disabled, disarm'd, discloses, discontent, disdain, disdaineth, disease, disgrace, disgraced, dispatch, dispense, disperse, distill'd, divine, do, done, doom, dote, doubt, down, down-razed, dream, drink, dross, due, dullness, dumb, dun, dwell, dwells, dye, dyed, ear, earth, east, edge, effect, eloquence, elsewhere, embassage, enclose, end, endure, endured, enemies, engross'd, enlarged, enmity, equipage, erred, esteem, esteem'd, esteeming, estimate, eternity, even, evident, evil, exceed, exceeds, excel, excellence, excellent, except, excess, exchanged, excuse, expense, expiate, expire, expired, express, express'd, extreme, eye, eyed, eyes, face, faces, fade, fair, fall, falls, fame, fashion, fate, fault, favour, fear, fears, feast, feature, fee, feeding, feel, fever, field, fiend, fight, filed, fill, find, finds, fire, fits, fitted, fix'd, flatter, flattery, fled, fleets, flow, flower, flowers, fly, foes, foil'd, forbear, forbid, force, foregone, forgot, forgotten, forsake, forsaken, forsworn, forth, fortify, found, frame, free, friend, frown, fruit, fuel, fulfil, fullness, gain, gains, gait, gaol, gate, gather'd, gay, gazeth, gems, ghost, give, glad, gladly, glass, glory, go, gone, good, got, grace, graces, gracious, granting, grave, gravity, great, greater, green, greet, grew, grief, grind, groan, ground, grow, growest, growing, grows, growth, guard, guest, had, hair, halt, hand, hang, haste, hate, have, head, heart, hearts, heaven, heir, held, hell, hems, hence, her, herd, here, heretic, hid, hide, hill, him, his, history, hits, hold, honouring, hooks, hope, horse, hour, hours, how, hue, husbandry, idolatry, ignorance, ill, impanneled, impart, impiety, impute, incertainty, increase, indeed, indigest, infection, inhearse, iniquity, injuries, injury, intelligence, intents, interest, intermix'd, invent, invited, invocate, is, it, jade, jaws, jealousy, jewel, jollity, joy, keen, keep, kept, key, kill, kind, kindness, king, kings, kiss, knife, knights, knit, know, knowing, knows, lack, land, last, latch, laws, lay, lays, leap, lease, least, leave, leaves, left, legacy, leisure, lend, less, level, liberty, lie, lies, life, light, line, lips, live, loan, long, longer, look, looks, lose, loss, lost, love, love, love., loved, lover, loving, luck, lust, mad, made, main, maintain, majesty, make, making, man, many, mark, masonry, matter, may, may, me, measure, meet, meetness, melancholy, memory, men, mend, merit, might, mind, minds, mine, misplaced, miss'd, mistaking, moan, moment, monument, monuments, more, morn, morrow, most, mother, move, moving, mow, mud, muse, mute, name, near, nearly, need, needing, never, new, new-fired, niggarding, night, none, none., noon, not, note, nothing, nought, now, o'er, o'er-read, o'er-worn, o'erlook, offence, old, on, one, open, oppress'd, ordering, ornament, ornaments, other, out, outworn, overplus, overthrow, overturn, owe, owest, own, pace, page, pain, painted, part, partake, parts, pass, passion, past, paws, pay, pen, perceived, perish, perjured, perpetual, pilgrimage, place, play, play'st, plea, please, pleasure, plight, plot, pluck, politic, possess'd, possessing, posterity, poverty, power, praise, prefiguring, prepare, presage, press, prevailed, pride, prime, privilege, proceed, proceeds, prognosticate, prone, prophecies, prove, proved, provide, pry, purge, qualify, quality, queen, quill, quite, race, rage, ranged, rare, re-survey, read, reap, reason, receivest, recite, recompense, recured, red, redeem, reeks, refusest, register, rehearse, reign, reign'd, releasing, relief, remain, remains, remedy, remember'd, remembered, remove, removed, renew'd, renewest, rent, rents, repair, repay, report, reproving, require, resemble, resort, respect, respects, rest, review, rhyme, ride, right, rite, rolling, room, rose, roses, rotten, ruinate, ruining, ruminate, sad, sadly, said, sake, same, sang, savour, say, scope, score, scorn, sea, see, seeing, seek, seem, seeming, seen, self-kill'd, sell, sense, set, shade, shaken, shame, sheaves, sheds, shine, shines, shore, short, show, showers, shown, shows, side, sight, simplicity, sin, sing, sit, sits, skill, sky, slain, slave, slide, slow, smell, smells, smoke, smother, so, society, son, song, sorrow, sort, sought, soul, sound, sounds, sour, spacious, speak, speed, spend, spent, spies, spirit, spite, sport, spread, spring, stage, stain, stain'd, staineth, stand, stars, state, stay, steel, steep, stell'd, still, stone, store, story, stout, straight, strange, strife, strive, strong, stronger, strumpeted, style, subdued, subscribes, subsist, subtleties, sufficed, sum, sun, suppose, suppress'd, surmount, survey, suspect, sway, sway'st, swear, swearing, sweet, sweetness, sweets, swerving, sympathized, take, taken, taste, tear, tears, tell, temperate, tend, tender'd, thee, then, thence, there, thereby, they, thief, thine, thing, things, think, this, those, thought, thrall, threw, thrive, thrust, thus, tied, time, time, tired, toil'd, told, tomb, tongue, too, took, torn, transferr'd, translate, treason, treasure, tribes, trim, true, trust, truth, turn'd, twain, tyranny, unbred, unfather'd, unjust, unprovident, unrespected, unrest, unseen, unset, untold, untrimm'd, untrue, up, uphold, upon, uprear, urge, use, used, usest, usury, vassalage, veins, verse, view, viewest, wanting, wantonly, wantonness, war, ward, warm'd, wary, was, waste, way, wear, weed, weeds, weeks, weep, well, were, west, where, white, why, wide, wife, wights, wilful-slow, will, win, wind, winds, wing, wit, within, woe, womb, won, word, words, worse, worth, writ, write, wrong, wrongs, wrought, ye, year, yore, you, you., young, youth