Wiktionary tpiwiktionary https://tpi.wiktionary.org/wiki/Fran_Pes MediaWiki 1.39.0-wmf.23 case-sensitive Media Sipesol Toktok Yusa Toktok bilong yusa Wiktionary Wiktionary toktok Fail Toktok bilong fail MediaWiki Toktok bilong mediawiki Templet Toktok bilong templet Halivim Toktok bilong halivim Grup Toktok bilong grup TimedText TimedText talk Module Module talk Gadget Gadget talk Gadget definition Gadget definition talk Templet:top2 10 5303 13329 2022-08-04T05:23:06Z Asinis632 1829 Created page with "<includeonly><div class="derivedterms" style="{{column-count|2}};"></includeonly><noinclude>{{documentation}}</noinclude>" wikitext text/x-wiki <includeonly><div class="derivedterms" style="{{column-count|2}};"></includeonly><noinclude>{{documentation}}</noinclude> pj743u4y08j4xte9r98lvqckds0kddl Templet:mid2 10 5304 13330 2022-08-04T05:25:08Z Asinis632 1829 Created page with "<noinclude>[[Grup:Column templets|mid2]]</noinclude>" wikitext text/x-wiki <noinclude>[[Grup:Column templets|mid2]]</noinclude> qpywj02s7jwpuekk8tnbxahnthoh6mv Module:kn-translit 828 5305 13331 2022-08-04T05:26:37Z Asinis632 1829 Created page with "local export = {} local consonants = { ['ಕ']='k', ['ಖ']='kh', ['ಗ']='g', ['ಘ']='gh', ['ಙ']='ṅ', ['ಚ']='c', ['ಛ']='ch', ['ಜ']='j', ['ಝ']='jh', ['ಞ']='ñ', ['ಟ']='ṭ', ['ಠ']='ṭh', ['ಡ']='ḍ', ['ಢ']='ḍh', ['ಣ']='ṇ', ['ತ']='t', ['ಥ']='th', ['ದ']='d', ['ಧ']='dh', ['ನ']='n', ['ಪ']='p', ['ಫ']='ph', ['ಬ']='b', ['ಭ']='bh', ['ಮ']='m', ['ಯ']='y', ['ರ']='r', ['ಱ']='ṟ', ['ಲ']='l', ['ವ']='v', ['ಶ']=..." Scribunto text/plain local export = {} local consonants = { ['ಕ']='k', ['ಖ']='kh', ['ಗ']='g', ['ಘ']='gh', ['ಙ']='ṅ', ['ಚ']='c', ['ಛ']='ch', ['ಜ']='j', ['ಝ']='jh', ['ಞ']='ñ', ['ಟ']='ṭ', ['ಠ']='ṭh', ['ಡ']='ḍ', ['ಢ']='ḍh', ['ಣ']='ṇ', ['ತ']='t', ['ಥ']='th', ['ದ']='d', ['ಧ']='dh', ['ನ']='n', ['ಪ']='p', ['ಫ']='ph', ['ಬ']='b', ['ಭ']='bh', ['ಮ']='m', ['ಯ']='y', ['ರ']='r', ['ಱ']='ṟ', ['ಲ']='l', ['ವ']='v', ['ಶ']='ś', ['ಷ']='ṣ', ['ಸ']='s', ['ಹ']='h', ['ಳ']='ḷ', ['ೞ']='ḻ', ['ಫ಼']='f', ['ಜ಼']='z', ['ಳ಼']='ḻ', } local diacritics = { ['ಾ']= 'ā' , ['ಿ']='i' , ['ೀ']='ī' , ['ು']='u' , ['ೂ']='ū' , ['ೃ']='ṛ' , ['ೄ']='r̥̄' , ['ೆ']='e' , ['ೇ']='ē' , ['ೈ']='ai' , ['ೊ']='o' , ['ೋ']='ō' , ['ೌ']='au' } local nonconsonants = { -- vowels ['ಅ']='a' , ['ಆ']='ā' , ['ಇ']='i' , ['ಈ']='ī' , ['ಉ']='u' , ['ಊ']='ū' , ['ಋ']='ṛ' , ['ೠ']='r̥̄' , ['ಌ']='l̥' , ['ೡ']='l̥̄', ['ಎ']='e' , ['ಏ']='ē' , ['ಐ']='ai' , ['ಒ']='o' , ['ಓ']='ō' , ['ಔ']='au' , ['ಅಂ']='aṃ' , ['ಅಃ']='ah' , -- other symbols ['ಂ']='ṃ', -- anusvara ['ಃ']='ḥ', -- visarga --halant, supresses the inherent vowel "a" ['್']='', -- digits ['೦'] = '0', ['೧'] = '1', ['೨'] = '2', ['೩'] = '3', ['೪'] = '4', ['೫'] = '5', ['೬'] = '6', ['೭'] = '7', ['೮'] = '8', ['೯'] = '9', } -- translit any words or phrases function export.tr(text, lang, sc) text = mw.ustring.gsub( text, '([ಕಖಗಘಙಚಛಜಝಞಟಠಡಢಣತಥದಧನಪಫಬಭಮಯರಱಲವಶಷಸಹಳೞಕಖ][಼]?)'.. '([ಾಿೀುೂೃೆೇೈೊೋೌ್]?)', function(c, d) -- mw.log('match', c, d) c = consonants[c] or c if d == "" then return c .. 'a' else return c .. (diacritics[d] or d) end end) text = mw.ustring.gsub(text, '.', nonconsonants) -- anusvara text = mw.ustring.gsub(text, 'ṃ([kgṅ])', 'ṅ%1') text = mw.ustring.gsub(text, 'ṃ([cjñ])', 'ñ%1') text = mw.ustring.gsub(text, 'ṃ([ṭḍṇ])', 'ṇ%1') text = mw.ustring.gsub(text, 'ṃ([tdn])', 'n%1') text = mw.ustring.gsub(text, 'ṃ([pbm])', 'm%1') return text end return export mxi4oniiqh5nb9q5gbnyfc13drc97v6 Module:ks-Deva-translit 828 5306 13332 2022-08-04T05:50:30Z Asinis632 1829 Created page with "local export = {} local consonants = { ['क'] = 'k', ['ख'] = 'kh', ['ग'] = 'g', ['ङ'] = 'ṅ', ['च'] = 'c', ['छ'] = 'ch', ['ज'] = 'j', ['ञ'] = 'ñ', ['ट'] = 'ṭ', ['ठ'] = 'ṭh', ['ड'] = 'ḍ', ['ण'] = 'ṇ', ['त'] = 't', ['थ'] = 'th', ['द'] = 'd', ['न'] = 'n', ['प'] = 'p', ['फ'] = 'ph', ['ब'] = 'b', ['म'] = 'm', ['य'] = 'y', ['र'] = 'r', ['ल'] = 'l', ['व'] = 'w', ['श'] = 'ś', ['ष'] = 'ṣ', ['स'] = 's', ['..." Scribunto text/plain local export = {} local consonants = { ['क'] = 'k', ['ख'] = 'kh', ['ग'] = 'g', ['ङ'] = 'ṅ', ['च'] = 'c', ['छ'] = 'ch', ['ज'] = 'j', ['ञ'] = 'ñ', ['ट'] = 'ṭ', ['ठ'] = 'ṭh', ['ड'] = 'ḍ', ['ण'] = 'ṇ', ['त'] = 't', ['थ'] = 'th', ['द'] = 'd', ['न'] = 'n', ['प'] = 'p', ['फ'] = 'ph', ['ब'] = 'b', ['म'] = 'm', ['य'] = 'y', ['र'] = 'r', ['ल'] = 'l', ['व'] = 'w', ['श'] = 'ś', ['ष'] = 'ṣ', ['स'] = 's', ['ह'] = 'h', ['च़'] = 'ċ', ['छ़'] = 'ċh', ['ज़'] = 'z',['फ़']='f', ['क़'] = 'q', ['ख़'] = 'x', ['ग़'] = 'g', ['भ'] = 'bh', --found ocassionally in some Sanskrit loanwords } local diacritics = { ['ा'] = 'ā', ['ॅ'] = 'ạ', ['ॉ'] = 'ạ̄', ['ॖ'] = 'ụ', ['ॗ'] = 'ụ̄', ['ि'] = 'i', ['ी'] = 'ī', ['ु'] = 'u', ['ू'] = 'ū', ['ृ'] = 'ṛ', ['ॆ'] = 'e', ['े'] = 'ē', ['ै'] = 'ai', ['ॊ'] = 'o', ['ो'] = 'ō', ['ॏ'] = 'ô', ['ौ'] = 'au', ['्'] = '',['ऺ'] = 'ạ', ['ऻ']='ạ̄' } local tt = { -- vowels ['अ'] = 'a', ['आ'] = 'ā', ['ॲ'] = 'ạ', ['ऑ'] = 'ạ̄', ['ॶ'] = 'ụ', ['ॷ'] = 'ụ̄', ['इ'] = 'i', ['ई'] = 'ī', ['उ'] = 'u', ['ऊ'] = 'ū', ['ऋ'] = 'ṛ', ['ऎ'] = 'e', ['ए'] = 'ē', ['ऐ'] = 'ai', ['ऒ'] = 'o', ['ओ'] = 'ō', ['ॵ'] = 'ô', ['औ'] = 'au', ['ॳ'] = 'ạ', ['ॴ']= 'ạ̄', --chandrabindu ['ँ'] = 'm̐', --until a better method is found -- anusvara ['ं'] = 'ṃ', --until a better method is found -- visarga ['ः'] = 'ḥ', -- avagraha ['ऽ'] = '’', --numerals ['०'] = '0', ['१'] = '1', ['२'] = '2', ['३'] = '3', ['४'] = '4', ['५'] = '5', ['६'] = '6', ['७'] = '7', ['८'] = '8', ['९'] = '9', --punctuation ['।'] = '.', --danda ['॥'] = '.', --double danda ['ॐ'] = 'om', } function export.tr(text, lang, sc) text = mw.ustring.gsub(text, '(.[़]?.[़]?)$', '%1्') text = mw.ustring.gsub(text, '([कखगघङचछजझञटठडढणतथदधनपफबभमयरलळवशषसहक़ख़]़?)' .. --tbd later '([ािॅॉीुॖॗूृॄॢॣेैोौ्ॆॉॊौॏऺऻ]?)', function(c, d) if d == "" then return consonants[c] .. 'a' else return consonants[c] .. diacritics[d] end end) text = mw.ustring.gsub(text, '.', tt) text = mw.ustring.gsub(text, '्$', '') return text end return export hmsvbooucux0e79ywz5erx5hjkwqwgs Module:Guru-translit 828 5307 13333 2022-08-04T05:51:58Z Asinis632 1829 Created page with "local export = {} local conv = { --consonants without nukta ["ਸ"] = "s", ["ਹ"] = "h", ["ਕ"] = "k", ["ਖ"] = "kh", ["ਗ"] = "g", ["ਘ"] = "gh", ["ਙ"] = "ṅ", ["ਚ"] = "c", ["ਛ"] = "ch", ["ਜ"] = "j", ["ਝ"] = "jh", ["ਞ"] = "ñ", ["ਟ"] = "ṭ", ["ਠ"] = "ṭh", ["ਡ"] = "ḍ", ["ਢ"] = "ḍh", ["ਣ"] = "ṇ", ["ਤ"] = "t", ["ਥ"] = "th", ["ਦ"] = "d", ["ਧ"] = "dh", ["ਨ"] = "n", ["ਪ"] = "p", ["ਫ"] = "ph", ["ਬ"] = "b", ["ਭ"] =..." Scribunto text/plain local export = {} local conv = { --consonants without nukta ["ਸ"] = "s", ["ਹ"] = "h", ["ਕ"] = "k", ["ਖ"] = "kh", ["ਗ"] = "g", ["ਘ"] = "gh", ["ਙ"] = "ṅ", ["ਚ"] = "c", ["ਛ"] = "ch", ["ਜ"] = "j", ["ਝ"] = "jh", ["ਞ"] = "ñ", ["ਟ"] = "ṭ", ["ਠ"] = "ṭh", ["ਡ"] = "ḍ", ["ਢ"] = "ḍh", ["ਣ"] = "ṇ", ["ਤ"] = "t", ["ਥ"] = "th", ["ਦ"] = "d", ["ਧ"] = "dh", ["ਨ"] = "n", ["ਪ"] = "p", ["ਫ"] = "ph", ["ਬ"] = "b", ["ਭ"] = "bh", ["ਮ"] = "m", ["ਯ"] = "y", ["ਰ"] = "r", ["ਲ"] = "l", ["ਵ"] = "v", ["ੜ"] = "ṛ", --consonants with nukta ["ਸ਼"] = "ś", ["ਖ਼"] = "x", ["ਗ਼"] = "ġ", ["ਜ਼"] = "z", ["ਫ਼"] = "f", ["ਲ਼"] = "ḷ", ["ਕ਼"] = "q", ["ਡ਼"] = "ṛ", -- vowels ["ਾ"] = "ā", ["ਿ"] = "i", ["ੀ"] = "ī", ["ੁ"] = "u", ["ੂ"] = "ū", ["ੇ"] = "e", ["ੈ"] = "ai", ["ੋ"] = "o", ["ੌ"] = "au", -- other diacritics ["ੰ"] = "N", --ṭippi: nasalize ["ਂ"] = "N", --bindi: nasalize ["ੱ"] = "ː", --addak: geminate ["੍"] = "", --halant, supresses the inherent vowel "a" ["ਃ"] = "h", --voiceless "h" sound (tone raiser) -- independent vowels ["ਅ"] = "a", ["ਆ"] = "ā", ["ਇ"] = "i", ["ਈ"] = "ī", ["ਉ"] = "u", ["ਊ"] = "ū", ["ਏ"] = "ē", ["ਐ"] = "ai", ["ਓ"] = "o", ["ਔ"] = "au", -- digits ["੦"] = "0", ["੧"] = "1", ["੨"] = "2", ["੩"] = "3", ["੪"] = "4", ["੫"] = "5", ["੬"] = "6", ["੭"] = "7", ["੮"] = "8", ["੯"] = "9", } local nasal_assim = { ["[kg]h?"] = "ṅ", ["[cj]h?"] = "ñ", ["[ṭḍ]h?"] = "ṇ", ["[td]h?"] = "n", ["[pb]h?"] = "m", ["n"] = "n", ["m"] = "m", ["s"] = "n", } -- translit any words or phrases function export.tr(text, lang, sc) local c = "([ਸਹਕਖਗਘਙਚਛਜਝਞਟਠਡਢਣਤਥਦਧਨਪਫਬਭਮਯਰਲਵੜː]਼?)" local y = "ਯ" local v = "([aਾਿੀੁੂੇੈੋੌ੍])" local virama = "੍" local n = "([ੰਂ]?)" local nukta = "([ਸਖਗਜਫਲਕਡ]਼)" local can_drop = mw.ustring.gsub(c,y,"") local no_virama = mw.ustring.gsub(v,virama,"") text = text .. " " text = mw.ustring.gsub(text,c,"%1a") text = mw.ustring.gsub(text,"a"..v,"%1") -- mw.log(text) text = mw.ustring.gsub(text,v..n..can_drop.."a ","%1%2%3 ") --ending -- mw.log(text) text = mw.ustring.gsub(text,v..n..can_drop.."a"..c..v,"%1%2%3%4%5") -- mw.log(text) text = mw.ustring.gsub(text,nukta,conv) text = mw.ustring.gsub(text,".",conv) for key,val in pairs(nasal_assim) do text = mw.ustring.gsub(text,"N("..key..")",val.."%1") end text = mw.ustring.gsub(text,"([aiueaiauoāīū])N ", "%1̃ ") text = mw.ustring.gsub(text,"(.?)N", "%1̃") text = mw.ustring.gsub(text,"ː(.)","%1%1") text = mw.ustring.gsub(text," ?।",".") text = mw.ustring.gsub(text," $","") return mw.ustring.toNFC(text) end return export 918ml8bvf8cq8wemj1srop2cwolisuj Module:gu-translit 828 5308 13334 2022-08-04T05:53:31Z Asinis632 1829 Created page with "local export = {} local gsub = mw.ustring.gsub local match = mw.ustring.match local conv = { -- consonants ['ક'] = 'k', ['ખ'] = 'kh', ['ગ'] = 'g', ['ઘ'] = 'gh', ['ઙ'] = 'ṅ', ['ચ'] = 'c', ['છ'] = 'ch', ['જ'] = 'j', ['ઝ'] = 'jh', ['ઞ'] = 'ñ', ['ટ'] = 'ṭ', ['ઠ'] = 'ṭh', ['ડ'] = 'ḍ', ['ઢ'] = 'ḍh', ['ણ'] = 'ṇ', ['ત'] = 't', ['થ'] = 'th', ['દ'] = 'd', ['ધ'] = 'dh', ['ન'] = 'n', ['પ'] = 'p', ['ફ'] = 'ph', ['બ..." Scribunto text/plain local export = {} local gsub = mw.ustring.gsub local match = mw.ustring.match local conv = { -- consonants ['ક'] = 'k', ['ખ'] = 'kh', ['ગ'] = 'g', ['ઘ'] = 'gh', ['ઙ'] = 'ṅ', ['ચ'] = 'c', ['છ'] = 'ch', ['જ'] = 'j', ['ઝ'] = 'jh', ['ઞ'] = 'ñ', ['ટ'] = 'ṭ', ['ઠ'] = 'ṭh', ['ડ'] = 'ḍ', ['ઢ'] = 'ḍh', ['ણ'] = 'ṇ', ['ત'] = 't', ['થ'] = 'th', ['દ'] = 'd', ['ધ'] = 'dh', ['ન'] = 'n', ['પ'] = 'p', ['ફ'] = 'ph', ['બ'] = 'b', ['ભ'] = 'bh', ['મ'] = 'm', ['ય'] = 'y', ['ર'] = 'r', ['લ'] = 'l', ['વ'] = 'v', ['ળ'] = 'ḷ', ['શ'] = 'ś', ['ષ'] = 'ṣ', ['સ'] = 's', ['હ'] = 'h', ['ત઼'] = 't̰', ['જ઼'] = 'z', ['ંઘ઼'] = 'ng', ['ડ઼'] = 'ṛ', ['ઢ઼'] = 'ṛh', ['ન઼'] = 'ṉ', ['ફ઼'] = 'f', --vowel diacritics ['ા'] = 'ā', ['િ'] = 'i', ['ી'] = 'ī', ['ુ'] = 'u', ['ૂ'] = 'ū', ['ૃ'] = 'ṛ', ['ૄ'] = 'ṝ', ['ે'] = 'e', ['ૈ'] = 'ai', ['ો'] = 'o', ['ૌ'] = 'au', ['ૅ'] = 'ɛ', ['ૉ'] = 'ɔ', -- vowel mātras ['અ'] = 'a', ['આ'] = 'ā', ['ઇ'] = 'i', ['ઈ'] = 'ī', ['ઉ'] = 'u', ['ઊ'] = 'ū', ['ઋ'] = 'ru', ['ૠ'] = 'ṝ', ['એ'] = 'e', ['ઐ'] = 'ai', ['ઓ'] = 'o', ['ઔ'] = 'au', ['ઍ'] = 'ɛ', ['ઑ'] = 'ɔ', -- chandrabindu ['ઁ'] = 'm̐', --until a better method is found -- anusvara ['ં'] = 'ṃ', --until a better method is found -- visarga ['ઃ'] = 'ḥ', -- virama ['્'] = '', -- avagraha ['ઽ'] = '’', --numerals ['૦'] = '0', ['૧'] = '1', ['૨'] = '2', ['૩'] = '3', ['૪'] = '4', ['૫'] = '5', ['૬'] = '6', ['૭'] = '7', ['૮'] = '8', ['૯'] = '9', --punctuation ['।'] = '.', --danda ['+'] = '', -- compound separator --om ['ૐ'] = 'OM', } local nasal_assim = { ["[kg]h?"] = "ṅ", ["[cj]h?"] = "ñ", ["[ṭḍṛ]h?"] = "ṇ", ["[td]h?"] = "n", ["[pb]h?"] = "m", ["n"] = "n", ["m"] = "m", } function export.tr(text, lang, sc) local c = '([કખગઘઙચછજઝઞટઠડઢતથદધપફબભશષસયરલવહણનમ]઼?)' local no_drop = 'ય' local final_no_drop = 'યરલવહનમ' local v = '([a્ાિીુૂેૈોૌૃૄૅૉ]ઁ?)' local virama = '(્)' local n = '(ં?)' local nukta = '([તજઘડઢનફ]઼)' local can_drop = gsub(c,"["..no_drop.."]","") local final_can_drop = gsub(c,"["..final_no_drop.."]","") local no_virama = gsub(v,virama,"") text = text .. " " --text = gsub(text,"(%S)"..c.."%2","%1ː%2") text = gsub(text,c,"%1a") text = gsub(text,"a"..v,"%1") text = gsub(text,no_virama..n..can_drop.."a ","%1%2%3 ") --ending text = gsub(text,virama..n..final_can_drop.."a ","%1%2%3 ") --ending local pattern = no_virama..n..can_drop.."a"..c..no_virama while match(text,"(.*)"..pattern) do text = gsub(text,"(.*)"..pattern,"%1%2%3%4%5%6") end text = gsub(text,nukta,conv) text = gsub(text,".",conv) for key,val in pairs(nasal_assim) do text = gsub(text,"([aeiou])ṃ("..key..")", "%1"..val.."%2") end text = gsub(text,"([aiueēoāīū])ṃ", "%1̃") text = gsub(text,"ː(.)","%1%1") text = gsub(text," $","") text = gsub(text,"ā̃tar","āntar") text = gsub(text,"OM","oṃ") text = gsub(text, 'a*%*a*', 'a') return mw.ustring.toNFC(text) end return export 2v8ys1yge7tro3ympvh67cw8da9rjw6 Module:xal-translit 828 5309 13335 2022-08-04T05:55:06Z Asinis632 1829 Created page with "local export = {} local trtab = { [0x0410] = "A" , [0x0430] = "a" , -- A [0x04D8] = "Ä" , [0x04D9] = "ä" , -- SCHWA [0x0411] = "B" , [0x0431] = "b" , -- BE [0x0412] = "V" , [0x0432] = "v" , -- VE [0x0413] = "G" , [0x0433] = "g" , -- GHE [0x04BA] = "H" , [0x04BB] = "h" , -- SHHA [0x0414] = "D" , [0x0434] = "d" , -- DE -- IE is handled specially [0x0401] = "Yo", [0x0451] = "yo", -- IO [0x0416] = "Ž" , [0x0436] = "ž" , -- ZHE..." Scribunto text/plain local export = {} local trtab = { [0x0410] = "A" , [0x0430] = "a" , -- A [0x04D8] = "Ä" , [0x04D9] = "ä" , -- SCHWA [0x0411] = "B" , [0x0431] = "b" , -- BE [0x0412] = "V" , [0x0432] = "v" , -- VE [0x0413] = "G" , [0x0433] = "g" , -- GHE [0x04BA] = "H" , [0x04BB] = "h" , -- SHHA [0x0414] = "D" , [0x0434] = "d" , -- DE -- IE is handled specially [0x0401] = "Yo", [0x0451] = "yo", -- IO [0x0416] = "Ž" , [0x0436] = "ž" , -- ZHE [0x0496] = "J" , [0x0497] = "j" , -- ZHE WITH DESCENDER [0x0417] = "Z" , [0x0437] = "z" , -- ZE [0x0418] = "I" , [0x0438] = "i" , -- I [0x0419] = "Y" , [0x0439] = "y" , -- SHORT I [0x041A] = "K" , [0x043A] = "k" , -- KA [0x041B] = "L" , [0x043B] = "l" , -- EL [0x041C] = "M" , [0x043C] = "m" , -- EM [0x041D] = "N" , [0x043D] = "n" , -- EN [0x04A2] = "Ñ" , [0x04A3] = "ñ" , -- EN WITH DESCENDER [0x041E] = "O" , [0x043E] = "o" , -- O [0x04E8] = "Ö" , [0x04E9] = "ö" , -- BARRED O [0x041F] = "P" , [0x043F] = "p" , -- PE [0x0420] = "R" , [0x0440] = "r" , -- ER [0x0421] = "S" , [0x0441] = "s" , -- ES [0x0422] = "T" , [0x0442] = "t" , -- TE [0x0423] = "U" , [0x0443] = "u" , -- U [0x04AE] = "Ü" , [0x04AF] = "ü" , -- STRAIGHT U [0x0424] = "F" , [0x0444] = "f" , -- EF [0x0425] = "X" , [0x0445] = "x" , -- HA [0x0426] = "Ts", [0x0446] = "ts", -- TSE [0x0427] = "Ç" , [0x0447] = "ç" , -- CHE [0x0428] = "Ş" , [0x0448] = "ş" , -- SHA [0x0429] = "Şç", [0x0449] = "şç", -- SHCHA [0x042A] = "ʺ" , [0x044A] = "ʺ" , -- HARD SIGN [0x042B] = "Y" , [0x044B] = "y" , -- YERU [0x042C] = "ʹ" , [0x044C] = "ʹ" , -- SOFT SIGN [0x042D] = "E" , [0x044D] = "e" , -- E [0x042E] = "Yu", [0x044E] = "yu", -- YU [0x042F] = "Ya", [0x044F] = "ya" -- YA } local gives_e = { [0x04D8] = true, [0x04D9] = true, -- SCHWA [0x0411] = true, [0x0431] = true, -- BE [0x0412] = true, [0x0432] = true, -- VE [0x0413] = true, [0x0433] = true, -- GHE [0x04BA] = true, [0x04BB] = true, -- SHHA [0x0414] = true, [0x0434] = true, -- DE [0x0416] = true, [0x0436] = true, -- ZHE [0x0496] = true, [0x0497] = true, -- ZHE WITH DESCENDER [0x0417] = true, [0x0437] = true, -- ZE [0x0419] = true, [0x0439] = true, -- SHORT I [0x041A] = true, [0x043A] = true, -- KA [0x041B] = true, [0x043B] = true, -- EL [0x041C] = true, [0x043C] = true, -- EM [0x041D] = true, [0x043D] = true, -- EN [0x04A2] = true, [0x04A3] = true, -- EN WITH DESCENDER [0x041F] = true, [0x043F] = true, -- PE [0x0420] = true, [0x0440] = true, -- ER [0x0421] = true, [0x0441] = true, -- ES [0x0422] = true, [0x0442] = true, -- TE [0x0424] = true, [0x0444] = true, -- EF [0x0425] = true, [0x0445] = true, -- HA [0x0426] = true, [0x0446] = true, -- TSE [0x0427] = true, [0x0447] = true, -- CHE [0x0428] = true, [0x0448] = true, -- SHA [0x0429] = true, [0x0449] = true -- SHCHA } local tt_Mong = { ["ᡃ"] = "ː", ["ᠠ"] = "a", ["ᡄ"] = "e", ["ᡅ"] = "i", ["ᡆ"] = "o", ["ᡈ"] = "ö", ["ᡇ"] = "u", ["ᡉ"] = "ü", ["ᠨ"] = "n", ["ᡊ"] = "ng", ["ᡋ"] = "b", ["ᡌ"] = "p", ["ᡍ"] = "x", ["ᡎ"] = "g", ["ᡏ"] = "m", ["ᠯ"] = "l", ["ᠰ"] = "s", ["ᠱ"] = "š", ["ᡐ"] = "t", ["ᡑ"] = "d", ["ᡒ"] = "ċ", ["ᡓ"] = "j", ["ᡔ"] = "ć", ["ᡕ"] = "y", ["ᠷ"] = "r", ["ᡖ"] = "w", ["ᠺ"] = "k", ["ᡗ"] = "ģ", ["ᡙ"] = "h", ["ᡚ"] = "ĵ", ["ᡛ"] = "ń", ["ᡜ"] = "ź", ["ᢘ"] = "t", ["ᢙ"] = "ž", ["᠎"] = "-", ["︖"] = "?", ["︕"] = "!", ["᠂"] = ",", ["᠃"] = "." } function export.tr(text, lang, sc) local result = {} local last = false for num in mw.ustring.gcodepoint(text) do if (num == 0x0415) or (num == 0x0435) then -- CYRILLIC CAPITAL/SMALL LETTER IE if gives_e[last] then table.insert(result, num == 0x0415 and "E" or "e") else table.insert(result, num == 0x0415 and "Ye" or "ye") end else table.insert(result, trtab[num] or mw.ustring.char(num)) end if (num ~= 0x0300) and (num ~= 0x0301) then -- COMBINING GRAVE/ACUTE ACCENT last = num end end return table.concat(result) end return export pzhhn0229ymcbfb6awku6hc3udzzmbc