Module:qhv-headword: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 57: Line 57:
end
end


local function generate_gen_sg(word, gen)
local function generate_gen_sg(word)
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), "[^,]+") do
Line 65: Line 65:
end
end


local function generate_nom_pl(word, pl)
local function generate_nom_pl(word)
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), "[^,]+") do