Module:qay-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 44: Line 44:
setmetatable(data["in_v"], {__call = function(self, args, data)
setmetatable(data["in_v"], {__call = function(self, args, data)
local stem = PAGENAME; data.decl_type = "vocalic";
local stem = PAGENAME; data.decl_type = "vocalic";
local s1 = sub(stem, 1, -2)
   
   
table.insert(data.categories, "Ayeri vocalic " .. (data.proper and "proper" or "") .. " nouns")
table.insert(data.categories, "Ayeri vocalic " .. (data.proper and "proper" or "") .. " nouns")
Line 53: Line 54:
data.forms["gen_s"] = {stem .. "na"}
data.forms["gen_s"] = {stem .. "na"}
data.forms["loc_s"] = {stem .. "ya"}
data.forms["loc_s"] = {stem .. "ya"}
data.forms["cau_s"] = {stem .. (stem:match("i$") and "īsa" or "isa")}
data.forms["cau_s"] = {(stem:match("i$") and s1 .. "ī" or stem .. "i") .. "sa"}
data.forms["ins_s"] = {stem .. "ri"}
data.forms["ins_s"] = {stem .. "ri"}
Line 115: Line 116:
data.forms["gen_s"] = {stem .. "na"}
data.forms["gen_s"] = {stem .. "na"}
data.forms["loc_s"] = {stem .. "ya"}
data.forms["loc_s"] = {stem .. "ya"}
data.forms["cau_s"] = {stem .. (stem:match("i$") and "īsa" or "isa")}
data.forms["cau_s"] = {(stem:match("i$") and s1 .. "ī" or stem .. "i") .. "sa"}
data.forms["ins_s"] = {stem .. "ri"}
data.forms["ins_s"] = {stem .. "ri"}

Navigation menu