Module:mg-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 5: Line 5:


local data = {}
local data = {}
data["O"] = {
params = {
[1] = {},
},
}
setmetatable(data["O"], {__call = function(self, args, data)
local stem = data.head; local inserted = gsub(stem, "(.)o$", "i%1")
local s1 = sub(stem, 1, -2); local s2 = sub(stem, 1, -3)
data.decl_type = "O"
table.insert(data.categories, "Modern Gallaecian o-declension nouns")
data.forms["di_s"] = {s1 .. "o"}
data.forms["da_s"] = {s1 .. "o"}
data.forms["lo_s"] = {inserted .. "e"}
data.forms["di_p"] = {s1 .. "os"}
data.forms["da_p"] = {s1 .. "ú"}
data.forms["lo_p"] = {s1 .. "ui"}
end
})


data["R"] = {
data["R"] = {

Navigation menu