Module:qhv-verb/data: Difference between revisions

No edit summary
No edit summary
Line 816: Line 816:
setmetatable(d["nasal"], {__call = function(self, args, data)
setmetatable(d["nasal"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
local pstem = match(stem, "gaom$") and gsub(stem, "gaom", "gōn") or sub(stem, 1, -2) .. "n"
local pstem = match(stem, "gaom$") and gsub(stem, "gaom", "gōn") or
  match(stem, "pam$") and stem .. "p" or
  sub(stem, 1, -2) .. "n"
data.decl_type = "nasal stem"
data.decl_type = "nasal stem"
if not data.no_cat then
if not data.no_cat then