Module:qhv-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 947: Line 947:
}
}
setmetatable(alldata["6"], {__call = function(self, args, data)
setmetatable(alldata["6"], {__call = function(self, args, data)
local stem = args[1]
data.decl_type = "sixth-declension"
table.insert(data.categories, "High Valyrian sixth-declension " .. (data.proper and "proper " or "") .. "nouns")
data.forms["nom_sg"] = {stem .. "i", stem}
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["6-u"] = {
params = {
[1] = {},
["nopl"] = {},
},
}
setmetatable(alldata["6-u"], {__call = function(self, args, data)
local stem = args[1]  
local stem = args[1]  
data.decl_type = "sixth-declension"
data.decl_type = "sixth-declension"
Line 1,074: Line 1,125:
data.forms["voc_co"] = data.forms["ins_co"]
data.forms["voc_co"] = data.forms["ins_co"]
end
end
alldata["6-u"] = {
params = {
[1] = {},
["nopl"] = {},
},
}
setmetatable(alldata["6-u"], {__call = function(self, args, data)
local stem = args[1]
data.decl_type = "sixth-declension"
table.insert(data.categories, "High Valyrian sixth-declension " .. (data.proper and "proper " or "") .. "nouns")
data.forms["nom_sg"] = {stem .. "i", stem}
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["nāqopsir"] = function(args, data)
alldata["nāqopsir"] = function(args, data)
Line 1,165: Line 1,165:
data.forms["ins_co"] = {"nāqobjirzi", "nāqōjirzi"}
data.forms["ins_co"] = {"nāqobjirzi", "nāqōjirzi"}
data.forms["com_co"] = {"nāqobjirmi", "nāqōjirmi"}
data.forms["com_co"] = {"nāqobjirmi", "nāqōjirmi"}
data.forms["voc_co"] = data.forms["ins_co"]
end
alldata["ēs"] = function(args, data)
data.decl_type = "l-stem solar third-declension"
table.insert(data.categories, "High Valyrian third-declension nouns")
table.insert(data.categories, "High Valyrian l-stem nouns")
data.forms["nom_sg"] = {"ēs"}
data.forms["acc_sg"] = data.forms["nom_sg"]
data.forms["gen_sg"] = {"elo"}
data.forms["dat_sg"] = {"elot"}
data.forms["loc_sg"] = data.forms["dat_sg"]
data.forms["ins_sg"] = {"ēso"}
data.forms["com_sg"] = data.forms["ins_sg"]
data.forms["voc_sg"] = data.forms["nom_sg"]
data.forms["nom_pl"] = {"elossa"}
data.forms["acc_pl"] = data.forms["nom_pl"]
data.forms["gen_pl"] = {"eloti"}
data.forms["dat_pl"] = data.forms["gen_pl"]
data.forms["loc_pl"] = data.forms["gen_pl"]
data.forms["ins_pl"] = {"elossi"}
data.forms["com_pl"] = data.forms["ins_pl"]
data.forms["voc_pl"] = {"elossas"}
data.forms["nom_pa"] = {"elun"}
data.forms["acc_pa"] = {"eluni"}
data.forms["gen_pa"] = {"eluno"}
data.forms["dat_pa"] = {"elunto"}
data.forms["loc_pa"] = {"elunno"}
data.forms["ins_pa"] = {"elusso"}
data.forms["com_pa"] = {"elummo"}
data.forms["voc_pa"] = data.forms["ins_pa"]
data.forms["nom_co"] = {"elor"}
data.forms["acc_co"] = {"elori"}
data.forms["gen_co"] = {"eloro"}
data.forms["dat_co"] = {"elorto"}
data.forms["loc_co"] = {"elorro"}
data.forms["ins_co"] = {"elorzo"}
data.forms["com_co"] = {"elormo"}
data.forms["voc_co"] = data.forms["ins_co"]
data.forms["voc_co"] = data.forms["ins_co"]
end
end


return alldata
return alldata

Navigation menu