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/doSubstitutions:73: Substitution data 'sa-Knda-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Knda-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Gujr-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Gujr-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Java-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Java-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Orya-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Orya-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Beng-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Beng-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Beng-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Beng-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Knda-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Knda-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Telu-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Telu-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Mlym-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Mlym-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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/doSubstitutions:73: Substitution data 'sa-Modi-translit' does not match an existing module or module failed to execute: package.lua:80: module 'Module:sa-Modi-translit' not found.stack traceback: [C]: ? [C]: in function 'error' Module:languages/doSubstitutions:73: in function 'doSubstitutions' Module:languages/doSubstitutions:32: in function <Module:languages/doSubstitutions:25> (tail call): ? Module:languages:267: in function 'iterateSectionSubstitutions' Module:languages:1422: 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[සංස්කරණය]
All tests passed. (refresh)
Text | Expected | Actual |
---|
Sharada[සංස්කරණය]
All tests passed. (refresh)
Text | Expected | Actual |
---|
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[සංස්කරණය]
3 of 11 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
निर्वाण Sinh: නිර්වාණ | nirvāṇa | nirvāṇa | |
गङ्गा Sinh: ගඞ්ගා | gaṅgā | gaṅgā | |
वीर Sinh: වීර | vīra | vī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 | saṛkṣa | |
संस्कृतम् Sinh: සංස්කෘතම් | saṃskṛtam | saṃskṛtam | |
नीळ Sinh: නීළ | nīḷa | nīḷa |
Gurmukhi[සංස්කරණය]
All tests passed. (refresh)
Text | Expected | Actual |
---|
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[සංස්කරණය]
All tests passed. (refresh)
Text | Expected | Actual |
---|
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 |
---|