Module:User:Crom daba/ket-translit

Hello, you have come here looking for the meaning of the word Module:User:Crom daba/ket-translit. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Crom daba/ket-translit, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Crom daba/ket-translit in singular and plural. Everything you need to know about the word Module:User:Crom daba/ket-translit you have here. The definition of the word Module:User:Crom daba/ket-translit will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Crom daba/ket-translit, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

Language code in page name (User:Crom daba/ket) not recognized.


local u = mw.ustring.char

local MACRON    = u(0x0304)
local DOTABOVE  = u(0x0307)
local DOTBELOW  = u(0x0323)

local str_gsub, ugsub = string.gsub, mw.ustring.gsub
local UTF8char = '*'

local export = {}

local tab = {
	='A', ='a', ='B', ='b', ='V', ='V',
	='G', ='g', ='D', ='d', ='E', ='e',
	='Jo', ='jo',	='Z', ='z', ='Z', ='z',
	='I', ='i',  ='J', ='j', ='K', ='k',
	='Q', ='q', ='L', ='l', ='M', ='m',
	='N', ='n', ='Ŋ', ='ŋ', ='O', ='o',
	='Ọ ', ='̣ o', ='P', ='p', ='R', ='r',
	='S', ='s', ='T', ='t', ='U', ='u',
	='F', ='f', ='H', ='h', ='C', ='c', 
	='Č', ='č', ='Š', ='š',	='Šč', ='šč',
	='Ə', ='ə', ='Ə̣', ='ə̣', ='Y', ='y',
	='ʼ', ="ʼ",  ='ˀ', ='E', ='e', ='Ju', ='ju',
	='Ja', ='ja',

	 
}
 
function export.tr(text, lang, sc)
	for i, replacement in ipairs(other) do
		text = str_gsub(text, unpack(replacement))
	end


	text = ugsub(text,
		"(?)е",
		"%1je")
    text = ugsub(text,
    	"(?)и",
    	"%1ji")
    text = str_gsub(text, "^Е","Ẹ")
    text = str_gsub(text, "^е","ẹ")
    text = ugsub(text, "()Е","%1Ẹ")
    text = ugsub(text, "()е","%1ẹ")
 
    return (str_gsub(text, UTF8char, tab))
end

return export