Module:qhv-verb/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 293: Line 293:
setmetatable(d["liquid"], {__call = function(self, args, data)
setmetatable(d["liquid"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
local pstem = match(stem, "^(.*)ael$") and "%1eld" or stem
local pstem = match(stem, "ael$") and sub(stem, 1, -4) .. "eld" or stem
data.decl_type = "liquid stem"
data.decl_type = "liquid stem"
if not data.no_cat then
if not data.no_cat then