local data = {}

local U = mw.ustring.char

local dot_below = U(0x323)	-- dot below
local caron = U(0x30C)	-- caron
local circumflex  = U(0x302)	-- circumflex
local macron  = U(0x304)	-- macron
local gcaron = U(0x1E7) -- latin small letter g with caron
local scaron = U(0x161) -- latin small letter s with caron

data = {
	[1] = {
		["g" .. caron] = "𐼄", -- gimel
		["s" .. caron] = "𐫢", -- shin
	},
	[2] = {
		["ʾ"] = "𐼀", -- aleph
		["β"] = "𐼂", -- beth
		["ɣ"] = "𐼄", -- gimel
		["h"] = "𐼅", -- he
		["w"] = "𐼇", -- waw
		["z"] = "𐼈", -- zayin
		["x"] = "𐼉", -- heth
		["y"] = "𐼊", -- yodh
		["k"] = "𐼋", -- kaph
		["δ"] = "𐼌", -- lamedh
		["m"] = "𐼍", -- mem
		["n"] = "𐼎", -- nun
		["s"] = "𐼑", -- samekh
		["ʿ"] = "𐼒", -- ayin
		["p"] = "𐼔", -- pe
		["c"] = "𐼕", -- sadhe
		["r"] = "𐼘", -- resh-ayin-daleth
		[scaron] = "𐼙", -- shin
		["t"] = "𐼚", -- taw
		["1/2"] = "𐼦", -- 1/2
		["100"] = "𐼥", -- one hundred
		["10"] = "𐼢", -- ten
		["1"] = "𐼝", -- one
		["20"] = "𐼣", -- twenty
		["2"] = "𐼞", -- two
		["30"] = "𐼤", -- thirty
		["3"] = "𐼟", -- three
		["4"] = "𐼠", -- four
		["5"] = "𐼡", -- five
	},
	[3] = {
		["𐼀%f[%s%p%z]"] = "𐼁", -- final aleph
		["𐼂%f[%s%p%z]"] = "𐼃", -- final beth
		["𐼅%f[%s%p%z]"] = "𐼆", -- final he
		["𐼎%f[%s%p%z]"] = "𐼏", -- final nun
		["𐼕%f[%s%p%z]"] = "𐼖", -- final sadhe
		["𐼚%f[%s%p%z]"] = "𐼛", -- final taw
	},
}

data["Sogo-tr"] = {
	{
		["’"] = "ʾ", ["a" .. circumflex] = "ʾ", ["a" .. macron] = "ʾ", ["a"] = "ʾ",
		["‘"] = "ʿ", ["e" .. circumflex] = "ʿ", ["e" .. macron] = "ʿ", ["e"] = "ʿ", 
		["b"] = "β", ["B"] = "β",
		["c" .. caron] = "c", ["S" .. caron] = "c",
		["d"] = "δ", ["L"] = "δ",
		["g" .. caron] = "ɣ", ["G"] = "ɣ",
		["H" .. dot_below] = "x",
		["S"] = scaron, ["s" .. caron] = scaron,
	},
}

return data
"https://si.wiktionary.org/w/index.php?title=Module:typing-aids/data/Sogo&oldid=193495" වෙතින් සම්ප්‍රවේශනය කෙරිණි