(not accomplished enough, yet, but...)
Nov. 23rd, 2005 01:04 amWorking 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.
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.