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
end
text = mw.ustring.gsub(text,"",long_to_short)
text = mw.ustring.gsub(text,"",short_to_long)
return text
end
export.translit = require("Module:nsk-translit").tr
return export