Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Advice on how t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 10978 of 11065
Post > Topic >>

Advice on how to approach character translation

by chandra@[EMAIL PROTECTED] (R Chandrasekhar) Apr 23, 2008 at 05:34 PM

Dear Folks,

A scheme called ITRANS uses the ASCII printing character set and between
one and 
  three printing characters to unambiguously represent characters in Indic

scripts or a Romanized script called IAST. Since characters in these
scripts 
have Unicode code points, it should be possible to automate the
translation 
between words in the ASCII source text and the desired Unicoded output
text.

I am trying to write a Perl script to do this and would appreciate advice
on how 
best to proceed before I start.

To give a better picture of what I am trying to do, I have given some
examples 
below for ASCII to IAST characters:

--------
1. Transliteration of between one and three ASCII printing characters to
one 
Unicode character.

2. Many characters are unchanged by the transliteration.

3. Some transliteration examples are shown below:

a       a   U+0061   LATIN SMALL LETTER A
aa      ā   U+0101   LATIN SMALL LETTER A WITH MACRON
A       ā   U+0101   LATIN SMALL LETTER A WITH MACRON
..a      '   U+0027   APOSTROPHE
~N      ṅ   U+1E45   LATIN SMALL LETTER N WITH DOT ABOVE
RRI     ṝ   U+1E5D   LATIN SMALL LETTER R WITH DOT BELOW AND MACRON
R^I	ṝ   U+1E5D   LATIN SMALL LETTER R WITH DOT BELOW AND MACRON
--------

Many thanks.

Chandra




 9 Posts in Topic:
Advice on how to approach character translation
chandra@[EMAIL PROTECTED]  2008-04-23 17:34:22 
Re: Advice on how to approach character translation
Jenda@[EMAIL PROTECTED]   2008-04-24 00:50:48 
Re: Advice on how to approach character translation
chandra@[EMAIL PROTECTED]  2008-04-25 17:41:47 
Re: Advice on how to approach character translation
rvtol+news@[EMAIL PROTECT  2008-04-26 11:41:42 
Re: Advice on how to approach character translation
chandra@[EMAIL PROTECTED]  2008-04-24 23:40:12 
Re: Advice on how to approach character translation
peng.kyo@[EMAIL PROTECTED  2008-04-26 19:39:16 
Re: Advice on how to approach character translation
rvtol+news@[EMAIL PROTECT  2008-04-26 13:54:51 
Re: Advice on how to approach character translation
peng.kyo@[EMAIL PROTECTED  2008-04-26 19:59:08 
Re: Advice on how to approach character translation
rvtol+news@[EMAIL PROTECT  2008-04-26 15:28:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:18:52 CDT 2008.