বিষয়বস্তুতে চলুন

মডিউল:wuh-pron

উইকিঅভিধান, মুক্ত অভিধান থেকে

এই মডিউলের জন্য মডিউল:wuh-pron/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে

local export = {}
local find = mw.ustring.find
local gsub = mw.ustring.gsub
local match = mw.ustring.match
local gmatch = mw.ustring.gmatch
local gsplit = mw.text.gsplit
local lower = mw.ustring.lower
local upper = mw.ustring.upper

local initialConv = {
-- 'ny' is not used in Sandman's transcription
	["bb"] = "b", ["dd"] = "d", ["gg"] = "g",
	["b"] = "p", ["d"] = "t", ["g"] = "k",
	["p"] = "pʰ", ["t"] = "tʰ", ["k"] = "kʰ",
	["zz"] = "d͡z", ["zzh"] = "ɖ͡ʐ", ["jj"] = "d͡ʑ", ["jjh"] = "ɟ͡ʝ",
	["z"] = "t͡s", ["zh"] = "ʈ͡ʂ", ["j"] = "t͡ɕ", ["jj"] = "c͡ç",
	["c"] = "t͡sʰ", ["ch"] = "ʈ͡ʂʰ", ["q"] = "t͡ɕʰ", ["qh"] = "c͡çʰ",
	["f"] = "f", ["zz"] = "z", ["s"] = "sʰ", ["sh"] = "ʂʰ",
	["xx"] = "ʑ", ["x"] = "ɕ", ["gh"] = "ɣ", ["h"] = "h",
	["m"] = "m", ["n"] = "n", ["ng"] = "ŋ", ["ny"] = "ɲ",
	["l"] = "l", ["lh"] = "ɬ", ["r"] = "ɻ",
	["w"] = "w", ["y"] = "j", ["xh"] = "v",
}

local finalConv = {

	["a"] = "ɑ", ["o"] = "o", ["e"] = "ə",
	["i"] = "i", ["u"] = "u", ["ai"] = "e",
	["ii"] = "i:", ["uu"] = "u:",
	["ua"] = "ʷɑ", ["uai"] = "ʷe", ["ui"] = "ʷi",
	["ia"] = "ʲɑ", ["io"] = "ʲo",
	["ak"] = "ɐᵡ", ["ok"] = "oᵡ", ["ek"] = "əˠ",
	["ang"] = "ɑ̃", ["an"] = "ɛ̃", ["en"] = "ə̃",
	["ong"] = "õ", ["in"] = "ĩ", ["un"] = "ũ",

}

return export