In preparation for Linux Haiku IV I've written a plugin for GEdit.  I don't really use GEdit, but it has a very simple plugin system that made this possible.  In true open source spirit I cobbled together some syllable counting code from here and here, and then plowed head first into writing my first python code.  I'm happy with my first draft.  It still needs work in the actual syllable counting part but it is usable for the most part.  The two major TODO items for it would be.

1.   Add a configure option to use something like the CMU Pronouncing Dictionary before going to the guessing algorithm.
2.   Fine tune the guessing algorithm with a test bench built from the above mentioned dictionary.


Enjoy!

gedit-plugin-haiku-0.1.tgz