Definition from Wiktionary, the free dictionary
Jump to: navigation, search


@AryamanA Hi, can you create a simple transliteration module for Middle Assamese. So that after reconstructing the sounds, we don't need to find and edit each word. Keep the vowels as: অ = o, আ = a, ই = i, ঈ = ī... ও = ó.. it doesn't have অ’ and এ’.. and the consonants are like Sanskrit or Hindi. Sagir Ahmed Msa (talk) 19:57, 9 March 2018 (UTC)

@Sagir Ahmed Msa: I will get it done soon, I'm a bit busy. —AryamanA (मुझसे बात करेंयोगदान) 02:45, 10 March 2018 (UTC)

Thanks! Sagir Ahmed Msa (talk) 02:58, 10 March 2018 (UTC)

@AryamanA I put the values 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', ['ড়']='r', ['ঢ়']='rh', ['য়']=y


local diacritics = {

['া']='a', ['ি']='i', ['ী']='ī', ['ু']='u', ['ূ']='ū', ['ৃ']='ṛ', ['ৄ']='ṝ', 
['ৢ']='ḷ', ['ৣ']='ḹ', ['ে']='e', ['ৈ']='oi', ['ো']='ó', ['ৌ']='ou',  ['্']=,


local tt = {

-- vowels
['অ']='o', ['আ']='a', ['ই']='i', ['ঈ']='ī', ['উ']='u', ['ঊ']='ū', ['ঋ']='ṛ', ['ৠ']='ṝ',
['ঌ']='ḷ', ['ৡ']='ḹ', ['এ']='e', ['ঐ']='oi', ['ও']='ó', ['ঔ']='ou', 
-- chandrabindu    
['ঁ']='̐', --until a better method is found
-- anusvara    
['ং']='ṅ', --until a better method is found
-- visarga    
-- avagraha
['০']='0', ['১']='1', ['২']='2', ['৩']='3', ['৪']='4', ['৫']='5', ['৬']='6', ['৭']='7', ['৮']='8', ['৯']='9',
   ['॥']='.', --double danda
['।']='.', --danda
   --Vedic extensions
   ['ᳵ']='x', ['ᳶ']='f',
   ['*'] = ,


function, lang, sc)

text = mw.ustring.gsub(
 function(c, d)
  if d == "" then        
   return consonants[c] .. 'o'
   return consonants[c] .. diacritics[d]
text = mw.ustring.gsub(text, '.', tt)

return text


return export Sagir Ahmed Msa (talk) 19:02, 13 March 2018 (UTC)

@Sagir Ahmed Msa: Sorry, I forgot about this... Done now. —AryamanA (मुझसे बात करेंयोगदान) 19:32, 13 March 2018 (UTC)

Thanks Sagir Ahmed Msa (talk) 20:09, 13 March 2018 (UTC)