On Tue, 2010-11-23 at 20:03 -0800, Santhosh Thottingal wrote: > >if this is not readable in your mail client, the code is here: > > > >http://bitbucket.org/lawgon/tamtrans/src/21197e0f1388/syllcount.py > > Number of syllables is is not the number of characters excluding > vowels. > For example மக்கள் has only 3 syllables not 4. > ம, க்க , ள் > > ஆண்டவரின் has ஆ,ண்ட,வ,ரி,ன் > and > > Syllable is a pronunciation unit. > http://en.wikipedia.org/wiki/Syllable
I am not counting syllables, I am counting characters in the conventional sense of the word. > > see syllabalize_ta method in > https://github.com/santhoshtr/silpa/blob/master/src/silpa/modules/syllabalizer/syllabalizer.py > Or see online tool for this at http://silpa.smc.org.in/Syllabalize that is GPLed, if I look at it and use some of it in my code you will sue me ;-) -- regards KG http://lawgon.livejournal.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc