I've created a simple command-line program to convert phonetic English into Tamil (Unicode) in Linux. I found that there are plenty of language tools available for Indian languages, but nothing which comes close to being a simple phonetic translator. This script is not exactly feature-rich, but it does the job. It uses a simple one-to-one character conversion, so the phonetic conversion might not be too intuitive at first, but with a bit of learning, you'll be tying in double quick time.
It's usage is simple:
eng2tam <infile> <outfile>
Here's an example of the English input file:
`oru `Uril~ `oru raja `irun~tab~. `avb~ periy mkab~. vIrp~puli. cOk~kt~tg~km~.
And here's the Tamil output (you should see this in a Unicode aware browser with any unicode tamil font):
ஒரு ஊரில் ஒரு ராஜா இருந்தான். அவன் பெரிய மகான். வீரப்புலி. சோக்கத்தங்கம்.
Where
<infile> contains the English phonetic script and
<outfile> will be the file containing the transliterated unicode text in Tamil. The README file gives the complete character conversion table. The C++ source code is included with the tarred archive and you should be able to compile this program easily on other platforms as well.
Download: eng2tam.tar.gz (10.9 kB)
Dependencies: libc, libstdc++
15 comment(s)
Leave a comment »Comment by princess banter (visitor) on 11 Apr 2007 @ 15:16 IST #
Comment by hari (blog owner) on 11 Apr 2007 @ 18:43 IST #
Comment by J_K9 (visitor) on 12 Apr 2007 @ 23:26 IST #
Comment by hari (blog owner) on 13 Apr 2007 @ 07:58 IST #
Comment by shanthi (visitor) on 11 Apr 2009 @ 11:16 IST #
Pratyus
Comment by priya (visitor) on 15 Jul 2009 @ 12:28 IST #
Comment by Hari (blog owner) on 15 Jul 2009 @ 14:50 IST #
Comment by raja (visitor) on 4 Sep 2009 @ 16:34 IST #
Comment by Hari (blog owner) on 4 Sep 2009 @ 16:48 IST #
Comment by Sathish (visitor) on 13 Oct 2009 @ 15:30 IST #
Comment by Hari (blog owner) on 14 Oct 2009 @ 16:22 IST #
Ungal pay anam eppadi? nanraga mudinthatha? virginia beachil yar irukaanga? ungal ammaiyara?
Comment by Molly (visitor) on 19 Jul 2010 @ 18:39 IST #
Comment by somu (visitor) on 29 Sep 2010 @ 14:30 IST #
Comment by Hari (blog owner) on 30 Sep 2010 @ 14:21 IST #
I am doing ine project. i want to display the print in tamil. How to translate english to tamil using C#.net windows application?Thanks in advance
Comment by devasena (visitor) on 6 Dec 2011 @ 09:51 IST #