このモジュールについての説明文ページを モジュール:sw-utilities/doc に作成できます
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