45,337
edits
No edit summary |
No edit summary |
||
Line 112: | Line 112: | ||
data.forms["com_co"] = {stemr .. "rarma"} | data.forms["com_co"] = {stemr .. "rarma"} | ||
data.forms["voc_co"] = data.forms["ins_co"] | data.forms["voc_co"] = data.forms["ins_co"] | ||
end | |||
end | |||
}) | |||
alldata["1-l"] = { | |||
params = { | |||
[1] = {}, | |||
["nopl"] = {}, | |||
}, | |||
} | |||
setmetatable(alldata["p-1"], {__call = function(self, args, data) | |||
local stem = args[1] | |||
local i = sub(stem, -1) == "i" | |||
local stemi = sub(stem, 1, -2) | |||
data.decl_type = "sixth-declension" | |||
table.insert(data.categories, "High Valyrian sixth-declension " .. (data.proper and "proper " or "") .. "nouns") | |||
data.forms["nom_sg"] = {i and stemi .. "ȳn" or stem .. "un"} | |||
data.forms["acc_sg"] = {i and stemi .. "ȳni" or stem .. "uni"} | |||
data.forms["gen_sg"] = {i and stemi .. "ȳno" or stem .. "uno"} | |||
data.forms["dat_sg"] = {i and stemi .. "ȳnta" or stem .. "unta"} | |||
data.forms["loc_sg"] = {i and stemi .. "ȳnna" or stem .. "unna"} | |||
data.forms["ins_sg"] = {i and stemi .. "ȳssa" or stem .. "ussa"} | |||
data.forms["com_sg"] = {i and stemi .. "ȳmma" or stem .. "umma"} | |||
data.forms["voc_sg"] = data.forms["ins_sg"] | |||
if not args.nopl then | |||
data.forms["nom_pl"] = {i and stemi .. "y" or stem .. "i"} | |||
data.forms["acc_pl"] = {i and stemi .. "ī" or stem .. "ī"} | |||
data.forms["gen_pl"] = {} | |||
data.forms["dat_pl"] = data.forms["gen_pl"] | |||
data.forms["loc_pl"] = data.forms["gen_pl"] | |||
data.forms["ins_pl"] = {} | |||
data.forms["com_pl"] = {} | |||
data.forms["voc_pl"] = {} | |||
end | end | ||
end | end |