summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Lingua/HI/Romanize/IAST.pm58
1 files changed, 58 insertions, 0 deletions
diff --git a/lib/Lingua/HI/Romanize/IAST.pm b/lib/Lingua/HI/Romanize/IAST.pm
new file mode 100644
index 0000000..dae8a93
--- /dev/null
+++ b/lib/Lingua/HI/Romanize/IAST.pm
@@ -0,0 +1,58 @@
+package Lingua::HI::Romanize::IAST;
+use strict;
+use warnings;
+use utf8;
+
+use constant TRANSLIT => (
+ 'अ' => 'a',
+ 'आ' => 'ā',
+ 'इ' => 'i',
+ 'ई' => 'ī',
+ 'उ' => 'u',
+ 'ऊ' => 'ū',
+ 'ऋ' => 'ṛ',
+ 'ॠ' => 'ṝ',
+ 'ऌ' => 'ḷ',
+ 'ॡ' => 'ḹ',
+ 'ए' => 'e',
+ 'ऐ' => 'ai',
+ 'ओ' => 'o',
+ 'औ' => 'au',
+ ' ं' => 'ṃ', # ?
+ 'ः' => 'ḥ', # ?
+ 'क' => 'k',
+ 'च' => 'c',
+ 'ट' => 'ṭ',
+ 'त' => 't',
+ 'प' => 'p',
+ 'ख' => 'kh',
+ 'छ' => 'ch',
+ 'ठ' => 'ṭh',
+ 'थ' => 'th',
+ 'फ' => 'ph',
+ 'ग' => 'g',
+ 'ज' => 'j',
+ 'ड' => 'ḍ',
+ 'द' => 'd',
+ 'ब' => 'b',
+ 'घ' => 'gh',
+ 'झ' => 'jh',
+ 'ढ' => 'ḍh',
+ 'ध' => 'dh',
+ 'भ' => 'bh',
+ 'ङ' => 'ṅ',
+ 'ञ' => 'ñ',
+ 'ण' => 'ṇ',
+ 'न' => 'n',
+ 'म' => 'm',
+ 'य' => 'y',
+ 'र' => 'r',
+ 'ल' => 'l',
+ 'व' => 'v',
+ 'श' => 'ś',
+ 'ष' => 'ṣ',
+ 'स' => 's',
+ 'ह' => 'h',
+);
+
+1;