45,622
edits
No edit summary |
No edit summary |
||
Line 833: | Line 833: | ||
setmetatable(alldata["5-a"], {__call = function(self, args, data) | setmetatable(alldata["5-a"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local z = sub(stem, - | local z = sub(stem, -2) == "rz" | ||
local stemz = sub(stem, 1, -3) | |||
data.decl_type = "aquatic fifth-declension" | data.decl_type = "aquatic fifth-declension" | ||
table.insert(data.categories, "High Valyrian fifth-declension nouns") | table.insert(data.categories, "High Valyrian fifth-declension nouns") | ||
Line 839: | Line 840: | ||
data.forms["nom_sg"] = {stem .. "ir"} | data.forms["nom_sg"] = {stem .. "ir"} | ||
data.forms["acc_sg"] = data.forms["nom_sg"] | data.forms["acc_sg"] = data.forms["nom_sg"] | ||
data.forms["gen_sg"] = {z and | data.forms["gen_sg"] = {z and stemz .. "rjio" or stem .. "rio"} | ||
data.forms["dat_sg"] = {z and | data.forms["dat_sg"] = {z and stemz .. "rjiot" or stem .. "riot"} | ||
data.forms["loc_sg"] = {stem .. "īr"} | data.forms["loc_sg"] = {stem .. "īr"} | ||
data.forms["ins_sg"] = {z and | data.forms["ins_sg"] = {z and stemz .. "rjȳsi" or stem .. "ȳsi"} | ||
data.forms["com_sg"] = {z and | data.forms["com_sg"] = {z and stemz .. "rjȳmi" or stem .. "ȳmi"} | ||
data.forms["voc_sg"] = {stem .. "ys"} | data.forms["voc_sg"] = {stem .. "ys"} | ||
if not args.nopl then | if not args.nopl then | ||
data.forms["nom_pl"] = {z and | data.forms["nom_pl"] = {z and stemz .. "rja" or stem .. "ra"} | ||
data.forms["acc_pl"] = data.forms["nom_pl"] | data.forms["acc_pl"] = data.forms["nom_pl"] | ||
data.forms["gen_pl"] = {z and | data.forms["gen_pl"] = {z and stemz .. "rjȳti" or stem .. "rȳti"} | ||
data.forms["dat_pl"] = data.forms["gen_pl"] | data.forms["dat_pl"] = data.forms["gen_pl"] | ||
data.forms["loc_pl"] = data.forms["gen_pl"] | data.forms["loc_pl"] = data.forms["gen_pl"] | ||
data.forms["ins_pl"] = {z and | data.forms["ins_pl"] = {z and stemz .. "rjȳssi" or stem .. "rȳssi"} | ||
data.forms["com_pl"] = {z and | data.forms["com_pl"] = {z and stemz .. "rjȳmmi" or stem .. "rȳmmi"} | ||
data.forms["voc_pl"] = {stem .. "as"} | data.forms["voc_pl"] = {stem .. "as"} | ||
data.forms["nom_pa"] = {z and | data.forms["nom_pa"] = {z and stemz .. "rjin" or stem .. "rin"} | ||
data.forms["acc_pa"] = {z and | data.forms["acc_pa"] = {z and stemz .. "rjini" or stem .. "rini"} | ||
data.forms["gen_pa"] = {z and | data.forms["gen_pa"] = {z and stemz .. "rjino" or stem .. "rino"} | ||
data.forms["dat_pa"] = {z and | data.forms["dat_pa"] = {z and stemz .. "rjinti" or stem .. "rinti"} | ||
data.forms["loc_pa"] = {z and | data.forms["loc_pa"] = {z and stemz .. "rjinni" or stem .. "rinni"} | ||
data.forms["ins_pa"] = {z and | data.forms["ins_pa"] = {z and stemz .. "rjissi" or stem .. "rissi"} | ||
data.forms["com_pa"] = {z and | data.forms["com_pa"] = {z and stemz .. "rjimmi" or stem .. "rimmi"} | ||
data.forms["voc_pa"] = data.forms["ins_pa"] | data.forms["voc_pa"] = data.forms["ins_pa"] | ||
data.forms["nom_co"] = {z and | data.forms["nom_co"] = {z and stemz .. "rjir" or stem .. "rir"} | ||
data.forms["acc_co"] = {z and | data.forms["acc_co"] = {z and stemz .. "rjiri" or stem .. "riri"} | ||
data.forms["gen_co"] = {z and | data.forms["gen_co"] = {z and stemz .. "rjiro" or stem .. "riro"} | ||
data.forms["dat_co"] = {z and | data.forms["dat_co"] = {z and stemz .. "rjirti" or stem .. "rirti"} | ||
data.forms["loc_co"] = {z and | data.forms["loc_co"] = {z and stemz .. "rjirri" or stem .. "rirri"} | ||
data.forms["ins_co"] = {z and | data.forms["ins_co"] = {z and stemz .. "rjirzi" or stem .. "rirzi"} | ||
data.forms["com_co"] = {z and | data.forms["com_co"] = {z and stemz .. "rjirmi" or stem .. "rirmi"} | ||
data.forms["voc_co"] = data.forms["ins_co"] | data.forms["voc_co"] = data.forms["ins_co"] | ||
end | end |