ထာမ်ပလိက်တဏအ်ဒးနွံကဵုလိက်စၟတ်သမ္တီမချူလဝ်သာဓက။
သ္ပဂုန်တုဲထာမ်ပလိက်တဏအ်ဒးစၟတ်သမ္တီကဵုလိက်မချူလဝ်နူကဵုဓမံက်ထ္ၜးကဵုဗီုပြၚ်ကိစ္စမရန်တၟအ်လဝ် ကဵု ပရေၚ်မရပ်စပ်လ္တူမုက်လိက်နကဵုလိက်စၟတ်သမ္တီမချူလဝ်သာဓက

local export={}

local long_to_short = {
	["ᐄ"] = "ᐃ",
	["ᐆ"] = "ᐅ",
	["ᐋ"] = "ᐊ",
	["ᐲ"] = "ᐱ",
	["ᐴ"] = "ᐳ",
	["ᐹ"] = "ᐸ",
	["ᑏ"] = "ᑎ",
	["ᑑ"] = "ᑐ",
	["ᑖ"] = "ᑕ",
	["ᑮ"] = "ᑭ",
	["ᑰ"] = "ᑯ",
	["ᑳ"] = "ᑲ",
	["ᒌ"] = "ᒋ",
	["ᒎ"] = "ᒍ",
	["ᒑ"] = "ᒐ",
	["ᒦ"] = "ᒥ",
	["ᒨ"] = "ᒧ",
	["ᒫ"] = "ᒪ",
	["ᓃ"] = "ᓂ",
	["ᓅ"] = "ᓄ",
	["ᓈ"] = "ᓇ",
	["ᓰ"] = "ᓯ",
	["ᓲ"] = "ᓱ",
	["ᓵ"] = "ᓴ",
	["ᔩ"] = "ᔨ",
	["ᔫ"] = "ᔪ",
	["ᔮ"] = "ᔭ",
	["ᕇ"] = "ᕆ",
	["ᕉ"] = "ᕈ",
	["ᕌ"] = "ᕋ",
	["ᔒ"] = "ᔑ",
	["ᔔ"] = "ᔓ",
	["ᔖ"] = "ᔕ",
	["ᕖ"] = "ᕕ",
	["ᕘ"] = "ᕗ",
	["ᕚ"] = "ᕙ",
	["ᕢ"] = "ᕡ",
	["ᕥ"] = "ᕤ",
	["ᕧ"] = "ᕦ",
	["ᓖ"] = "ᓕ",
	["ᓘ"] = "ᓗ",
	["ᓛ"] = "ᓚ",
	["ᐐ"] = "ᐏ",
	["ᐔ"] = "ᐓ",
	["ᐙ"] = "ᐘ",
	["ᖀ"] = "ᕿ",
	["ᖂ"] = "ᖁ",
	["ᖄ"] = "ᖃ",
}

local short_to_long = {
	["ᐗ"] = "ᐛ",
	["ᐘ"] = "ᐛ",
}

local long = "ᐄᐆᐋᐲᐴᐹᑏᑑᑖᑮᑰᑳᒌᒎᒑᒦᒨᒫᓃᓅᓈᓰᓲᓵᔩᔫᔮᕇᕉᕌᔒᔔᔖᕖᕘᕚᕢᕥᕧᓖᓘᓛᐐᐔᐙᖀᖂᖄ"
local short = "ᐗᐘ"

function export.remove_accents(text)
	if type(text) == "table" then
		text = text.args[1]
	end
	text = mw.ustring.gsub(text,"["..long.."]",long_to_short)
	text = mw.ustring.gsub(text,"["..short.."]",short_to_long)
	return text
end

export.translit = require("Module:nsk-translit").tr

return export