Module:qhv-adj/data

From Linguifex
< Module:qhv-adj
Revision as of 22:31, 20 March 2021 by Sware (talk | contribs) (Created page with "d["I"] = { params = { [1] = {}, }, } setmetatable(d["I"], {__call = function(self, args, data) local stem = args[1] data.decl_type = "class I" table.insert(data.categor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


d["I"] = {
	params = {
		[1] = {},
	},
}
setmetatable(d["I"], {__call = function(self, args, data)
	local stem = args[1]
	data.decl_type = "class I"
	table.insert(data.categories, "High Valyrian class-I adjectives")
	
	data.forms["eq"] = {stem .. "āpa"}
	data.forms["comp"] = {stem .. "ykta"}
	data.forms["sup"] = {stem .. "āje"}
	
	if data.pre then
		data.forms["nom_lun_sg"] = {stem .. "a"}
		data.forms["acc_lun_sg"] = {stem .. "e"}
		data.forms["gen_lun_sg"] = {stem .. "o"}
		data.forms["dat_lun_sg"] = {stem .. "o", stem .. "ot"}
		data.forms["loc_lun_sg"] = {stem .. "ā"}
		data.forms["ins_lun_sg"] = {stem .. "os"}
		data.forms["com_lun_sg"] = {stem .. "on", stem .. "om"}
		data.forms["voc_lun_sg"] = {stem .. "us"}
	
		data.forms["nom_sol_sg"] = {stem .. "ys"}
		data.forms["acc_sol_sg"] = {stem .. "i"}
		data.forms["gen_sol_sg"] = {stem .. "o"}
		data.forms["dat_sol_sg"] = {stem .. "o", stem .. "ot"}
		data.forms["loc_sol_sg"] = {stem .. "ȳ"}
		data.forms["ins_sol_sg"] = {stem .. "os"}
		data.forms["com_sol_sg"] = {stem .. "on", stem .. "om"}
		data.forms["voc_sol_sg"] = {stem .. "ys"}
		
		data.forms["nom_ter_sg"] = {stem .. "on"}
		data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"]
		data.forms["gen_ter_sg"] = {stem .. "o"}
		data.forms["dat_ter_sg"] = {stem .. "o", stem .. "ot"}
		data.forms["loc_ter_sg"] = data.forms["dat_ter_sg"]
		data.forms["ins_ter_sg"] = {stem .. "os"}
		data.forms["com_ter_sg"] = {stem .. "on", stem .. "om"}
		data.forms["voc_ter_sg"] = data.forms["ins_ter_sg"]
	
		data.forms["nom_aq_sg"] = {stem .. "or"}
		data.forms["acc_aq_sg"] = data.forms["nom_aq_sg"]
		data.forms["gen_aq_sg"] = {stem .. "ro"}
		data.forms["dat_aq_sg"] = {stem .. "ro", stem .. "rot"}
		data.forms["loc_aq_sg"] = data.forms["dat_aq_sg"]
		data.forms["ins_aq_sg"] = {stem .. "ros"}
		data.forms["com_aq_sg"] = {stem .. "ron", stem .. "rom"}
		data.forms["voc_aq_sg"] = {stem .. "os"}

		data.forms["nom_lun_pl"] = {stem .. "i"}
		data.forms["acc_lun_pl"] = {stem .. "ī"}
		data.forms["gen_lun_pl"] = {stem .. "o", stem .. "ot"}
		data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"]
		data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"]
		data.forms["ins_lun_pl"] = {stem .. "os"}
		data.forms["com_lun_pl"] = {stem .. "on", stem .. "om"}
		data.forms["voc_lun_pl"] = {stem .. "is"}

		data.forms["nom_sol_pl"] = {stem .. "ys", stem .. "yz"}
		data.forms["acc_sol_pl"] = {stem .. "ī"}
		data.forms["gen_sol_pl"] = {stem .. "o", stem .. "ot"}
		data.forms["dat_sol_pl"] = data.forms["gen_sol_pl"]
		data.forms["loc_sol_pl"] = data.forms["acc_sol_pl"]
		data.forms["ins_sol_pl"] = {stem .. "os"}
		data.forms["com_sol_pl"] = {stem .. "on", stem .. "om"}
		data.forms["voc_sol_pl"] = data.forms["nom_sol_pl"]
		
		data.forms["nom_ter_pl"] = {stem .. "a"}
		data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"]
		data.forms["gen_ter_pl"] = {stem .. "o", stem .. "ot"}
		data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"]
		data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"]
		data.forms["ins_ter_pl"] = {stem .. "os"}
		data.forms["com_ter_pl"] = {stem .. "on", stem .. "om"}
		data.forms["voc_ter_pl"] = {stem .. "as"}
		
		data.forms["nom_aq_pl"] = {stem .. "ra"}
		data.forms["acc_aq_pl"] = data.forms["nom_aq_pl"]
		data.forms["gen_aq_pl"] = {stem .. "ro", stem .. "rot"}
		data.forms["dat_aq_pl"] = data.forms["gen_aq_pl"]
		data.forms["loc_aq_pl"] = data.forms["gen_aq_pl"]
		data.forms["ins_aq_pl"] = {stem .. "ros"}
		data.forms["com_aq_pl"] = {stem .. "ron", stem .. "rom"}
		data.forms["voc_aq_pl"] = {stem .. "as"}
	else
		data.forms["nom_lun_sg"] = {stem .. "a"}
		data.forms["acc_lun_sg"] = {stem .. "e"}
		data.forms["gen_lun_sg"] = {stem .. "o"}
		data.forms["dat_lun_sg"] = {stem .. "ot"}
		data.forms["loc_lun_sg"] = {stem .. "ā"}
		data.forms["ins_lun_sg"] = {stem .. "osa"}
		data.forms["com_lun_sg"] = {stem .. "oma"}
		data.forms["voc_lun_sg"] = {stem .. "us"}
	
		data.forms["nom_sol_sg"] = {stem .. "ys"}
		data.forms["acc_sol_sg"] = {stem .. "i"}
		data.forms["gen_sol_sg"] = {stem .. "o"}
		data.forms["dat_sol_sg"] = {stem .. "ot"}
		data.forms["loc_sol_sg"] = {stem .. "ȳ"}
		data.forms["ins_sol_sg"] = {stem .. "osy"}
		data.forms["com_sol_sg"] = {stem .. "omy"}
		data.forms["voc_sol_sg"] = {stem .. "ys"}
		
		data.forms["nom_ter_sg"] = {stem .. "on"}
		data.forms["acc_ter_sg"] = data.forms["nom_ter_sg"]
		data.forms["gen_ter_sg"] = {stem .. "o"}
		data.forms["dat_ter_sg"] = {stem .. "ot"}
		data.forms["loc_ter_sg"] = data.forms["dat_ter_sg"]
		data.forms["ins_ter_sg"] = {stem .. "oso"}
		data.forms["com_ter_sg"] = {stem .. "omo"}
		data.forms["voc_ter_sg"] = {stem .. "os"}
	
		data.forms["nom_aq_sg"] = {stem .. "or"}
		data.forms["acc_aq_sg"] = data.forms["nom_aq_sg"]
		data.forms["gen_aq_sg"] = {stem .. "ro"}
		data.forms["dat_aq_sg"] = {stem .. "rot"}
		data.forms["loc_aq_sg"] = data.forms["dat_aq_sg"]
		data.forms["ins_aq_sg"] = {stem .. "roso"}
		data.forms["com_aq_sg"] = {stem .. "romo"}
		data.forms["voc_aq_sg"] = {stem .. "os"}

		data.forms["nom_lun_pl"] = {stem .. "i"}
		data.forms["acc_lun_pl"] = {stem .. "ī"}
		data.forms["gen_lun_pl"] = {stem .. "oti"}
		data.forms["dat_lun_pl"] = data.forms["gen_lun_pl"]
		data.forms["loc_lun_pl"] = data.forms["gen_lun_pl"]
		data.forms["ins_lun_pl"] = {stem .. "ossi"}
		data.forms["com_lun_pl"] = {stem .. "ommi"}
		data.forms["voc_lun_pl"] = {stem .. "is"}

		data.forms["nom_sol_pl"] = {stem .. "yzy"}
		data.forms["acc_sol_pl"] = {stem .. "ī"}
		data.forms["gen_sol_pl"] = {stem .. "oti"}
		data.forms["dat_sol_pl"] = data.forms["gen_sol_pl"]
		data.forms["loc_sol_pl"] = data.forms["acc_sol_pl"]
		data.forms["ins_sol_pl"] = {stem .. "ossi"}
		data.forms["com_sol_pl"] = {stem .. "ommi"}
		data.forms["voc_sol_pl"] = {stem .. "yzys"}
		
		data.forms["nom_ter_pl"] = {stem .. "a"}
		data.forms["acc_ter_pl"] = data.forms["nom_ter_pl"]
		data.forms["gen_ter_pl"] = {stem .. "oti"}
		data.forms["dat_ter_pl"] = data.forms["gen_ter_pl"]
		data.forms["loc_ter_pl"] = data.forms["gen_ter_pl"]
		data.forms["ins_ter_pl"] = {stem .. "ossi"}
		data.forms["com_ter_pl"] = {stem .. "ommi"}
		data.forms["voc_ter_pl"] = {stem .. "as"}
		
		data.forms["nom_aq_pl"] = {stem .. "ra"}
		data.forms["acc_aq_pl"] = data.forms["nom_aq_pl"]
		data.forms["gen_aq_pl"] = {stem .. "roti"}
		data.forms["dat_aq_pl"] = data.forms["gen_aq_pl"]
		data.forms["loc_aq_pl"] = data.forms["gen_aq_pl"]
		data.forms["ins_aq_pl"] = {stem .. "rossi"}
		data.forms["com_aq_pl"] = {stem .. "rommi"}
		data.forms["voc_aq_pl"] = {stem .. "as"}	
	end
end
})

d["II"] = {
	params = {
		[1] = {},
	},
}
setmetatable(d["II"], {__call = function(self, args, data)
	local stem = args[1]
	data.decl_type = "class II"
	table.insert(data.categories, "High Valyrian class-II adjectives")

	data.forms["nom_lun_sg"] = {stem .. "a"}
	data.forms["acc_lun_sg"] = {stem .. "e"}
	data.forms["gen_lun_sg"] = {stem .. "o"}
	data.forms["dat_lun_sg"] = {stem .. "ot"}
	data.forms["loc_lun_sg"] = {stem .. "ā"}
	data.forms["ins_lun_sg"] = {stem .. "osa"}
	data.forms["com_lun_sg"] = {stem .. "oma"}
	data.forms["voc_lun_sg"] = {stem .. "us"}

	data.forms["nom_sol_sg"] = {stem .. "a"}
	data.forms["acc_sol_sg"] = {stem .. "e"}
	data.forms["gen_sol_sg"] = {stem .. "o"}
	data.forms["dat_sol_sg"] = {stem .. "ot"}
	data.forms["loc_sol_sg"] = {stem .. "ā"}
	data.forms["ins_sol_sg"] = {stem .. "osa"}
	data.forms["com_sol_sg"] = {stem .. "oma"}
	data.forms["voc_sol_sg"] = {stem .. "us"}
	
	data.forms["nom_ter_sg"] = {stem .. "a"}
	data.forms["acc_ter_sg"] = {stem .. "e"}
	data.forms["gen_ter_sg"] = {stem .. "o"}
	data.forms["dat_ter_sg"] = {stem .. "ot"}
	data.forms["loc_ter_sg"] = {stem .. "ā"}
	data.forms["ins_ter_sg"] = {stem .. "osa"}
	data.forms["com_ter_sg"] = {stem .. "oma"}
	data.forms["voc_ter_sg"] = {stem .. "us"}

	data.forms["nom_aq_sg"] = {stem .. "a"}
	data.forms["acc_aq_sg"] = {stem .. "e"}
	data.forms["gen_aq_sg"] = {stem .. "o"}
	data.forms["dat_aq_sg"] = {stem .. "ot"}
	data.forms["loc_aq_sg"] = {stem .. "ā"}
	data.forms["ins_aq_sg"] = {stem .. "osa"}
	data.forms["com_aq_sg"] = {stem .. "oma"}
	data.forms["voc_aq_sg"] = {stem .. "us"}

	data.forms["nom_lun_pl"] = {stem .. "a"}
	data.forms["acc_lun_pl"] = {stem .. "e"}
	data.forms["gen_lun_pl"] = {stem .. "o"}
	data.forms["dat_lun_pl"] = {stem .. "ot"}
	data.forms["loc_lun_pl"] = {stem .. "ā"}
	data.forms["ins_lun_pl"] = {stem .. "osa"}
	data.forms["com_lun_pl"] = {stem .. "oma"}
	data.forms["voc_lun_pl"] = {stem .. "us"}

	data.forms["nom_sol_pl"] = {stem .. "a"}
	data.forms["acc_sol_pl"] = {stem .. "e"}
	data.forms["gen_sol_pl"] = {stem .. "o"}
	data.forms["dat_sol_pl"] = {stem .. "ot"}
	data.forms["loc_sol_pl"] = {stem .. "ā"}
	data.forms["ins_sol_pl"] = {stem .. "osa"}
	data.forms["com_sol_pl"] = {stem .. "oma"}
	data.forms["voc_sol_pl"] = {stem .. "us"}
	
	data.forms["nom_ter_pl"] = {stem .. "a"}
	data.forms["acc_ter_pl"] = {stem .. "e"}
	data.forms["gen_ter_pl"] = {stem .. "o"}
	data.forms["dat_ter_pl"] = {stem .. "ot"}
	data.forms["loc_ter_pl"] = {stem .. "ā"}
	data.forms["ins_ter_pl"] = {stem .. "osa"}
	data.forms["com_ter_pl"] = {stem .. "oma"}
	data.forms["voc_ter_pl"] = {stem .. "us"}
	
	data.forms["nom_aq_pl"] = {stem .. "a"}
	data.forms["acc_aq_pl"] = {stem .. "e"}
	data.forms["gen_aq_pl"] = {stem .. "o"}
	data.forms["dat_aq_pl"] = {stem .. "ot"}
	data.forms["loc_aq_pl"] = {stem .. "ā"}
	data.forms["ins_aq_pl"] = {stem .. "osa"}
	data.forms["com_aq_pl"] = {stem .. "oma"}
	data.forms["voc_aq_pl"] = {stem .. "us"}
end
})