Module:mg-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 14: Line 14:


local endings = {["a"] = "A", ["e"] = "E", ["o"] = "O", ["r"] = "R"}
local endings = {["a"] = "A", ["e"] = "E", ["o"] = "O", ["r"] = "R"}


local function detect_decl(word, class)
local function detect_decl(word, class)
Line 47: Line 46:
numbers = {parent_args[1]}
numbers = {parent_args[1]}
else
else
decl_type, numbers = export.detect_decl(word, parent_args.c)
decl_type, numbers = detect_decl(word, parent_args.c)
end
end
end
end