Module:qhv-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 217: Line 217:
local stem = args[1]
local stem = args[1]
local i = sub(stem, -1) == "i"
local i = sub(stem, -1) == "i"
local stemi = sub(stem, 1, -2)
data.decl_type = "lunar third-declension"
data.decl_type = "lunar third-declension"
table.insert(data.categories, "High Valyrian third-declension nouns")
table.insert(data.categories, "High Valyrian third-declension nouns")
Line 225: Line 226:
data.forms["dat_sg"] = {stem .. "ot"}
data.forms["dat_sg"] = {stem .. "ot"}
data.forms["loc_sg"] = data.forms["dat_sg"]
data.forms["loc_sg"] = data.forms["dat_sg"]
data.forms["ins_sg"] = {i and stem .. "ȳso" or stem .. "oso"}
data.forms["ins_sg"] = {i and stemi .. "ȳso" or stem .. "oso"}
data.forms["com_sg"] = data.forms["ins_sg"]
data.forms["com_sg"] = data.forms["ins_sg"]
data.forms["voc_sg"] = {stem .. "os"}
data.forms["voc_sg"] = {stem .. "os"}
Line 232: Line 233:
data.forms["nom_pl"] = {stem .. "a"}
data.forms["nom_pl"] = {stem .. "a"}
data.forms["acc_pl"] = data.forms["nom_pl"]
data.forms["acc_pl"] = data.forms["nom_pl"]
data.forms["gen_pl"] = {i and stem .. "ȳti" or stem .. "oti"}
data.forms["gen_pl"] = {i and stemi .. "ȳti" or stem .. "oti"}
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"] = {i and stem .. "ȳssi" or stem .. "ossi"}
data.forms["ins_pl"] = {i and stemi .. "ȳssi" or stem .. "ossi"}
data.forms["com_pl"] = data.forms["ins_pl"]
data.forms["com_pl"] = data.forms["ins_pl"]
data.forms["voc_pl"] = {i and stem .. "īs" or stem .. "as"}
data.forms["voc_pl"] = {i and stemi .. "īs" or stem .. "as"}
data.forms["nom_pa"] = {i and stem .. "ȳn" or stem .. "un"}
data.forms["nom_pa"] = {i and stemi .. "ȳn" or stem .. "un"}
data.forms["acc_pa"] = {i and stem .. "ȳni" or stem .. "uni"}
data.forms["acc_pa"] = {i and stemi .. "ȳni" or stem .. "uni"}
data.forms["gen_pa"] = {i and stem .. "ȳno" or stem .. "uno"}
data.forms["gen_pa"] = {i and stemi .. "ȳno" or stem .. "uno"}
data.forms["dat_pa"] = {i and stem .. "ȳnto" or stem .. "unto"}
data.forms["dat_pa"] = {i and stemi .. "ȳnto" or stem .. "unto"}
data.forms["loc_pa"] = {i and stem .. "ȳnno" or stem .. "unno"}
data.forms["loc_pa"] = {i and stemi .. "ȳnno" or stem .. "unno"}
data.forms["ins_pa"] = {i and stem .. "ȳsso" or stem .. "usso"}
data.forms["ins_pa"] = {i and stemi .. "ȳsso" or stem .. "usso"}
data.forms["com_pa"] = {i and stem .. "ȳmmo" or stem .. "ummo"}
data.forms["com_pa"] = {i and stemi .. "ȳmmo" or stem .. "ummo"}
data.forms["voc_pa"] = data.forms["ins_pa"]
data.forms["voc_pa"] = data.forms["ins_pa"]
data.forms["nom_co"] = {stem .. "or"}
data.forms["nom_co"] = {stem .. "or"}
data.forms["acc_co"] = {i and stem .. "ȳri" or stem .. "ori"}
data.forms["acc_co"] = {i and stemi .. "ȳri" or stem .. "ori"}
data.forms["gen_co"] = {i and stem .. "ȳro" or stem .. "oro"}
data.forms["gen_co"] = {i and stemi .. "ȳro" or stem .. "oro"}
data.forms["dat_co"] = {i and stem .. "ȳrto" or stem .. "orto"}
data.forms["dat_co"] = {i and stemi .. "ȳrto" or stem .. "orto"}
data.forms["loc_co"] = {i and stem .. "ȳrro" or stem .. "orro"}
data.forms["loc_co"] = {i and stemi .. "ȳrro" or stem .. "orro"}
data.forms["ins_co"] = {i and stem .. "ȳrzo" or stem .. "orzo"}
data.forms["ins_co"] = {i and stemi .. "ȳrzo" or stem .. "orzo"}
data.forms["com_co"] = {i and stem .. "ȳrmo" or stem .. "ormo"}
data.forms["com_co"] = {i and stemi .. "ȳrmo" or stem .. "ormo"}
data.forms["voc_co"] = data.forms["ins_co"]
data.forms["voc_co"] = data.forms["ins_co"]
end
end