Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 44: Line 44:
["d2"] = {type = "boolean"},
["d2"] = {type = "boolean"},
["s"] = {type = "boolean"}, -- Stressed
["s"] = {type = "boolean"}, -- Stressed
["i"] = {type = "boolean"}, -- -i subgroup
},
},
}
}
Line 57: Line 58:
loc = (args.d2 and s2 or args.d and s1 or stem) .. "ki"
loc = (args.d2 and s2 or args.d and s1 or stem) .. "ki"
na = true
na = true
elseif args.i then
data.forms["u_pl"] = {stem .. "gi"}
data.forms["m_sg"] = {s1 .. "itṡa"}
data.forms["m_pl"] = {s1 .. "itṡagi"}
elseif stem:match(v.."mm.$") then
elseif stem:match(v.."mm.$") then
data.forms["m"] = {s3 .. (data.q == "s" and "mġa" or data.q == "l" and "mka" or "kka")}
data.forms["m"] = {s3 .. (data.q == "s" and "mġa" or data.q == "l" and "mka" or "kka")}