45,647
edits
No edit summary |
No edit summary |
||
Line 120: | Line 120: | ||
if not args["noinf"] then | if not args["noinf"] then | ||
if args["gen"] then | if args["gen"] then | ||
args["gen"] = args["gen"] | |||
else | else | ||
args["gen"] = | args["gen"] = generate_gen_sg(args[2]) | ||
end | end | ||
Line 130: | Line 130: | ||
args["gen"].label = "genitive" | args["gen"].label = "genitive" | ||
table.insert(data.inflections, args["gen"]) | |||
end | end | ||
Line 135: | Line 136: | ||
if not args["nopl"] then | if not args["nopl"] then | ||
if args["pl"] then | if args["pl"] then | ||
args["pl"] = args["pl"] | |||
else | else | ||
args["pl"] = | args["pl"] = generate_nom_pl(args[2]) | ||
end | end | ||
Line 145: | Line 146: | ||
args["pl"].label = "plural" | args["pl"].label = "plural" | ||
table.insert(data.categories, args["pl"]) | |||
end | end | ||
end | end |