Module:qhv-adj/data: Difference between revisions

no edit summary
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 stems = sub(stem, -1) == "s" and sub(stem, 1, -3) .. "j" or stem
local stems = sub(stem, -1) == "s" and sub(stem, 1, -2) .. "j" 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")