Module:Cakm-translit/testcases
Jump to navigation
Jump to search
- The following documentation is located at Module:Cakm-translit/testcases/documentation. [edit] Categories were auto-generated by Module:module categorization. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • tested module • sandbox
This tests transliteration from the Chakma script to the Roman script. Pali and Chakma use a different schemes. The test cases below are for Chakma by default. Other languages are indicated in the results by prefixing the language code, colon and a space to the input Brahmi script string. 7 of 77 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
𑄃𑄘𑄢 | ādārā | ādārā | |
𑄇𑄋𑄢 | kāṅārā | kāṅārā | |
𑄇𑄧 | ka | ka | |
𑄇𑄧𑄙𑄖𑄢 | kadhātārā | kadhātārā | |
𑄇𑄧𑄙𑄗𑄪𑄛𑄴 | kadhāthup | kadhāthup | |
𑄇𑄨𑄠𑄮𑄁 | kiẏoṅ | kiẏoṅ | |
𑄈𑄧𑄢𑄴𑄉𑄧𑄌𑄴 | hôrgôc | khargac | |
𑄉 | gā | gā | |
𑄉𑄧𑄋 | gaṅā | gaṅā | |
𑄉𑄧𑄖𑄴 | gat | gat | |
𑄉𑄧𑄙 | gadhā | gadhā | |
𑄉𑄧𑄢𑄴𑄝 | garbā | garbā | |
𑄊𑄧𑄢𑄴 | ghar | ghar | |
𑄌𑄘𑄨 | cādi | cādi | |
𑄌𑄚𑄴 | cān | cān | |
𑄌𑄟𑄴 | cām | cām | |
𑄌𑄧𑄉𑄧𑄘 | cagadā | cagadā | |
𑄌𑄧𑄉𑄧𑄣 | cagalā | cagalā | |
𑄍𑄮𑄣𑄉𑄧𑄢𑄴 | solagôr | cholāgar | |
𑄎𑄧𑄘 | jadā | jadā | |
𑄏𑄧𑄢𑄴 | jhar | jhar | |
𑄒𑄉𑄪𑄢𑄴 | ṭhāgur | ṭhāgur | |
𑄒𑄙𑄢𑄴 | ṭādhār | ṭhādhār | |
𑄖𑄣 | tālā | tālā | |
𑄗𑄉 | thāgā | thāgā | |
𑄗𑄣𑄴 | thāl | thāl | |
𑄗𑄧𑄟𑄴 | tham | tham | |
𑄗𑄧𑄢𑄴 | thar | thar | |
𑄘𑄧𑄉𑄚𑄴 | dagān | dagān | |
𑄛𑄚𑄨 | pāni | pāni | |
𑄛𑄪𑄚𑄨 | puni | puni | |
𑄛𑄬𑄇𑄴 | pek | pek | |
𑄝𑄬𑄋𑄴 | beṅ | beṅ | |
𑄞𑄌𑄴 | bhāc | bhāc | |
𑄞𑄌𑄴𑄟𑄖𑄴 | bhāc-māt | bhācmāt | |
𑄞𑄖𑄴 | bhāt | bhāt | |
𑄞𑄪𑄖𑄴 | bhut | bhut | |
𑄟𑄌𑄴 | māc | māc | |
𑄟𑄪𑄎𑄴𑄏𑄬𑄁 | mujjheṅ | mujjheṅ | |
𑄢𑄖𑄴 | rāt | rāt | |
𑄢𑄧 | ra | ra | |
𑄢𑄧𑄖𑄴 | rat | rat | |
𑄣𑄋𑄧𑄚𑄨 | lāṅoni | lāṅani | |
𑄣𑄋𑄳𑄡𑄴 | lāṅyā | lāṅy | |
𑄣𑄋𑄴 | lāṅ | lāṅ | |
𑄣𑄪𑄢𑄨 | luri | luri | |
𑄤𑄇𑄴 | wāk | wāk | |
𑄥𑄟𑄪𑄇𑄴 | sāmuk | sāmuk | |
𑄥𑄧𑄁𑄥𑄧𑄞 | saṃsabhā | saṃsabhā | |
𑄥𑄧𑄚 | sanā | sanā | |
𑄥𑄪𑄟𑄪𑄣𑄁 | sumulāṅ | sumulāṅ | |
𑄦𑄌𑄴 | hāc | hāc | |
𑄦𑄖𑄴 | hāt | hāt | |
𑄦𑄝 | hābā | hābā | |
𑄦𑄢𑄉 | hārāgā | hārāgā | |
𑄦𑄧𑄙 | hadhā | hadhā | |
𑄦𑄨𑄠𑄧𑄁 | hiẏoṅ | hiẏaṅ | |
𑄦𑄨𑄢𑄴𑄝𑄬 | hirbe | hirbe | |
𑄦𑄮𑄢𑄮𑄋 | horoṅā | horoṅā | |
pi: 𑄇𑄪𑄈𑄩𑄉𑄋𑄴𑄊𑄂 | kukhīgaṅghā | kukhīgaṅghā | |
pi: 𑄑𑄑𑄴𑄒𑄮𑄓𑄴𑄔𑄕𑄴𑄓𑄩𑄔𑄚𑄴𑄖𑄴 | ṭaṭṭhoḍḍhaṇḍīḍhant | ṭaṭṭhoḍḍhaṇḍīḍhant | |
pi: 𑄎𑄌𑄴𑄍𑄪𑄁𑄥𑄎𑄴𑄏𑄬𑄎𑄳𑄐 | jacchuṃsajjhejña | jacchuṃsajjhejña | |
pi: 𑄃𑄨𑄛𑄕𑄴𑄒𑄟𑄴𑄝𑄨𑄜𑄞𑄮 | ipaṇṭhambiphabho | ipaṇṭhambiphabho | |
pi: 𑅇𑄳𑄠𑄝𑄴𑄝𑄮𑄢𑅄𑄳𑄦𑅄𑄨𑄚𑄂 | vyabboraḷhaḷinā | vyabboraḷhaḷinā | |
pi: 𑄛𑄪𑄁𑄣𑄨𑄋𑄴𑄉 | puṃliṅga | puṃliṅga | |
pi: 𑄃𑄂𑄥𑄳𑄚𑄮𑄇𑄳𑄣𑄖𑄳𑄤𑄂𑄠𑄴𑄦𑄣𑄮 | āsnoklatvāyhalo | āsnoklatvāyhalo | |
pi: 𑄅𑄉𑄠𑄴𑄦𑄮 | ugayho | ugayho | |
pi: 𑄚𑄨𑄉𑄳𑄢𑄮𑄙 | nigrodha | nigrodha | |
pi: 𑄛𑄌𑅇𑄴𑄦𑄮 | pacavho | pacavho | |
pi: 𑄃𑄉𑄁𑄍𑄨𑄁 | agaṃchiṃ | agaṃchiṃ | |
pi: 𑄛𑄂𑄛𑄮 | pāpo | pāpo | |
pi: 𑄚𑄨𑄝𑄴𑄝𑄂𑄚 | nibbāna | nibbāna | |
pi: 𑄃𑄫𑄇𑄖𑄝𑄴𑄝𑄮 | ūkatabbo | ūkatabbo | |
pi: 𑄃𑄮𑄇𑄂𑄥𑄟𑄳𑄦𑄨 | okāsamhi | okāsamhi | |
pi: 𑄆𑄦𑄨 | ehi | ehi | |
pi: 𑄃𑄩𑄖𑄳𑄢𑄬𑄘𑄴𑄙𑄮𑄗𑄫𑄚𑄨𑄟𑄴 | ītreddhothūnim | ītreddhothūnim | |
pi: 𑅄𑄴𑄦𑄂𑄥𑄂𑅄𑄫𑄁 | ḷhāsāḷūṃ | ḷhāsāḷūṃ |
local scdef, langdef = 'Cakm', 'ccp'
local canonical_def
local ti = table.insert
return require("Module:transliteration module testcases"){
module = "Cakm-translit",
examples = {
-- The 59 lemmas as at 19 October 2021: (the two mere letters are excluded,
-- as is the one untransliterated lemmas 𑄌𑄖𑄴)
{ "𑄃𑄘𑄢", "ādārā"},
{ "𑄇𑄋𑄢", "kāṅārā"},
{ "𑄇𑄧", "ka"},
{ "𑄇𑄧𑄙𑄖𑄢", "kadhātārā"},
{ "𑄇𑄧𑄙𑄗𑄪𑄛𑄴", "kadhāthup"},
{ "𑄇𑄨𑄠𑄮𑄁", "kiẏoṅ"},
{ "𑄈𑄧𑄢𑄴𑄉𑄧𑄌𑄴", "hôrgôc"},
{ "𑄉", "gā"},
{ "𑄉𑄧𑄋", "gaṅā"},
{ "𑄉𑄧𑄖𑄴", "gat"},
{ "𑄉𑄧𑄙", "gadhā"},
{ "𑄉𑄧𑄢𑄴𑄝", "garbā"},
{ "𑄊𑄧𑄢𑄴", "ghar"},
{ "𑄌𑄘𑄨", "cādi"},
{ "𑄌𑄚𑄴", "cān"},
{ "𑄌𑄟𑄴", "cām"},
{ "𑄌𑄧𑄉𑄧𑄘", "cagadā"},
{ "𑄌𑄧𑄉𑄧𑄣", "cagalā"},
{ "𑄍𑄮𑄣𑄉𑄧𑄢𑄴", "solagôr"},
{ "𑄎𑄧𑄘", "jadā"},
{ "𑄏𑄧𑄢𑄴", "jhar"},
{ "𑄒𑄉𑄪𑄢𑄴", "ṭhāgur"},
{ "𑄒𑄙𑄢𑄴", "ṭādhār"},
{ "𑄖𑄣", "tālā"},
{ "𑄗𑄉", "thāgā"},
{ "𑄗𑄣𑄴", "thāl"},
{ "𑄗𑄧𑄟𑄴", "tham"},
{ "𑄗𑄧𑄢𑄴", "thar"},
{ "𑄘𑄧𑄉𑄚𑄴", "dagān"},
{ "𑄛𑄚𑄨", "pāni"},
{ "𑄛𑄪𑄚𑄨", "puni"},
{ "𑄛𑄬𑄇𑄴", "pek"},
{ "𑄝𑄬𑄋𑄴", "beṅ"},
{ "𑄞𑄌𑄴", "bhāc"},
{ "𑄞𑄌𑄴𑄟𑄖𑄴", "bhāc-māt"},
{ "𑄞𑄖𑄴", "bhāt"},
{ "𑄞𑄪𑄖𑄴", "bhut"},
{ "𑄟𑄌𑄴", "māc"},
{ "𑄟𑄪𑄎𑄴𑄏𑄬𑄁", "mujjheṅ"},
{ "𑄢𑄖𑄴", "rāt"},
{ "𑄢𑄧", "ra"},
{ "𑄢𑄧𑄖𑄴", "rat"},
{ "𑄣𑄋𑄧𑄚𑄨", "lāṅoni"},
{ "𑄣𑄋𑄳𑄡𑄴", "lāṅyā"},
{ "𑄣𑄋𑄴", "lāṅ"},
{ "𑄣𑄪𑄢𑄨", "luri"},
{ "𑄤𑄇𑄴", "wāk"},
{ "𑄥𑄟𑄪𑄇𑄴", "sāmuk"},
{ "𑄥𑄧𑄁𑄥𑄧𑄞", "saṃsabhā"},
{ "𑄥𑄧𑄚", "sanā"},
{ "𑄥𑄪𑄟𑄪𑄣𑄁", "sumulāṅ"},
{ "𑄦𑄌𑄴", "hāc"},
{ "𑄦𑄖𑄴", "hāt"},
{ "𑄦𑄝", "hābā"},
{ "𑄦𑄢𑄉", "hārāgā"},
{ "𑄦𑄧𑄙", "hadhā"},
{ "𑄦𑄨𑄠𑄧𑄁", "hiẏoṅ"},
{ "𑄦𑄨𑄢𑄴𑄝𑄬", "hirbe"},
{ "𑄦𑄮𑄢𑄮𑄋", "horoṅā"},
-- Pali stuff
{ "𑄇𑄪𑄈𑄩𑄉𑄋𑄴𑄊𑄂", "kukhīgaṅghā", "Cakm", "pi"},
{ "𑄑𑄑𑄴𑄒𑄮𑄓𑄴𑄔𑄕𑄴𑄓𑄩𑄔𑄚𑄴𑄖𑄴", "ṭaṭṭhoḍḍhaṇḍīḍhant", "Cakm", "pi" },
{ "𑄎𑄌𑄴𑄍𑄪𑄁𑄥𑄎𑄴𑄏𑄬𑄎𑄳𑄐", "jacchuṃsajjhejña", "Cakm", "pi" },
{ "𑄃𑄨𑄛𑄕𑄴𑄒𑄟𑄴𑄝𑄨𑄜𑄞𑄮", "ipaṇṭhambiphabho", "Cakm", "pi" },
{ "𑅇𑄳𑄠𑄝𑄴𑄝𑄮𑄢𑅄𑄳𑄦𑅄𑄨𑄚𑄂", "vyabboraḷhaḷinā", "Cakm", "pi" },
{ "𑄛𑄪𑄁𑄣𑄨𑄋𑄴𑄉", "puṃliṅga", "Cakm", "pi"},
{ "𑄃𑄂𑄥𑄳𑄚𑄮𑄇𑄳𑄣𑄖𑄳𑄤𑄂𑄠𑄴𑄦𑄣𑄮", "āsnoklatvāyhalo", "Cakm", "pi" },
{ "𑄅𑄉𑄠𑄴𑄦𑄮", "ugayho", "Cakm", "pi" },
{ "𑄚𑄨𑄉𑄳𑄢𑄮𑄙", "nigrodha", "Cakm", "pi"},
{ "𑄛𑄌𑅇𑄴𑄦𑄮", "pacavho", "Cakm", "pi" },
{ "𑄃𑄉𑄁𑄍𑄨𑄁", "agaṃchiṃ", "Cakm", "pi" },
{ "𑄛𑄂𑄛𑄮", "pāpo", "Cakm", "pi" },
{ "𑄚𑄨𑄝𑄴𑄝𑄂𑄚", "nibbāna", "Cakm", "pi" },
{ "𑄃𑄫𑄇𑄖𑄝𑄴𑄝𑄮", "ūkatabbo", "Cakm", "pi" },
{ "𑄃𑄮𑄇𑄂𑄥𑄟𑄳𑄦𑄨", "okāsamhi", "Cakm", "pi" },
{ "𑄆𑄦𑄨", "ehi", "Cakm", "pi" },
{ "𑄃𑄩𑄖𑄳𑄢𑄬𑄘𑄴𑄙𑄮𑄗𑄫𑄚𑄨𑄟𑄴", "ītreddhothūnim", "Cakm", "pi" },
{ "𑅄𑄴𑄦𑄂𑄥𑄂𑅄𑄫𑄁", "ḷhāsāḷūṃ", "Cakm", "pi" },
--[[
{ "", "" },
--]]
},
sc = scdef, lang = langdef,
func_with_link = function(text, should, sc, lang)
local canonical_name
if not canonical_def then
local lang_object = require('Module:languages').getByCode(langdef)
or error('The language code ' .. langdef .. ' is not valid.')
canonical_def = lang_object:getCanonicalName()
end
local label = {}
if lang and lang ~= langdef then
local lang_object = require('Module:languages').getByCode(lang)
or error('The language code ' .. lang .. ' is not valid.')
canonical_name = lang_object:getCanonicalName()
ti(label, lang);
ti(label, ': ')
else
canonical_name = canonical_def
end
ti(label, '<span class="');
ti(label, sc or scdef);
ti(label, '" lang="');
ti(label, lang or langdef);
ti(label, '">[[');
ti(label, text)
ti(label, '#')
ti(label, canonical_name)
ti(label, '|')
ti(label, text)
ti(label, ']]</span>')
return table.concat(label)
end
}