Module:mg-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 164: Line 164:
})
})


data["consonant"] = {
data["cons"] = {
params = {
params = {
[1] = {},
[1] = {},
},
},
}
}
setmetatable(data["consonant"], {__call = function(self, args, data)
setmetatable(data["cons"], {__call = function(self, args, data)
local stem = data.head; data.decl_type = "consonant"
local stem = data.head; data.decl_type = "consonant"
local qstem = sub(stem, -1) == "c" and gsub(stem, "c$", "qu") or stem
local qstem = sub(stem, -1) == "c" and gsub(stem, "c$", "qu") or stem

Navigation menu