45,647
edits
No edit summary |
No edit summary |
||
Line 131: | Line 131: | ||
if data.pos_category == "nouns" and not args["noinf"] then | if data.pos_category == "nouns" and not args["noinf"] then | ||
if not args["nopl"] then | if not args["nopl"] then | ||
local plural = args["pl"] and {args["pl"]} or generate_nom_pl(args[2]) | |||
for i, form in ipairs( | for i, form in ipairs(plural) do | ||
plural[i] = {term = form} | |||
end | end | ||
plural.label = "plural" | |||
table.insert(data.categories, | table.insert(data.categories, plural) | ||
end | end | ||
end | end |