Module:mnc-Latn-translit

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

Manchu reverse transliteration module, called by {{mnc-Latn-translit}}.


local export = {}

local vowel = {
	 = "ᠠ",
	 = "ᡝ",
	 = "ᡳ",
	 = "ᡟ",
	 = "ᠣ",
	 = "ᡠ",
	 = "ᡡ",
}

local consonant = {
	 = "ᠨ",
	 = "ᠩ",
	 = "ᡴ",
	 = "ᡤ",
	 = "ᡥ",
	 = "ᠪ",
	 = "ᡦ",
	 = "ᠰ",
	 = "ᡧ",
	 = "ᡨ",
	 = "ᡩ",
	 = "ᠯ",
	 = "ᠮ",
	 = "ᠴ",
	 = "ᠵ",
	 = "ᠶ",
	 = "ᡵ",
	 = "ᡶ",
	 = "ᠸ",
	 = "ᠺ",
	 = "ᡬ",
	 = "ᡭ",
	 = "ᡮ",
	 = "ᡮᡟ",
	 = "ᡯ",
	 = "ᡰ",
	 = "ᠰᡟ",
	 = "ᡱ",
	 = "ᡱᡳ",
	 = "ᡷ",
	 = "ᡷᡳ",
}

function export.tr(text)
	if type(text) == "table" then
		text = text:getParent().args
	end
	text = mw.ustring.gsub(text, "ng", consonant)
	text = mw.ustring.gsub(text, "ts", consonant)
	text = mw.ustring.gsub(text, "dz", consonant)
	text = mw.ustring.gsub(text, "'?y?", consonant)
	text = mw.ustring.gsub(text, ".", vowel)
	return text
end

return export