I'd be interested to know how it works out syllables, especially for proper nouns - for example, how does it know that Mugabe is "Mu-ga-be" as opposed to "Mu-gabe"? A large dictionary?
https://github.com/darius/versecop/blob/master/passages.py -- it uses the CMU pronouncing dictionary and just punts on words not in it. I'd like to go back and improve it sometime. (The test passage there is from The Lord of the Rings.)
I'd be interested to know how it works out syllables, especially for proper nouns - for example, how does it know that Mugabe is "Mu-ga-be" as opposed to "Mu-gabe"? A large dictionary?