Module:qhv-adj/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12: Line 12:
local s = sub(stem, -1) == "s"
local s = sub(stem, -1) == "s"
local j = sub(stem, -1) == "j"
local j = sub(stem, -1) == "j"
local stemr = s and sub(stem, 1, -2) .. "j" or j and stem or stem
local stemr = s and sub(stem, 1, -2) .. "j" or j and 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")