45,640
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 j = sub(stem, -1) == "j" | |||
local stemr = s and sub(stem, 1, -2) .. "j" or j and stem or stem | |||
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") |