Module:snon-headword: Difference between revisions
Tag: Undo |
No edit summary |
||
| Line 119: | Line 119: | ||
local function make_plural(term) | local function make_plural(term) | ||
return {{term .. "arr"}, {term .. "ar", l = "VE"}} | return {{term = term .. "arr"}, {term = term .. "ar", l = "VE"}} | ||
end | end | ||
| Line 194: | Line 194: | ||
end | end | ||
local new_plurals = {} | |||
for _, pl in ipairs(plurals) do | for _, pl in ipairs(plurals) do | ||
if pl.term == "+" then | if pl.term == "+" then | ||
for _, generated_pl in ipairs(make_plural(lemma)) do | |||
pl | table.insert(new_plurals, generated_pl) | ||
end | |||
else | |||
table.insert(new_plurals, pl) | |||
end | end | ||
end | end | ||
plurals = new_plurals | |||
insert_noun_inflection(plurals, "plural", "p") | insert_noun_inflection(plurals, "plural", "p") | ||