Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 621: Line 621:
["nolen"] = {},
["nolen"] = {},
["d"] = {},
["d"] = {},
["s"] = {}, -- Stressed
},
},
}
}
Line 627: Line 628:
local s1, s2, s3 = sub(stem, 1, -2), sub(stem, 1, -3), sub(stem, 1, -4)
local s1, s2, s3 = sub(stem, 1, -2), sub(stem, 1, -3), sub(stem, 1, -4)
table.insert(data.categories, "Siwa s-declension " .. data.pos)
table.insert(data.categories, "Siwa s-declension " .. data.pos)
local s = args.s and "h" or ""
data.forms["u"] = {PAGENAME}
data.forms["u"] = {PAGENAME}
Line 639: Line 642:
ine, all, abl = s1 .. "hi", s1 .. "hi", s1 .. "hi"
ine, all, abl = s1 .. "hi", s1 .. "hi", s1 .. "hi"
else
else
data.forms["m"] = {(args.d and s2 or s1) .. "hi"}
data.forms["m"] = {(args.d and s2 or s1) .. s .. "hi"}
ill, ela, ade = (args.d and s2 or s1) .. "h", (args.d and s2 or s1) .. "h", (args.d and s2 or s1) .. "h"
ill, ela, ade = (args.d and s2 or s1) .. s .. "h", (args.d and s2 or s1) .. s .. "h", (args.d and s2 or s1) .. s .. "h"
ine, all, abl = (args.d and s2 or s1) .. "hi", (args.d and s2 or s1) .. "hi", (args.d and s2 or s1) .. "hi"
ine, all, abl = (args.d and s2 or s1) .. s.. "hi", (args.d and s2 or s1) .. s .. "hi", (args.d and s2 or s1) .. s .. "hi"
end
end