Module:qhv-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 951: Line 951:
},
},
}
}
setmetatable(alldata["ōz"], {__call = function(self, args, data)
setmetatable(alldata["6"], {__call = function(self, args, data)
local stem = args[1]  
local stem = args[1]  
data.decl_type = "sixth-declension"
data.decl_type = "sixth-declension"
Line 957: Line 957:


data.forms["nom_sg"] = {stem, stem .. "i"}
data.forms["nom_sg"] = {stem, stem .. "i"}
data.forms["acc_sg"] = {stem .. "i"}
data.forms["gen_sg"] = {stem .. "o"}
data.forms["dat_sg"] = {stem .. "ot"}
data.forms["loc_sg"] = {stem .. "ī"}
data.forms["ins_sg"] = {stem .. "isi"}
data.forms["com_sg"] = {stem .. "imi"}
data.forms["voc_sg"] = {stem .. "is"}
if not args.nopl then
data.forms["nom_pl"] = {stem .. "i"}
data.forms["acc_pl"] = {stem .. "ī"}
data.forms["gen_pl"] = {stem .. "oti"}
data.forms["dat_pl"] = data.forms["gen_pl"]
data.forms["loc_pl"] = data.forms["gen_pl"]
data.forms["ins_pl"] = {stem .. "issi"}
data.forms["com_pl"] = {stem .. "immi"}
data.forms["voc_pl"] = {stem .. "issis"}
data.forms["nom_pa"] = {stem .. "in"}
data.forms["acc_pa"] = {stem .. "ini"}
data.forms["gen_pa"] = {stem .. "ino"}
data.forms["dat_pa"] = {stem .. "inti"}
data.forms["loc_pa"] = {stem .. "inni"}
data.forms["ins_pa"] = {stem .. "issi"}
data.forms["com_pa"] = {stem .. "immi"}
data.forms["voc_pa"] = data.forms["ins_pa"]
data.forms["nom_co"] = {stem .. "ir"}
data.forms["acc_co"] = {stem .. "iri"}
data.forms["gen_co"] = {stem .. "iro"}
data.forms["dat_co"] = {stem .. "irti"}
data.forms["loc_co"] = {stem .. "irri"}
data.forms["ins_co"] = {stem .. "irzi"}
data.forms["com_co"] = {stem .. "irmi"}
data.forms["voc_co"] = data.forms["ins_co"]
end
end
})
alldata["mhysa"] = {
params = {
[1] = {},
["nopl"] = {},
},
}
setmetatable(alldata["mhysa"], {__call = function(self, args, data)
local stem = sub(args[1], 1, -1)
data.decl_type = "sixth-declension"
table.insert(data.categories, "High Valyrian sixth-declension nouns")
data.forms["nom_sg"] = {args[1]}
data.forms["acc_sg"] = {stem .. "i"}
data.forms["acc_sg"] = {stem .. "i"}
data.forms["gen_sg"] = {stem .. "o"}
data.forms["gen_sg"] = {stem .. "o"}

Navigation menu