Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 186: Line 186:
data.forms["m"] = {s3 .. "mme"}
data.forms["m"] = {s3 .. "mme"}
loc = s3 .. "mmei"
loc = s3 .. "mmei"
elseif stem:match(v.."vv.$") then
data.forms["m"] = {s3 .. "vve"}
loc = s3 .. "vvei"
elseif stem:match(v.."[mpbvnrlkg].$") then
elseif stem:match(v.."[mpbvnrlkg].$") then
local stl = sub(stem, -2, -2)
local stl = sub(stem, -2, -2)
Line 744: Line 747:
data.forms["m"] = {stem .. "ta"}
data.forms["m"] = {stem .. "ta"}
loc = match(stem, "on$") and s2 .. "õri" or s1 .. "ri"
loc = match(stem, "on$") and s2 .. "õri" or s1 .. "ri"
elseif sv:match("[eiyůỉ]$") then
elseif sv:match("[eiyůỉę]$") then
data.forms["m"] = {s1 .. "s"}
data.forms["m"] = {s1 .. "s"}
loc = s1 .. "s" .. (args.d and "" or "i")
loc = s1 .. "s" .. (args.d and "" or "i")
Line 776: Line 779:
if args.ut then
if args.ut then
data.forms["m"] = {s2 .. "lda", s1 .. "tta"}
data.forms["m"] = {s2 .. "lda", s1 .. "tta"}
loc = s1 .. "ttai"
elseif sv:match("[aou]$") then
elseif sv:match("[aou]$") then
data.forms["m"] = {stem .. "ta"}
data.forms["m"] = {stem .. "ta"}
Line 781: Line 785:
elseif sv:match("[eiyů]$") then
elseif sv:match("[eiyů]$") then
data.forms["m"] = {s1 .. "tsta", s1 .. "ddįa", s1 .. "tsitta"}
data.forms["m"] = {s1 .. "tsta", s1 .. "ddįa", s1 .. "tsitta"}
loc = s1 .. "tsti"
end
end
data.forms["ine"] = {(ine or loc) .. ce[1]}
data.forms["ill"] = {(ill or loc) .. ce[2]}
data.forms["ela"] = {(ela or loc) .. ce[3]}
data.forms["ade"] = {(ade or loc) .. ce[4]}
data.forms["all"] = {(all or loc) .. ce[5]}
data.forms["abl"] = {(abl or loc) .. ce[6]}
for n, case in pairs(cases) do
if sv:match("[eiyů]$") then
table.insert(data.forms[case], s1 .. "ddįi" .. ce[n])
table.insert(data.forms[case], s1 .. "tsitti" .. ce[n])
end
end
end
end
})
})
Line 888: Line 908:
elseif stem:match("[tn][ao]$") then
elseif stem:match("[tn][ao]$") then
data.forms["u_pl"] = {stem .. "gi"}
data.forms["u_pl"] = {stem .. "gi"}
if stem:match(nv.."..$") and not stem:match("[tsḍlgġksṡr]..$") then
if stem:match(nv.."..$") and not stem:match("[tsḍlgġksṡrd]..$") then
data.forms["m_sg"] = {s2 .. "ųa"}
data.forms["m_sg"] = {s2 .. "ųa"}
data.forms["m_pl"] = {s2 .. "ųagi"}
data.forms["m_pl"] = {s2 .. "ųagi"}
Line 995: Line 1,015:
end
end
})
})
data["aḍba"] = function(args, data)
data.forms["u_pl"] = {"aḍba"}
data.forms["m_pl"] = {"aubba"}
end


data["aumulhi"] = function(args, data)
data["aumulhi"] = function(args, data)
Line 1,071: Line 1,096:
data.forms["all"] = {"ivveibma", "iobibma"}
data.forms["all"] = {"ivveibma", "iobibma"}
data.forms["abl"] = {"ivveiska", "iobiska"}
data.forms["abl"] = {"ivveiska", "iobiska"}
end
data["eu"] = function(args, data)
data.decl_type = "coalescence"
table.insert(data.categories, "Siwa diphthong-coalescence nouns")
data.forms["u"] = {"eu"}
data.forms["m"] = {"eme"}
end
end


Line 1,110: Line 1,142:
data.forms["u"] = {"gảgi"}
data.forms["u"] = {"gảgi"}
data.forms["m"] = {"gęįagi"}
data.forms["m"] = {"gęįagi"}
end
data["gei"] = function(args, data)
data.decl_type = "coalescence"
table.insert(data.categories, "Siwa diphthong-coalescence nouns")
data.forms["u"] = {"gei"}
data.forms["m"] = {"geįe"}
end
end


Line 1,138: Line 1,163:
table.insert(data.categories, "Siwa diphthong-coalescence nouns")
table.insert(data.categories, "Siwa diphthong-coalescence nouns")
data.forms["u"] = {"goi"}
data.forms["u"] = {"goi"}
data.forms["m"] = {"gogįo"}
data.forms["m"] = {"goįo"}
end
end


Line 1,549: Line 1,574:
data.forms["m_sg"] = {"todatta"}
data.forms["m_sg"] = {"todatta"}
data.forms["m_pl"] = {"todattagi"}
data.forms["m_pl"] = {"todattagi"}
end
data["tṡemi"] = function(args, data)
table.insert(data.categories, "Siwa irregular adjectives")
data.forms["u"] = {"tṡemi"}
data.forms["m"] = {"tṡebi"}
data.forms["ine"] = {"tṡebi" .. ce[1]}
data.forms["ill"] = {"tṡebi" .. ce[2]}
data.forms["ela"] = {"tṡebi" .. ce[3]}
data.forms["ade"] = {"tṡebi" .. ce[4]}
data.forms["all"] = {"tṡebi" .. ce[5]}
data.forms["abl"] = {"tṡebi" .. ce[6]}
end
data["umpa"] = function(args, data)
data.decl_type = "dual"
table.insert(data.categories, "Siwa dual nouns")
data.forms["u_sg"] = {"uba"}
data.forms["u_pl"] = {"umpa"}
data.forms["m_sg"] = {"oama"}
data.forms["m_pl"] = {"ủppa"}
end
data["vả"] = function(args, data)
data.decl_type = "coalescence"
table.insert(data.categories, "Siwa diphthong-coalescence nouns")
data.forms["u"] = {"vả"}
data.forms["m"] = {"vęįa"}
end
data["ỷ"] = function(args, data)
data.decl_type = "coalescence"
table.insert(data.categories, "Siwa diphthong-coalescence nouns")
data.forms["u"] = {"ỷ"}
data.forms["m"] = {"yby"}
end
end


return data
return data