Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 832: Line 832:
[2] = {}, -- stressed vowel
[2] = {}, -- stressed vowel
["h"] = {type = "boolean"}, -- Human
["h"] = {type = "boolean"}, -- Human
["t"] = {type = "boolean"}, -- extra T
["av"] = {type = "boolean"}, -- After Vowel
["av"] = {type = "boolean"}, -- After Vowel
["s"] = {type = "boolean"},
["s"] = {type = "boolean"},
Line 856: Line 857:
data.forms["m_pl"] = {s2 .. (exactly(sv, "[ou]") and "ṡi" or "ka") .. "gi"}
data.forms["m_pl"] = {s2 .. (exactly(sv, "[ou]") and "ṡi" or "ka") .. "gi"}
elseif stem:match("mi$") then
elseif stem:match("mi$") then
data.forms["m_sg"] = {s2 .. "ta"}
data.forms["m_sg"] = {s2 .. (args.t and "t" or "") .. "ta"}
if stem:match(v.."..$") then table.insert(data.forms["m_sg"], s2 .. "tta") end
if stem:match(v.."..$") then table.insert(data.forms["m_sg"], s2 .. "tta") end
data.forms["u_pl"] = {stem .. "gi"}
data.forms["u_pl"] = {stem .. "gi"}
Line 863: Line 864:
table.insert(data.forms["u_pl"], s2 .. "mṡi")
table.insert(data.forms["u_pl"], s2 .. "mṡi")
end
end
data.forms["m_pl"] = {s2 .. "tagi"}
data.forms["m_pl"] = {s2 .. (args.t and "t" or "") .. "tagi"}
if stem:match(v.."..$") then table.insert(data.forms["m_pl"], s2 .. "ttagi") end
if stem:match(v.."..$") then table.insert(data.forms["m_pl"], s2 .. "ttagi") end
elseif stem:match("[bpv]a$") then
elseif stem:match("[bpv]a$") then