Module:typing-aids/data/Chrs

From Wiktionary, the free dictionary
Jump to navigation Jump to search


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 scaron = U(0x161) -- latin small letter s with caron

data = {
	[1] = {
		["’"] = "ʾ", ["a" .. circumflex] = "ʾ", ["a" .. macron] = "ʾ",
		["B"] = "b",
		["G"] = "ɣ",
		["H" .. dot_below] = "x",
		["L"] = "δ",
		["e" .. circumflex] = "ʿ", ["e" .. macron] = "ʿ", ["E"] = "ʿ",
		["S"] = "s" .. caron,
	},
	[2] = {
		["s" .. caron] = "𐽁", -- shin
	},
	[3] = {
		["ʾ"] = "𐾰", -- aleph
		["A"] = "𐾱", -- small aleph
		["β"] = "𐾲", -- beth
		["ɣ"] = "𐾳", -- gimel
		["d"] = "𐾴", -- daleth
		["h"] = "𐾵", -- he
		["w"] = "𐾶", -- waw
		["W"] = "𐾷", -- curled waw
		["z"] = "𐾸", -- zayin
		["x"] = "𐾹", -- heth
		["y"] = "𐾺", -- yodh
		["k"] = "𐾻", -- kaph
		["δ"] = "𐾼", -- lamedh
		["m"] = "𐾽", -- mem
		["n"] = "𐾾", -- nun
		["s"] = "𐾿", -- samekh
		["ʿ"] = "𐿀", -- ayin
		["p"] = "𐿁", -- pe
		["r"] = "𐿂", -- resh
		[scaron] = "𐿃", -- shin
		["t"] = "𐿄", -- taw
		["1"] = "𐿅", -- one
		["2"] = "𐿆", -- two
		["3"] = "𐿇", -- three
		["4"] = "𐿈", -- four
		["10"] = "𐿉", -- ten
		["20"] = "𐿊", -- twenty
		["100"] = "𐿋", -- one hundred
	},
}

return data