Module:sa-convert/testcases/documentation
These tests of the conversion of Sanskrit from Devanagari to other scripts are of two types. The first type checks that a particular form results for a specific script; the second type merely checks that the forms in Devanagari and the other script have the same transliteration to the Roman alphabet. The second type is neither necessary nor sufficient for correctness, but it offers protection against finger trouble in the transliteration.
For the first type of test, the 'text' is the Devanagari text to be transliterated, the 'expected' column is the transliteration that should be produced, and the 'actual' column is what should be produced. For the second type of text, the 'text' column lists the Devanagari original, the script code of the target script, and the transliteration thereinto. The expected column gives the Latin transliteration of the Devanagari, and the actual column gives the Latin transliteration of the text into the other script. For a failed test of either type, the text in the 'expected' and 'actual' columns may be accompanied by a defence of what it is.
Single Script Pages
සංස්කරණයThe test results for each script may be viewed and updated ('refreshed') individually by following the links below:
Gujarati Javanese Balinese Saurashtra Oriya Assamese Bengali Tirhuta Kannada Telugu Malayalam Tamil Modi Tibetan Siddham Sharada Brahmi Thai Lao Khmer Sinhala Gurmukhi Burmese Cham Prachalit 'Phags-pa Chakma Grantha Kaithi Bhaiksuki Soyombo Zanabazar Square Takri Tai Tham
They may alternative be viewed and updated from the individual scripts' subsections below.
All Scripts Together
සංස්කරණය3 of 11 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Laoo: ນິຣ຺ວາຓ | nirvāṇa | nirvāṇa | |
गङ्गा Laoo: ຄງ຺ຄາ | gaṅgā | gaṅgā | |
वीर Laoo: ວີຣ | vīra | vīra | |
आचार्यैः Laoo: ອາຈາຣ຺ໄຍະ | ācāryaiḥ | ācāryaiḥ | |
गोपन Laoo: ໂຄປນ | gopana | gopana | |
प्राक् Laoo: ປ຺ຣາກ຺ | prāk | prāk | |
क्रोध Laoo: ກ຺ໂຣຘ | krodha | krodha | |
आस्ये Laoo: ອາສ຺ເຍ | āsye | āsye | |
सऋक्ष Laoo: ສຣິກ຺ຩ | saṛkṣa | sarikṣa | |
संस्कृतम् Laoo: ສໍສ຺ກ຺ຣິຕມ຺ | saṃskṛtam | saṃskritam | |
नीळ Laoo: ນີຬ | nīḷa | nīḷa | |
Script error during testing: Module:languages:449: Substitution data 'Shrd-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases:141: in function <Module:sa-convert/testcases:130> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Single Script Subsections
සංස්කරණයGujarati
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Gujr-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Gujarati:5: in function <Module:sa-convert/testcases/Gujarati:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Javanese
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Java-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Javanese:5: in function <Module:sa-convert/testcases/Javanese:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Balinese
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Saurashtra
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Oriya
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Orya-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Oriya:5: in function <Module:sa-convert/testcases/Oriya:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Assamese
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Beng-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Assamese:5: in function <Module:sa-convert/testcases/Assamese:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Bengali
සංස්කරණය2 of 1 test failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण | নির্ব্বাণ (Commenting on Mason's citation of the spelling of the word as निरव्वान on p10 of Kaccayano's Pali Gramar, Mazard comments in a footnote in his edition of the work, "Mason here follows the Bangladeshi convention, doubling the v in nirvana. This is not commonly found today in either Romanized or Devanagari Sanskrit, but remains the norm in the classical Bengali typeset (Sadhubasa)--a relatively recent development in the presses of Mason's day (owed to Sir Charles Wilkins).") | নির্বাণ (Modern Bengali writes নির্বাণ.) | |
Script error during testing: Module:languages:449: Substitution data 'sa-Beng-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Bengali:5: in function <Module:sa-convert/testcases/Bengali:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Tirhuta
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Kannada
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Knda-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Kannada:5: in function <Module:sa-convert/testcases/Kannada:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Telugu
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Telu-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Telugu:5: in function <Module:sa-convert/testcases/Telugu:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Malayalam
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Mlym-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Malayalam:5: in function <Module:sa-convert/testcases/Malayalam:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Tamil
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Modi
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Modi-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Modi:5: in function <Module:sa-convert/testcases/Modi:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Tibetan
සංස්කරණය11 of 11 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Tibt: ནི་རྭཱ་ཎ | nirvāṇa | ni rwā ṇa | |
गङ्गा Tibt: ག་ངྒཱ | gaṅgā | ga nggā | |
वीर Tibt: ཝཱི་ར | vīra | wī ra | |
आचार्यैः Tibt: ཨཱ་ཙཱ་རྱཻཿ | ācāryaiḥ | ā tsā ryaiḥ | |
गोपन Tibt: གོ་པ་ན | gopana | go pa na | |
प्राक् Tibt: པྲཱ་ཀ྄ | prāk | prā k | |
क्रोध Tibt: ཀྲོ་དྷ | krodha | kro dha | |
आस्ये Tibt: ཨཱ་སྱེ | āsye | ā sye | |
सऋक्ष Tibt: ས་རྀ་ཀྵ | saṛkṣa | sa ṛ kṣa | |
संस्कृतम् Tibt: སཾ་སྐྲྀ་ཏ་མ྄ | saṃskṛtam | saṃ skṛ ta m | |
नीळ Tibt: ནཱིळ | nīḷa | nīळ |
Siddham
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'Sidd-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Siddham:5: in function <Module:sa-convert/testcases/Siddham:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Sharada
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'Shrd-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Sharada:5: in function <Module:sa-convert/testcases/Sharada:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Brahmi
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Brah: 𑀦𑀺𑀭𑁆𑀯𑀸𑀡 | nirvāṇa | nirvāṇa | |
गङ्गा Brah: 𑀕𑀗𑁆𑀕𑀸 | gaṅgā | gaṅgā | |
वीर Brah: 𑀯𑀻𑀭 | vīra | vīra | |
आचार्यैः Brah: 𑀆𑀘𑀸𑀭𑁆𑀬𑁃𑀂 | ācāryaiḥ | ācāryaiḥ | |
गोपन Brah: 𑀕𑁄𑀧𑀦 | gopana | gopana | |
प्राक् Brah: 𑀧𑁆𑀭𑀸𑀓𑁆 | prāk | prāk | |
क्रोध Brah: 𑀓𑁆𑀭𑁄𑀥 | krodha | krodha | |
आस्ये Brah: 𑀆𑀲𑁆𑀬𑁂 | āsye | āsye | |
सऋक्ष Brah: 𑀲𑀋𑀓𑁆𑀱 | saṛkṣa | saṛkṣa | |
संस्कृतम् Brah: 𑀲𑀁𑀲𑁆𑀓𑀾𑀢𑀫𑁆 | saṃskṛtam | saṃskṛtam | |
नीळ Brah: 𑀦𑀻𑀴 | nīḷa | nīḷa |
Thai
සංස්කරණය1 of 11 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Thai: นิรฺวาณ | nirvāṇa | nirvāṇa | |
गङ्गा Thai: คงฺคา | gaṅgā | gaṅgā | |
वीर Thai: วีร | vīra | vīra | |
आचार्यैः Thai: อาจารฺไยะ | ācāryaiḥ | ācāryaiḥ | |
गोपन Thai: โคปน | gopana | gopana | |
प्राक् Thai: ปฺรากฺ | prāk | prāk | |
क्रोध | โกฺรธ (RID gives etymology of โกรธ as "ส. โกฺรธ".) | กฺโรธ | |
आस्ये Thai: อาสฺเย | āsye | āsye | |
सऋक्ष Thai: สฤกฺษ | saṛkṣa | saṛkṣa | |
संस्कृतम् Thai: สํสฺกฺฤตมฺ | saṃskṛtam | saṃskṛtam | |
नीळ Thai: นีฬ | nīḷa | nīḷa |
Lao
සංස්කරණය2 of 11 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Laoo: ນິຣ຺ວາຓ | nirvāṇa | nirvāṇa | |
गङ्गा Laoo: ຄງ຺ຄາ | gaṅgā | gaṅgā | |
वीर Laoo: ວີຣ | vīra | vīra | |
आचार्यैः Laoo: ອາຈາຣ຺ໄຍະ | ācāryaiḥ | ācāryaiḥ | |
गोपन Laoo: ໂຄປນ | gopana | gopana | |
प्राक् Laoo: ປ຺ຣາກ຺ | prāk | prāk | |
क्रोध Laoo: ກ຺ໂຣຘ | krodha | krodha | |
आस्ये Laoo: ອາສ຺ເຍ | āsye | āsye | |
सऋक्ष Laoo: ສຣິກ຺ຩ | saṛkṣa | sarikṣa | |
संस्कृतम् Laoo: ສໍສ຺ກ຺ຣິຕມ຺ | saṃskṛtam | saṃskritam | |
नीळ Laoo: ນີຬ | nīḷa | nīḷa |
Khmer
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Khmr: និវ៌ាណ | nirvāṇa | nirvāṇa | |
गङ्गा Khmr: គង្គា | gaṅgā | gaṅgā | |
वीर Khmr: វីរ | vīra | vīra | |
आचार्यैः Khmr: អាចាយ៌ៃះ | ācāryaiḥ | ācāryaiḥ | |
गोपन Khmr: គោបន | gopana | gopana | |
प्राक् Khmr: ប្រាក៑ | prāk | prāk | |
क्रोध Khmr: ក្រោធ | krodha | krodha | |
आस्ये Khmr: អាស្យេ | āsye | āsye | |
सऋक्ष Khmr: សឫក្ឞ | saṛkṣa | saṛkṣa | |
संस्कृतम् Khmr: សំស្ក្ឫតម៑ | saṃskṛtam | saṃskṛtam | |
नीळ Khmr: នីឡ | nīḷa | nīḷa |
Sinhala
සංස්කරණය7 of 11 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Sinh: නිර්වාණ | nirvāṇa | nirwāṇa | |
गङ्गा Sinh: ගඞ්ගා | gaṅgā | gaṅgā | |
वीर Sinh: වීර | vīra | wīra | |
आचार्यैः Sinh: ආචාර්යෛඃ | ācāryaiḥ | ācāryaiḥ | |
गोपन Sinh: ගෝපන | gopana | gōpana | |
प्राक् Sinh: ප්රාක් | prāk | prāk | |
क्रोध Sinh: ක්රෝධ | krodha | krōdha | |
आस्ये Sinh: ආස්යේ | āsye | āsyē | |
सऋक्ष Sinh: සඍක්ෂ | saṛkṣa | sar̥kṣa | |
संस्कृतम् Sinh: සංස්කෘතම් | saṃskṛtam | saṁskr̥tam | |
नीळ Sinh: නීළ | nīḷa | nīḷa |
Gurmukhi
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Guru-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Gurmukhi:5: in function <Module:sa-convert/testcases/Gurmukhi:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Burmese
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Mymr: နိရွာဏ | nirvāṇa | nirvāṇa | |
गङ्गा | ဂင်္ဂါ | ဂင်္ဂါ | |
वीर Mymr: ဝီရ | vīra | vīra | |
आचार्यैः Mymr: အာစာရျဲး | ācāryaiḥ | ācāryaiḥ | |
व्यञ्जन Mymr: ဝျဉ္ဇန | vyañjana | vyañjana | |
गोपन | ဂေါပန | ဂေါပန | |
प्राक् | ပြာက် | ပြာက် | |
क्रोध Mymr: ကြောဓ | krodha | krodha | |
आस्ये Mymr: အာသျေ | āsye | āsye | |
सऋक्ष Mymr: သၒက္ၑ | saṛkṣa | saṛkṣa | |
संस्कृतम् Mymr: သံသ္ကၖတမ် | saṃskṛtam | saṃskṛtam | |
नीळ Mymr: နီဠ | nīḷa | nīḷa |
Cham
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Prachalit
සංස්කරණයThe Prachalit script is termed the Newa script by Unicode. All tests passed. (refresh)
Text | Expected | Actual |
---|
'Phags-pa
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Chakma
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Grantha
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Kaithi
සංස්කරණය1 of 0 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
Script error during testing: Module:languages:449: Substitution data 'sa-Kthi-translit' does not match an existing module.stack traceback: [C]: ? [C]: in function 'error' Module:languages:449: in function 'doSubstitutions' Module:languages:398: in function 'doSubstitutions' Module:languages:473: in function 'iterateSectionSubstitutions' Module:languages:1604: in function 'transliterate' Module:sa-convert/testcases:100: in function 'one_script' Module:sa-convert/testcases/Kaithi:5: in function <Module:sa-convert/testcases/Kaithi:4> (tail call): ? [C]: in function 'xpcall' Module:UnitTests:369: in function <Module:UnitTests:328> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? |
Bhaiksuki
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Soyombo
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Zanabazar Square
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Takri
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|
Tai Tham
සංස්කරණයAll tests passed. (refresh)
Text | Expected | Actual |
---|