On Friday 19 Oct 2012, G Karunakar wrote: > On Thu, Oct 18, 2012 at 6:41 PM, Raj Mathur (राज माथुर) > > <r...@linux-delhi.org> wrote: > > The Kruti converter is working fine for now, will release it after > > a couple more fixes. But now that I have the Unicode Devnagari, > > any tool (command-line, please!) to transliterate to Roman? E.g. > > > > हाल क्या है दिलों का ना पूछो सनम -> Haal kyaa hai dilon kaa naa > > poochho sanam > > > > Or do I have to write that too? ;-) > > You could use a transliteration scheme > http://en.wikipedia.org/wiki/Devanagari_transliteration > But would need more than mapping based method, something like using > soundex to get it more accurate conversion.
Attached Perl program will convert Devnagari to phonetic Hindi, similar to ITRANS. Would appreciate if whoever uses it sends feedback so I can improve it. Incidentally, can someone check why the f in farsi at: https://hi.wikipedia.org/wiki/%E0%A4%B9%E0%A4%BF%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%80 isn't the standard 0x092B + 0x093C (फ़)? I don't know if I've got the characters right, but there's some fsckup in translating the f's there. Comment out lines 277 through 285 of the code and run that page to see what happens. Regards, -- Raj -- Raj Mathur || r...@kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F
devnagari-to-itrans.pl
Description: Perl program
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________ IndLinux-group mailing list IndLinux-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/indlinux-group