add transliteration of the vedic stresses
This commit is contained in:
parent
cd8ef0a12b
commit
6f8417f964
2 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,9 @@ START_TEST(test_translit_vedic)
|
||||||
|
|
||||||
/* rigveda 3.5.2 */
|
/* rigveda 3.5.2 */
|
||||||
test_translit("पूर्वीर्ऋतस्य", "pūrvīr"ZWNJ"ṛtasya");
|
test_translit("पूर्वीर्ऋतस्य", "pūrvīr"ZWNJ"ṛtasya");
|
||||||
|
|
||||||
|
/* vedic stresses */
|
||||||
|
test_translit("अ॒ग्निमी॑ळे पु॒रोहि॑तं", "a\\_gnimī\\'ḷe pu\\_rohi\\'taṃ");
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
|
|
@ -103,6 +103,9 @@ static struct translit_letter table[] = {
|
||||||
|
|
||||||
{0x0965, CODA, "||"}, /* double danda */
|
{0x0965, CODA, "||"}, /* double danda */
|
||||||
{0x0964, CODA, "|"}, /* danda */
|
{0x0964, CODA, "|"}, /* danda */
|
||||||
|
|
||||||
|
{0x0951, CODA, "\\'"}, /* svarita */
|
||||||
|
{0x0952, CODA, "\\_"} /* anudatta */
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct translit_letter *letter_by_code(unsigned int c)
|
static struct translit_letter *letter_by_code(unsigned int c)
|
||||||
|
|
Loading…
Reference in a new issue