iast: add aum and vowel modifier au

This commit is contained in:
Vlasta Vesely 2018-04-28 13:33:50 +02:00
parent 78caeb94a1
commit f8b7e9a1fc
2 changed files with 7 additions and 1 deletions

6
iast.c
View file

@ -65,6 +65,9 @@ static const struct transliteration_letter table[] = {
{0x0903, FLAG_REGULAR, ""}, /* (visarga) */ {0x0903, FLAG_REGULAR, ""}, /* (visarga) */
{0x093d, FLAG_REGULAR, "'"}, /* ऽ (avagrada) */ {0x093d, FLAG_REGULAR, "'"}, /* ऽ (avagrada) */
/* Special characters */
{0x0950, FLAG_REGULAR, "aum"}, /* ॐ */
/* Numbers */ /* Numbers */
{0x0966, FLAG_REGULAR, "0"}, {0x0966, FLAG_REGULAR, "0"},
{0x0967, FLAG_REGULAR, "1"}, {0x0967, FLAG_REGULAR, "1"},
@ -88,8 +91,9 @@ static const struct transliteration_letter table[] = {
{0x0962, FLAG_MODIFIER, ""}, /* ॢ */ {0x0962, FLAG_MODIFIER, ""}, /* ॢ */
{0x0963, FLAG_MODIFIER, ""}, /* ॣ */ {0x0963, FLAG_MODIFIER, ""}, /* ॣ */
{0x0947, FLAG_MODIFIER, "e"}, /* े */ {0x0947, FLAG_MODIFIER, "e"}, /* े */
{0x094b, FLAG_MODIFIER, "o"}, /* ो */
{0x0948, FLAG_MODIFIER, "ai"}, /* ै */ {0x0948, FLAG_MODIFIER, "ai"}, /* ै */
{0x094b, FLAG_MODIFIER, "o"}, /* ो */
{0x094c, FLAG_MODIFIER, "au"}, /* ौ */
{0x094d, FLAG_MODIFIER, ""}, /* ् (virama) */ {0x094d, FLAG_MODIFIER, ""}, /* ् (virama) */
{0, 0, NULL} {0, 0, NULL}

View file

@ -17,9 +17,11 @@ test_word()
test_word "संस्कृतम्" "saṃskṛtam" test_word "संस्कृतम्" "saṃskṛtam"
test_word "आर्यावर्त" "āryāvarta" test_word "आर्यावर्त" "āryāvarta"
test_word "तन्त्रशास्त्रम्" "tantraśāstram" test_word "तन्त्रशास्त्रम्" "tantraśāstram"
test_word "सांख्य" "sāṃkhya"
test_word "ऋग्वेद" "ṛgveda" test_word "ऋग्वेद" "ṛgveda"
test_word "महाभारतम्" "mahābhāratam" test_word "महाभारतम्" "mahābhāratam"
test_word "सरस्वती नदी" "sarasvatī nadī" test_word "सरस्वती नदी" "sarasvatī nadī"
test_word "देवनागरी" "devanāgarī" test_word "देवनागरी" "devanāgarī"
test_word "योगः" "yogaḥ" test_word "योगः" "yogaḥ"
test_word "भगवद्गीता" "bhagavadgītā" test_word "भगवद्गीता" "bhagavadgītā"
test_word "सम्भोग" "sambhoga"