2005-11-23

alexr_rwx: (removal of signs)
2005-11-23 01:04 am

(not accomplished enough, yet, but...)

Working rhyme detector and most-rhyming-word-picker? Oh yes. Automatic poetry on the way! (also: gotta come up with a clever way to favor cases where the last several syllables of two words all rhyme...)

For example:
CL-USER> (find-best-rhyme 'quick '(garbanzo chic brick cheek mellow))
BRICK
CL-USER> (find-best-rhyme 'ramble '(garbanzo bramble chic brick cheek mellow))
BRAMBLE


Cool things:
- Bradley Buda and his close-to-the-right-thing rhyme algorithm and C# implementation thereof. (project page here!)

- Levenshtein distance algorithm from wikisource. Ganked the lisp implementation verbatim!

- CMU Speech Processing Pronunciation Dictionary thinget. Over a hundred thousand words with their pronunciations encoded, right there. This is the Best Thing Ever.