Module:mg-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 12: Line 12:
}
}
setmetatable(data["R"], {__call = function(self, args, data)
setmetatable(data["R"], {__call = function(self, args, data)
local stem = data.head; local s1 = sub(stem, 1, -2)
local stem = data.head
local s1 = sub(stem, 1, -2); local s2 = sub(stem, 1, -3)
data.decl_type = "R"
data.decl_type = "R"
table.insert(data.categories, "Modern Gallaecian r-declension nouns")
table.insert(data.categories, "Modern Gallaecian r-declension nouns")
data.forms["di_s"] = {stem .. "r"}
data.forms["di_s"] = {s1 .. "r"}
data.forms["da_s"] = {s1 .. "re"}
data.forms["da_s"] = {s2 .. "re"}
data.forms["lo_s"] = {s1 .. "re"}
data.forms["lo_s"] = {s2 .. "re"}
data.forms["di_p"] = {s1 .. "res"}
data.forms["di_p"] = {s2 .. "res"}
data.forms["da_p"] = {s1 .. "rú"}
data.forms["da_p"] = {s2 .. "rú"}
data.forms["lo_p"] = {s1 .. "rui"}
data.forms["lo_p"] = {s2 .. "rui"}
end
end

Navigation menu