iast: define simple transformations

This commit is contained in:
Vlasta Vesely 2018-04-25 18:35:28 +02:00
parent fe6b2fe2f6
commit 63eb389ae2

52
iast.c
View file

@ -6,6 +6,58 @@ static const struct transliteration_letter table_letters[] = {
/* Vowels */
{0x0905, "a"}, /* अ */
{0x0906, "ā"}, /* आ */
{0x0907, "i"}, /* इ */
{0x0908, "ī"}, /* ई */
{0x0909, "u"}, /* उ */
{0x090a, "ū"}, /* ऊ */
{0x090b, ""}, /* ऋ */
{0x0960, ""}, /* ॠ */
{0x090c, ""}, /* ऌ */
{0x0961, ""}, /* ॡ */
{0x090f, "e"}, /* ए */
{0x0910, "ai"}, /* ऐ */
{0x0913, "o"}, /* ओ */
{0x0914, "au"}, /* औ */
/* Consonants */
{0x0915, "ka"}, /* क */
{0x0916, "kha"}, /* ख */
{0x0917, "ga"}, /* ग */
{0x0918, "gha"}, /* घ */
{0x0919, "ṅa"}, /* ङ */
{0x0939, "ha"}, /* ह */
{0x091a, "ca"}, /* च */
{0x091b, "cha"}, /* छ */
{0x091c, "ja"}, /* ज */
{0x091d, "jha"}, /* झ */
{0x091e, "ña"}, /* ञ */
{0x092f, "ya"}, /* य */
{0x0936, "śa"}, /* श */
{0x091F, "ṭa"}, /* ट */
{0x0920, "ṭha"}, /* ठ */
{0x0921, "ḍa"}, /* ड */
{0x0922, "ḍha"}, /* ढ */
{0x0923, "ṇa"}, /* ण */
{0x0930, "ra"}, /* र */
{0x0937, "ṣa"}, /* श */
{0x0924, "ta"}, /* त */
{0x0925, "tha"}, /* थ */
{0x0926, "da"}, /* द */
{0x0927, "dha"}, /* ध */
{0x0928, "na"}, /* न */
{0x0932, "la"}, /* ल */
{0x0938, "sa"}, /* स */
{0x092a, "pa"}, /* प */
{0x092b, "pha"}, /* फ */
{0x092c, "ba"}, /* ब */
{0x092d, "bha"}, /* भ */
{0x092e, "ma"}, /* म */
{0x0935, "va"}, /* व */
/* Codas */
{0x0902, ""}, /* ं (anusvara) */
{0x0903, ""}, /* (visarga) */
{0x093d, "'"}, /* ऽ (avagrada) */
{0, NULL}
};