45,698
edits
(Created page with "d["I"] = { params = { [1] = {}, }, } setmetatable(d["I"], {__call = function(self, args, data) local stem = args[1] data.decl_type = "class I" table.insert(data.categor...") |
No edit summary |
||
Line 1: | Line 1: | ||
local sub = mw.ustring.sub | |||
local d = {} | |||
d["I"] = { | d["I"] = { | ||
params = { | params = { | ||
Line 168: | Line 172: | ||
setmetatable(d["II"], {__call = function(self, args, data) | setmetatable(d["II"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or stem | |||
data.decl_type = "class II" | data.decl_type = "class II" | ||
table.insert(data.categories, "High Valyrian class-II adjectives") | table.insert(data.categories, "High Valyrian class-II adjectives") | ||
data.forms["nom_lun_sg"] = {stem .. " | data.forms["eq"] = {stemm .. "pa"} | ||
data.forms[" | data.forms["comp"] = {stem .. "kta"} | ||
data.forms["sup"] = {stem .. "je"} | |||
if data.pre then | |||
data.forms["nom_lun_sg"] = {stem .. "e"} | |||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms["gen_lun_sg"] = {stem .. "o"} | |||
data.forms["dat_lun_sg"] = {stem .. "o", stem .. "ot"} | |||
data.forms["loc_lun_sg"] = {stem .. "ē"} | |||
data.forms["ins_lun_sg"] = {stem .. "os"} | |||
data.forms["com_lun_sg"] = {stem .. "on", stem .. "om"} | |||
data.forms["voc_lun_sg"] = {stem .. "es"} | |||
data.forms["nom_ter_sg"] = {stem .. "ior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "ȳr"} | |||
data.forms["dat_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "ȳs"} | |||
data.forms["com_ter_sg"] = {stem .. "ȳn", stem .. "ȳm"} | |||
data.forms["voc_ter_sg"] = {stem .. "ios"} | |||
data.forms["nom_lun_pl"] = {stem .. "i"} | |||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "o", stem .. "ot"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["ins_lun_pl"] = {stem .. "os"} | |||
data.forms["com_lun_pl"] = {stem .. "on", stem .. "om"} | |||
data.forms["voc_lun_pl"] = {stem .. "is"} | |||
data.forms["nom_ter_pl"] = {stem .. "iar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "ȳ", stem .. "ȳt"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "ȳs"} | |||
data.forms["com_ter_pl"] = {stem .. "ȳn", stem .. "ȳm"} | |||
data.forms["voc_ter_pl"] = {stem .. "īs"} | |||
else | |||
data.forms["nom_lun_sg"] = {stem .. "e"} | |||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms["gen_lun_sg"] = {stem .. "o"} | |||
data.forms["dat_lun_sg"] = {stem .. "ot"} | |||
data.forms["loc_lun_sg"] = {stem .. "ē"} | |||
data.forms["ins_lun_sg"] = {stem .. "ose"} | |||
data.forms["com_lun_sg"] = {stem .. "ome"} | |||
data.forms["voc_lun_sg"] = {stem .. "es"} | |||
data.forms["nom_ter_sg"] = {stem .. "ior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "ȳro"} | |||
data.forms["dat_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "ȳso"} | |||
data.forms["com_ter_sg"] = {stem .. "ȳmo"} | |||
data.forms["voc_ter_sg"] = {stem .. "ios"} | |||
data.forms["nom_lun_pl"] = {stem .. "i"} | |||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "oti"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms[" | data.forms["ins_lun_pl"] = {stem .. "ossi"} | ||
data.forms[" | data.forms["com_lun_pl"] = {stem .. "ommi"} | ||
data.forms[" | data.forms["voc_lun_pl"] = {stem .. "is"} | ||
data.forms["nom_ter_pl"] = {stem .. "iar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "ȳti"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "ȳssi"} | |||
data.forms["com_ter_pl"] = {stem .. "ȳmmi"} | |||
data.forms["voc_ter_pl"] = {stem .. "īs"} | |||
end | |||
end | |||
}) | |||
d["IIr"] = { | |||
params = { | |||
[1] = {}, | |||
}, | |||
} | |||
setmetatable(d["IIr"], {__call = function(self, args, data) | |||
local stem = args[1] | |||
data.decl_type = "class IIr" | |||
table.insert(data.categories, "High Valyrian class-IIr adjectives") | |||
data.forms["eq"] = {stem .. "rpa"} | |||
data.forms["comp"] = {stem .. "rkta"} | |||
data.forms["sup"] = {stem .. "rje"} | |||
data.forms[" | if data.pre then | ||
data.forms["nom_lun_sg"] = {stem .. "z"} | |||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms["gen_lun_sg"] = {stem .. "ro"} | |||
data.forms["dat_lun_sg"] = {stem .. "ro", stem .. "rot"} | |||
data.forms["loc_lun_sg"] = {stem .. "rē"} | |||
data.forms["ins_lun_sg"] = {stem .. "ros"} | |||
data.forms["com_lun_sg"] = {stem .. "ron", stem .. "rom"} | |||
data.forms["voc_lun_sg"] = {stem .. "res"} | |||
data.forms["nom_ter_sg"] = {stem .. "rior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "rȳr"} | |||
data.forms["dat_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "rȳs"} | |||
data.forms["com_ter_sg"] = {stem .. "rȳn", stem .. "rȳm"} | |||
data.forms["voc_ter_sg"] = {stem .. "rios"} | |||
data.forms[" | data.forms["nom_lun_pl"] = {stem .. "ri"} | ||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "ro", stem .. "rot"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["ins_lun_pl"] = {stem .. "ros"} | |||
data.forms["com_lun_pl"] = {stem .. "ron", stem .. "rom"} | |||
data.forms["voc_lun_pl"] = {stem .. "ris"} | |||
data.forms["nom_ter_pl"] = {stem .. "riar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "rȳ", stem .. "rȳt"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "rȳs"} | |||
data.forms["com_ter_pl"] = {stem .. "rȳn", stem .. "rȳm"} | |||
data.forms["voc_ter_pl"] = {stem .. "rīs"} | |||
else | |||
data.forms["nom_lun_sg"] = {stem .. "z"} | |||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms["gen_lun_sg"] = {stem .. "ro"} | |||
data.forms["dat_lun_sg"] = {stem .. "rot"} | |||
data.forms["loc_lun_sg"] = {stem .. "rē"} | |||
data.forms["ins_lun_sg"] = {stem .. "rose"} | |||
data.forms["com_lun_sg"] = {stem .. "rome"} | |||
data.forms["voc_lun_sg"] = {stem .. "res"} | |||
data.forms["nom_ter_sg"] = {stem .. "rior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "rȳro"} | |||
data.forms["dat_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "rȳso"} | |||
data.forms["com_ter_sg"] = {stem .. "rȳmo"} | |||
data.forms["voc_ter_sg"] = {stem .. "rios"} | |||
data.forms["nom_lun_pl"] = {stem .. "ri"} | |||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "roti"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["ins_lun_pl"] = {stem .. "rossi"} | |||
data.forms["com_lun_pl"] = {stem .. "rommi"} | |||
data.forms["voc_lun_pl"] = {stem .. "ris"} | |||
data.forms["nom_ter_pl"] = {stem .. "riar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "rȳti"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "rȳssi"} | |||
data.forms["com_ter_pl"] = {stem .. "rȳmmi"} | |||
data.forms["voc_ter_pl"] = {stem .. "rīs"} | |||
end | |||
end | |||
}) | |||
d["III"] = { | |||
params = { | |||
[1] = {}, | |||
data. | }, | ||
data. | } | ||
data.forms[" | setmetatable(d["III"], {__call = function(self, args, data) | ||
data.forms[" | local stem = args[1] | ||
data.forms[" | data.decl_type = "class III" | ||
table.insert(data.categories, "High Valyrian class-III adjectives") | |||
data.forms["eq"] = {stem .. "pa"} | |||
data.forms["comp"] = {stem .. "kta"} | |||
data.forms["sup"] = {stem .. "je"} | |||
data.forms["nom_ter_pl"] = {stem .. " | if data.pre then | ||
data.forms["nom_lun_sg"] = {stem .. "ie"} | |||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms[" | data.forms["gen_lun_sg"] = {stem .. "io"} | ||
data.forms["dat_lun_sg"] = {stem .. "io", stem .. "iot"} | |||
data.forms["loc_lun_sg"] = {stem .. "iē"} | |||
data.forms["ins_lun_sg"] = {stem .. "ios"} | |||
data.forms["com_lun_sg"] = {stem .. "ion", stem .. "iom"} | |||
data.forms["voc_lun_sg"] = {stem .. "ies"} | |||
data.forms["nom_ter_sg"] = {stem .. "ior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "ȳr"} | |||
data.forms["dat_ter_sg"] = {stem .. "ȳro", stem .. "ȳrot"} | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "ȳs"} | |||
data.forms["com_ter_sg"] = {stem .. "ȳn", stem .. "ȳm"} | |||
data.forms["voc_ter_sg"] = {stem .. "ios"} | |||
data.forms["nom_lun_pl"] = {stem .. "ī"} | |||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "io", stem .. "iot"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["ins_lun_pl"] = {stem .. "iot"} | |||
data.forms["com_lun_pl"] = {stem .. "ion", stem .. "iom"} | |||
data.forms["voc_lun_pl"] = {stem .. "īs"} | |||
data.forms["nom_ter_pl"] = {stem .. "iar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "ȳ", stem .. "ȳt"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "ȳs"} | |||
data.forms["com_ter_pl"] = {stem .. "ȳn", stem .. "ȳm"} | |||
data.forms["voc_ter_pl"] = {stem .. "īs"} | |||
else | |||
data.forms["nom_lun_sg"] = {stem .. "ie"} | |||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms["gen_lun_sg"] = {stem .. "io"} | |||
data.forms["dat_lun_sg"] = {stem .. "iot"} | |||
data.forms["loc_lun_sg"] = {stem .. "iē"} | |||
data.forms["ins_lun_sg"] = {stem .. "ȳse"} | |||
data.forms["com_lun_sg"] = {stem .. "ȳme"} | |||
data.forms["voc_lun_sg"] = {stem .. "ies"} | |||
data.forms["nom_ter_sg"] = {stem .. "ior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "ȳro"} | |||
data.forms["dat_ter_sg"] = {stem .. "ȳrot"} | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "ȳso"} | |||
data.forms["com_ter_sg"] = {stem .. "ȳmo"} | |||
data.forms["voc_ter_sg"] = {stem .. "ios"} | |||
data.forms["nom_lun_pl"] = {stem .. "ī"} | |||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "ȳti"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["ins_lun_pl"] = {stem .. "ȳssi"} | |||
data.forms["com_lun_pl"] = {stem .. "ȳmmi"} | |||
data.forms["voc_lun_pl"] = {stem .. "īs"} | |||
data.forms["nom_ter_pl"] = {stem .. "iar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "ȳti"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "ȳssi"} | |||
data.forms["com_ter_pl"] = {stem .. "ȳmmi"} | |||
data.forms["voc_ter_pl"] = {stem .. "īs"} | |||
end | |||
end | |||
}) | |||
d["litse"] = function(args, data) | |||
data.decl_type = "class II" | |||
table.insert(data.categories, "High Valyrian class-II adjectives") | |||
local stem = "lits" | |||
data.forms["eq"] = {"līspa"} | |||
data.forms["comp"] = {"līsta"} | |||
data.forms["sup"] = {"līje"} | |||
data.forms[" | if data.pre then | ||
data.forms[" | data.forms["nom_lun_sg"] = {stem .. "e"} | ||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms["gen_lun_sg"] = {stem .. "o"} | |||
data.forms["dat_lun_sg"] = {stem .. "o", stem .. "ot"} | |||
data.forms["loc_lun_sg"] = {stem .. "ē"} | |||
data.forms["ins_lun_sg"] = {stem .. "os"} | |||
data.forms["com_lun_sg"] = {stem .. "on", stem .. "om"} | |||
data.forms["voc_lun_sg"] = {stem .. "es"} | |||
data.forms["nom_ter_sg"] = {stem .. "ior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "ȳr"} | |||
data.forms["dat_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "ȳs"} | |||
data.forms["com_ter_sg"] = {stem .. "ȳn", stem .. "ȳm"} | |||
data.forms["voc_ter_sg"] = {stem .. "ios"} | |||
data.forms["nom_lun_pl"] = {stem .. "i"} | |||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "o", stem .. "ot"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["ins_lun_pl"] = {stem .. "os"} | |||
data.forms["com_lun_pl"] = {stem .. "on", stem .. "om"} | |||
data.forms["voc_lun_pl"] = {stem .. "is"} | |||
data.forms["nom_ter_pl"] = {stem .. "iar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "ȳ", stem .. "ȳt"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "ȳs"} | |||
data.forms["com_ter_pl"] = {stem .. "ȳn", stem .. "ȳm"} | |||
data.forms["voc_ter_pl"] = {stem .. "īs"} | |||
else | |||
data.forms["nom_lun_sg"] = {stem .. "e"} | |||
data.forms["acc_lun_sg"] = data.forms["nom_lun_sg"] | |||
data.forms["gen_lun_sg"] = {stem .. "o"} | |||
data.forms["dat_lun_sg"] = {stem .. "ot"} | |||
data.forms["loc_lun_sg"] = {stem .. "ē"} | |||
data.forms["ins_lun_sg"] = {stem .. "ose"} | |||
data.forms["com_lun_sg"] = {stem .. "ome"} | |||
data.forms["voc_lun_sg"] = {stem .. "es"} | |||
data.forms["nom_ter_sg"] = {stem .. "ior"} | |||
data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"] | |||
data.forms["gen_ter_sg"] = {stem .. "ȳro"} | |||
data.forms["dat_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["loc_ter_sg"] = data.forms["gen_ter_sg"] | |||
data.forms["ins_ter_sg"] = {stem .. "ȳso"} | |||
data.forms["com_ter_sg"] = {stem .. "ȳmo"} | |||
data.forms["voc_ter_sg"] = {stem .. "ios"} | |||
data.forms["nom_lun_pl"] = {stem .. "i"} | |||
data.forms["acc_lun_pl"] = data.forms["nom_lun_pl"] | |||
data.forms["gen_lun_pl"] = {stem .. "oti"} | |||
data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"] | |||
data.forms["ins_lun_pl"] = {stem .. "ossi"} | |||
data.forms["com_lun_pl"] = {stem .. "ommi"} | |||
data.forms["voc_lun_pl"] = {stem .. "is"} | |||
data.forms["nom_ter_pl"] = {stem .. "iar"} | |||
data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"] | |||
data.forms["gen_ter_pl"] = {stem .. "ȳti"} | |||
data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"] | |||
data.forms["ins_ter_pl"] = {stem .. "ȳssi"} | |||
data.forms["com_ter_pl"] = {stem .. "ȳmmi"} | |||
data.forms["voc_ter_pl"] = {stem .. "īs"} | |||
end | |||
end | end | ||
return d |