Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 737: Line 737:
local s1, s2, s3 = sub(stem, 1, -2), sub(stem, 1, -3), sub(stem, 1, -4)
local s1, s2, s3 = sub(stem, 1, -2), sub(stem, 1, -3), sub(stem, 1, -4)
data.forms["u_sg"] = {PAGENAME}
data.forms["u_s"] = {PAGENAME}
if stem:match("m[ao]$") then
if stem:match("m[ao]$") then
data.forms["m_sg"] = {s2 .. (exactly(sv, "[ou]") and "ṡi" or "ka")}
data.forms["m_s"] = {s2 .. (exactly(sv, "[ou]") and "ṡi" or "ka")}
data.forms["u_pl"] = {stem .. "gi"}
data.forms["u_p"] = {stem .. "gi"}
data.forms["m_pl"] = {"gi"}
data.forms["m_p"] = {"gi"}
end
end