Module:lnk-pro-morph/data: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
return {
local citation_data = {
-- [CITATION] = LINK --
-- [CITATION] = LINK --
["-Ce"] = "-Ces",
["-Ce"] = "-Ces",
Line 76: Line 76:
["-tʰ"] = "-tʰVs",
["-tʰ"] = "-tʰVs",
["-ɯwdʱ"] = "-ɯwdʱɯs",
["-ɯwdʱ"] = "-ɯwdʱɯs",
["-Vbʱit"] = "-Vbʱit",
["-Vbʱit"] = "-Vbʱitis",
["-Vk"] = "-VkVs",
["-Vk"] = "-VkVs",
["-Vn"] = "-VnVs",
["-Vn"] = "-VnVs",
Line 112: Line 112:
["sr̥n-"] = "sr̥(n)-",
["sr̥n-"] = "sr̥(n)-",
["sr̥(n)-"] = "sr̥(n)-",
["sr̥(n)-"] = "sr̥(n)-",
}
local alt_data = {
["-ǽntæs"] = "-(h)ǽntæs",
["-hǽntæs"] = "-(h)ǽntæs",
["-cjVs"] = "-(i)cjis",
["-icjis"] = "-(i)cjis",
["-ɟɯs"] = "-(i)ɟɯs",
["-iɟɯs"] = "-(i)ɟɯs",
["-áras"] = "-(t)áras",
["-aras"] = "-(t)aras",
["-táras"] = "-(t)áras",
["-taras"] = "-(t)aras",
["-b"] = "-(ɯ)b(ɯ)",
["-bɯ"] = "-(ɯ)b(ɯ)",
["-ɯb"] = "-(ɯ)b(ɯ)",
["-ɯbɯ"] = "-(ɯ)b(ɯ)",
["-VlVs"] = "-(V)lVs",
["-lVs"] = "-(V)lVs",
["-ntjVs"] = "-(V)ntjVs",
["-VntjVs"] = "-(V)ntjVs",
["-kʼas"] = "-kʼa(ʔa)s",
["-kʼaʔas"] = "-kʼa(ʔa)s",
["-kwés"] = "-k(ʰ)wés",
["-kʰwés"] = "-k(ʰ)wés",
["-ń̥kwes"] = "-ń̥k(ʰ)wes",
["-ń̥kʰwes"] = "-ń̥k(ʰ)wes",
["-ʔæwcʰ"] = "-ʔæw(n)cʰ",
["-ʔæwncʰ"] = "-ʔæw(n)cʰ",
["ri-"] = "ri(n)-",
["rin-"] = "ri(n)-",
["ru-"] = "ru(b)-",
["rub-"] = "ru(b)-",
["sr̥-"] = "sr̥(n)-",
["sr̥n-"] = "sr̥(n)-",
}
for i, j in pairs(citation_data) do
if mw.ustring.find(i, "[^%>%-]$") then
alt_data[i] = j
alt_data[i .. "-"] = j
end
end
return {
citation = citation_data,
alt = alt_data,
}
}

Latest revision as of 21:54, 21 July 2024

local citation_data = {
-- [CITATION] = LINK --
	["-Ce"] = "-Ces",
	["-Cé"] = "-Cés",
	["-ǽnt"] = "-(h)ǽntæs",
	["-hǽnt"] = "-(h)ǽntæs",
	["-(h)ǽnt"] = "-(h)ǽntæs",
	["-cj"] = "-(i)cjis",
	["-icj"] = "-(i)cjis",
	["-(i)cj"] = "-(i)cjis",
	["-ɟɯ"] = "-(i)ɟɯs",
	["-iɟɯ"] = "-(i)ɟɯs",
	["-(i)ɟɯ"] = "-(i)ɟɯs",
	["-ár"] = "-(t)áras",
	["-ar"] = "-(t)aras",
	["-tár"] = "-(t)áras",
	["-tar"] = "-(t)aras",
	["-(t)ar"] = "-(t)aras",
	["-(t)ár"] = "-(t)áras",
	["-b"] = "-(ɯ)b(ɯ)",
	["-bɯ"] = "-(ɯ)b(ɯ)",
	["-ɯb"] = "-(ɯ)b(ɯ)",
	["-ɯbɯ"] = "-(ɯ)b(ɯ)",
	["-(ɯ)b(ɯ)"] = "-(ɯ)b(ɯ)",
	["-b(ɯ)"] = "-(ɯ)b(ɯ)",
	["-(ɯ)b"] = "-(ɯ)b(ɯ)",
	["-kʰo"] = "-kʰos",
	["-kʰó"] = "-kʰós",
	["-gʱo"] = "-gʱos",
	["-gʱó"] = "-gʱós",
	["-Vl"] = "-(V)lVs",
	["-l"] = "-(V)lVs",
	["-(V)l"] = "-(V)lVs",
	["-ntj"] = "-(V)ntjVs",
	["-Vntj"] = "-(V)ntjVs",
	["-(V)ntj"] = "-(V)ntjVs",
	["-ǽbʱ"] = "-ǽbʱ",
	["-ǽkje"] = "-ǽkjes",
	["-ajbʱ"] = "-ajbʱ",
	["-áwkʰ"] = "-áwkʰ",
	["-áwl"] = "-áwlas",
	["-bʱǽjt"] = "-bʱǽjt",
	["-bʱít"] = "-bʱít",
	["-dʱó"] = "-dʱós",
	["-ec"] = "-eces",
	["-ece"] = "-eces",
	["-ég"] = "-éges",
	["-óg"] = "-ógos",
	["-hacʼ"] = "-hacʼas",
	["-hɯɟ"] = "-hɯɟ",
	["-iw"] = "-iwis",
	["-íwtʼ"] = "-íwtʼ",
	["-jVŋjæ"] = "-jVŋjæs",
	["-jV́ŋjæ"] = "-jV́ŋjæs",
	["-kʼa"] = "-kʼa(ʔa)s",
	["-kʼaʔ"] = "-kʼa(ʔa)s",
	["-kʼa(ʔ)"] = "-kʼa(ʔa)s",
	["-kʼé"] = "-kʼés",
	["-kwé"] = "-k(ʰ)wés",
	["-kʰwé"] = "-k(ʰ)wés",
	["-k(ʰ)wé"] = "-k(ʰ)wés",
	["-lét"] = "-létes",
	["-l̥kʼý"] = "-l̥kʼý",
	["-m̥"] = "-m̥",
	["-me"] = "-mes",
	["-ń̥kwe"] = "-ń̥k(ʰ)wes",
	["-ń̥kʰwe"] = "-ń̥k(ʰ)wes",
	["-ń̥k(ʰ)we"] = "-ń̥k(ʰ)wes",
	["-ogj"] = "-ogjos",
	["-owkʼ"] = "-owkʼos",
	["-owkʼe"] = "-owkʼes",
	["-r̥"] = "-r̥",
	["-r̥h"] = "-r̥hVs",
	["-r̥hV"] = "-r̥hVs",
	["-tʼa"] = "-tʼas",
	["-tʰ"] = "-tʰVs",
	["-ɯwdʱ"] = "-ɯwdʱɯs",
	["-Vbʱit"] = "-Vbʱitis",
	["-Vk"] = "-VkVs",
	["-Vn"] = "-VnVs",
	["-V́n"] = "-V́nVs",
	["-Vsk"] = "-VskVs",
	["-Vt"] = "-VtVs",
	["-ʔæwcʰ"] = "-ʔæw(n)cʰ",
	["-ʔæwncʰ"] = "-ʔæw(n)cʰ",
	["-ʔæw(n)cʰ"] = "-ʔæw(n)cʰ",
	["<dʱVb>"] = "-dʱVb-",
	["<dʱV́b>"] = "-dʱV́b-",
	["<dV>"] = "-dV-",
	["<gó>"] = "-gó-",
	["<dó>"] = "-dó-",
	["<gá>"] = "-gá-",
	["<gVr>"] = "-gVr-",
	["<ɟŕ̥>"] = "-ɟŕ̥-",
	["<nú>"] = "-nú-",
	["<pV>"] = "-pV-",
	["<r>"] = "-r-",
	["<rV́p>"] = "-rV́p-",
	["<záj>"] = "-záj-",
	["gʱV-"] = "gʱV-",
	["ɟew-"] = "ɟew-",
	["kʰo-"] = "kʰo-",
	["na-"] = "na-",
	["pe-"] = "pe-",
	["ri-"] = "ri(n)-",
	["rin-"] = "ri(n)-",
	["ri(n)-"] = "ri(n)-",
	["ru-"] = "ru(b)-",
	["rub-"] = "ru(b)-",
	["ru(b)-"] = "ru(b)-",
	["sr̥-"] = "sr̥(n)-",
	["sr̥n-"] = "sr̥(n)-",
	["sr̥(n)-"] = "sr̥(n)-",
}

local alt_data = {
	["-ǽntæs"] = "-(h)ǽntæs",
	["-hǽntæs"] = "-(h)ǽntæs",
	["-cjVs"] = "-(i)cjis",
	["-icjis"] = "-(i)cjis",
	["-ɟɯs"] = "-(i)ɟɯs",
	["-iɟɯs"] = "-(i)ɟɯs",
	["-áras"] = "-(t)áras",
	["-aras"] = "-(t)aras",
	["-táras"] = "-(t)áras",
	["-taras"] = "-(t)aras",
	["-b"] = "-(ɯ)b(ɯ)",
	["-bɯ"] = "-(ɯ)b(ɯ)",
	["-ɯb"] = "-(ɯ)b(ɯ)",
	["-ɯbɯ"] = "-(ɯ)b(ɯ)",
	["-VlVs"] = "-(V)lVs",
	["-lVs"] = "-(V)lVs",
	["-ntjVs"] = "-(V)ntjVs",
	["-VntjVs"] = "-(V)ntjVs",
	["-kʼas"] = "-kʼa(ʔa)s",
	["-kʼaʔas"] = "-kʼa(ʔa)s",
	["-kwés"] = "-k(ʰ)wés",
	["-kʰwés"] = "-k(ʰ)wés",
	["-ń̥kwes"] = "-ń̥k(ʰ)wes",
	["-ń̥kʰwes"] = "-ń̥k(ʰ)wes",
	["-ʔæwcʰ"] = "-ʔæw(n)cʰ",
	["-ʔæwncʰ"] = "-ʔæw(n)cʰ",
	["ri-"] = "ri(n)-",
	["rin-"] = "ri(n)-",
	["ru-"] = "ru(b)-",
	["rub-"] = "ru(b)-",
	["sr̥-"] = "sr̥(n)-",
	["sr̥n-"] = "sr̥(n)-",
}

for i, j in pairs(citation_data) do
	if mw.ustring.find(i, "[^%>%-]$") then
		alt_data[i] = j
		alt_data[i .. "-"] = j
	end
end

return {
	citation = citation_data,
	alt = alt_data,
}