Module:lg-utilities

local export = {}

function export.plural(frame) local word = frame.args[1] local sg_class = frame.args[2] word = word:gsub("^" .. sg_class .. (sg_class == "m" and "u?" or ""), "") return word end

return export