45,698
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
setmetatable(d["I"], {__call = function(self, args, data) | setmetatable(d["I"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local | local s = sub(stem, -1) == "s" | ||
local stems = sub(stem, 1, -2) .. "j" | |||
data.decl_type = "I" | data.decl_type = "I" | ||
table.insert(data.categories, "High Valyrian class-I adjectives") | table.insert(data.categories, "High Valyrian class-I adjectives") | ||
Line 48: | Line 49: | ||
data.forms["nom_a_sg"] = {stem .. "or"} | data.forms["nom_a_sg"] = {stem .. "or"} | ||
data.forms["acc_a_sg"] = data.forms["nom_a_sg"] | data.forms["acc_a_sg"] = data.forms["nom_a_sg"] | ||
data.forms["gen_a_sg"] = {stems .. "ro"} | data.forms["gen_a_sg"] = {s and stems .. "o" or stem .. "ro"} | ||
data.forms["dat_a_sg"] = {stems .. "ro", stem .. "rot"} | data.forms["dat_a_sg"] = {s and stems .. "o" or stem .. "ro", s and stems .. "ot" or stem .. "rot"} | ||
data.forms["loc_a_sg"] = data.forms["dat_a_sg"] | data.forms["loc_a_sg"] = data.forms["dat_a_sg"] | ||
data.forms["ins_a_sg"] = {stems .. "ros"} | data.forms["ins_a_sg"] = {stems .. "ros"} |