Counting Syllables and Detecting Rhyme in PHP (2012) (cdmckay.org) 11 points by orangeduck 12y ago ↗ HN
[–] overload119 12y ago ↗ If anyone is interested in detecting rhymes in lyrics, I built a lyric visualizer + analyzer a while ago.http://www.rappad.co/blueprints/1064It goes a couple steps further to try to use the information to determine a "lyrical grade" of how poetic the song is.
[–] languagehacker 12y ago ↗ A whole grip of work was needlessly done here because the author wasn't aware of the Soundex, which PHP even has a native string function for: http://www.php.net/manual/en/function.soundex.phpInteresting to see the way the author attacks a problem entirely out of his element, but as with anything, a little research ahead of time goes a long way.
2 comments
[ 5.7 ms ] story [ 18.8 ms ] threadhttp://www.rappad.co/blueprints/1064
It goes a couple steps further to try to use the information to determine a "lyrical grade" of how poetic the song is.
Interesting to see the way the author attacks a problem entirely out of his element, but as with anything, a little research ahead of time goes a long way.