Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 95: Line 95:
["nolen"] = {},
["nolen"] = {},
["ld"] = {},
["ld"] = {},
["d"] = {},
},
},
}
}
Line 106: Line 107:
if stem:match("[aeẻ]$") then
if stem:match("[aeẻ]$") then
if args.ld then
if args.ld then
data.forms["m"] = {stem .. "ri"}
data.forms["m"] = {(args.d and s1 or stem) .. "ri"}
loc = stem .. "ri"
loc = (args.d and s1 or stem) .. "ri"
na = true
na = true
elseif stem:match(v.."ts.$") then
elseif stem:match(v.."ts.$") then
Line 145: Line 146:
loc = s2 .. "ġġi"
loc = s2 .. "ġġi"
else
else
data.forms["m"] = {stem .. "ri"}
data.forms["m"] = {(args.d and s1 or stem) .. "ri"}
loc = stem .. "ri"
loc = (args.d and s1 or stem) .. "ri"
na = true
na = true
end
end
Line 173: Line 174:
elseif stem:match("[uyů]$") then
elseif stem:match("[uyů]$") then
if args.ld then
if args.ld then
data.forms["m"] = {stem .. "me"}
data.forms["m"] = {(args.d and s1 or stem) .. "me"}
loc = stem .. "mei"
loc = (args.d and s1 or stem) .. "mei"
na = true
na = true
elseif stem:match(v.."mm.$") then
elseif stem:match(v.."mm.$") then
Line 186: Line 187:
loc = s2 .. (data.q == "s" and "gme" or "hme")
loc = s2 .. (data.q == "s" and "gme" or "hme")
else
else
data.forms["m"] = {stem .. "me"}
data.forms["m"] = {(args.d and s1 or stem) .. "me"}
loc = stem .. "mei"
loc = (args.d and s1 or stem) .. "mei"
na = true
na = true
end
end