Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 347: Line 347:
loc = sub(stem, 1, -5) .. "ṡkoi"
loc = sub(stem, 1, -5) .. "ṡkoi"
elseif stem:match(v.."[mn][mn].$") then
elseif stem:match(v.."[mn][mn].$") then
data.forms["m"] = {s3 .. "kko"}
data.forms["m"] = {(sub(stem, -4, -4) == "o" and sub(stem, 1, -5) .. "õ" or s3) .. "kko"}
loc = s3 .. "kkoi"
loc = s3 .. "kkoi"
elseif stem:match(v.."[mnkg].$") then
elseif stem:match(v.."[mnkg].$") then
data.forms["m"] = {s2 .. "kko"}
data.forms["m"] = {(sub(stem, -3, -3) == "o" and s3 .. "õ" or s2) .. "kko"}
loc = s2 .. "kkoi"
loc = s2 .. "kkoi"
elseif stem:match(v.."[lrs]k.$") or stem:match(v.."sġ.$") then
elseif stem:match(v.."[lrs]k.$") or stem:match(v.."sġ.$") then