rhymers-gonna-rhyme.art

May 31st, 2012

I figured a (semi-manual) way to get emacs to sort some lines by rhymes:

Show Original

haters gonna hate
gaters gonna gate
laters gonna late
maters gonna mate
skaters gonna skate
baiters gonna bait
plaiters gonna plait
straiters gonna strait
waiters gonna wait
straighters gonna straight
eighters gonna eight
craters gonna crate
stators gonna state
graters gonna grate
raters gonna rate
freighters gonna freight
gaiters gonna gait
gators gonna gate
greaters gonna great
praters gonna prate
straighters gonna straight
traitors gonna trait
vapers gonna vape
bakers gonna bake
shakers gonna shake
drapers gonna drape
rakers gonna rake
scrapers gonna scrape
quakers gonna quake

Show Sorted

bakers gonna bake
shakers gonna shake
rakers gonna rake
quakers gonna quake
scrapers gonna scrape
drapers gonna drape
vapers gonna vape
gaters gonna gate
gators gonna gate
haters gonna hate
skaters gonna skate
laters gonna late
maters gonna mate
raters gonna rate
craters gonna crate
graters gonna grate
praters gonna prate
stators gonna state
greaters gonna great
straighters gonna straight
straighters gonna straight
eighters gonna eight
freighters gonna freight
baiters gonna bait
gaiters gonna gait
plaiters gonna plait
traitors gonna trait
straiters gonna strait
waiters gonna wait

(setq words "haters gonna hate....")
(apply 'string (reverse (string-to-list words)))
delete quotes
select region
M-x sort-lines
add quotes
setq words
(apply 'string (reverse (string-to-list words)))

I’m sure this could be completely automated.

Also, for personal reasons, I’m not satisfied with the order obtained — but it’s a great start, and a quick restructuring that helped clear my head on this text.

no comments yet.

comments RSS trackBack identifier URI

leave a comment

  • syndicate

    • Add to MyMSN
    • Add to MyYahoo
    • Add to Google Reader
    • Add to Bloglines
    • Add to Newsgator
    • Add to NewsIsFree