45,640
edits
No edit summary |
No edit summary |
||
Line 176: | Line 176: | ||
setmetatable(d["II"], {__call = function(self, args, data) | setmetatable(d["II"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "m" or | local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "m" or stemj | ||
local | local stemny = sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "n" or stem | ||
local | local stemj = sub(stem, -2) == "ēj" and sub(stem, -3) .. "ī" or stem | ||
data.decl_type = "II" | data.decl_type = "II" | ||
table.insert(data.categories, "High Valyrian class-II adjectives") | table.insert(data.categories, "High Valyrian class-II adjectives") | ||
data.forms["eq"] = { | data.forms["eq"] = {stemm .. "pa"} | ||
data.forms["comp"] = {stemny .. "kta"} | data.forms["comp"] = {stemny .. "kta"} | ||
data.forms["sup"] = {stemny .. "je"} | data.forms["sup"] = {stemny .. "je"} |