45,646
edits
No edit summary |
No edit summary |
||
Line 57: | Line 57: | ||
end | end | ||
local function generate_gen_sg(word) | local function generate_gen_sg(word, reanalyzed) | ||
local genitive = {} | local genitive = {} | ||
for alt in gmatch(require("Module:qhv-noun/head").pass_to_module("gen_sg", word), "[^,]+") do | for alt in gmatch(require("Module:qhv-noun/head").pass_to_module("gen_sg", word, reanalyzed), "[^,]+") do | ||
table.insert(genitive, alt) | table.insert(genitive, alt) | ||
end | end | ||
Line 65: | Line 65: | ||
end | end | ||
local function generate_nom_pl(word) | local function generate_nom_pl(word, reanalyzed) | ||
local plural = {} | local plural = {} | ||
for alt in gmatch(require("Module:qhv-noun/head").pass_to_module("nom_pl", word), "[^,]+") do | for alt in gmatch(require("Module:qhv-noun/head").pass_to_module("nom_pl", word, reanalyzed), "[^,]+") do | ||
table.insert(plural, alt) | table.insert(plural, alt) | ||
end | end | ||
Line 110: | Line 110: | ||
["pl"] = {}, | ["pl"] = {}, | ||
["head"] = {}, | ["head"] = {}, | ||
["r"] = {type = "boolean"}, | |||
} | } | ||