Jump to content

Module:typing-aids/data/Ugar

Wiktionary වෙතින්


local data = {}

local U = mw.ustring.char

local hook_above  = U(0x309)	-- hook above
local breve_below  = U(0x32E)	-- breve below
local dot_below = U(0x323)	-- dot below
local caron = U(0x30C)	-- caron
local line_below  = U(0x331)	-- line below
local dot_above = U(0x307)	-- dot above
local acute = U(0x301)	-- acute
local circumflex_below = U(0x32D)	-- circumflex below

local ahook = U(0x1EA3) -- latin small letter a with hook above
local hbreve = U(0x1E2B) -- latin small letter h with breve below
local hdot = U(0x1E25) -- latin small letter h with dot below
local tdot = U(0x1E6D) -- latin small letter t with dot below
local scaron = U(0x161) -- latin small letter s with caron
local dline = U(0x161) -- latin small letter d with line below
local zdot = U(0x1E0F) -- latin small letter z with dot below
local sdot = U(0x1E63) -- latin small letter s with dot below
local tline = U(0x1E6F) -- latin small letter t with line below
local gdot = U(0x121) -- latin small letter g with dot above
local ihook = U(0x1EC9) -- latin small letter i with hook above
local uhook = U(0x1EE7) -- latin small letter u with hook above
local sacute = U(0x15B) -- latin small letter s with acute
local kdot = U(0x1E33) -- latin small letter k with dot below
local dcircumflex = U(0x1E13) -- latin small letter d with circumflex below

data = {
	[1] = {
		["a"] = ahook,
		["i"] = ihook,
		["u"] = uhook,
		["θ"] = tlne,
		["ð"] = dline,
		["x"] = hbreve, ["ẖ"] = hbreve,
		["ɣ"] = gdot, ["ḡ"] = gdot,
		["ħ"] = hdo,
		["k" .. dot_below] = "q", [kdot] = "q",
		["d" .. circumflex_below] = zdot, [dcircumflex] = zdot,
	},
	[2] = {
		["a" .. hook_above] = "𐎀",
		["h" .. breve_below] = "𐎃",
		["h" .. dot_below] = "𐎈",
		["t" .. dot_below] = "𐎉",
		["s" .. caron] = "𐎌",
		["d" .. line_below] = "𐎏",
		["z" .. dot_below] = "𐎑",
		["s" .. dot_below] = "𐎕",
		["t" .. line_below] = "𐎘",
		["g" .. dot_above] = "𐎙",
		["ỉ" .. hook_above] = "𐎛",
		["u" .. hook_above] = "𐎜",
		["s" .. acute] = "𐎝",
	},
	[3] = {
		[ahook] = "𐎀",
		["b"] = "𐎁",
		["g"] = "𐎂",
		[hbreve] = "𐎃",
		["d"] = "𐎄",
		["h"] = "𐎅",
		["w"] = "𐎆",
		["z"] = "𐎇",
		[hdot] = "𐎈",
		[tdot] = "𐎉",
		["y"] = "𐎊",
		["k"] = "𐎋",
		[scaron] = "𐎌",
		["l"] = "𐎍",
		["m"] = "𐎎",
		[dline] = "𐎏",
		["n"] = "𐎐",
		[zdot] = "𐎑",
		["s"] = "𐎒",
		["ʿ"] = "𐎓",
		["p"] = "𐎔",
		[sdot] = "𐎕",
		["q"] = "𐎖",
		["r"] = "𐎗",
		[tline] = "𐎘",
		[gdot] = "𐎙",
		["t"] = "𐎚",
		[ihook] = "𐎛",
		[uhook] = "𐎜",
		[sacute] = "𐎝",
		["·"] = "𐎟", -- word divider
	},
}

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