Module:siwa-noun/data

< Module:siwa-noun
Revision as of 15:19, 24 July 2021 by Sware (talk | contribs)


local data = {}

local sub = mw.ustring.sub
local match = mw.ustring.match

data["a"] = {
	params = {
		[1] = {},
	},
}
setmetatable(data["a"], {__call = function(self, args, data)
	local stem = args[1]
	table.insert(data.categories, "Siwa inanimate nouns")
	table.insert(data.categories, "Siwa a-declension nouns")
	
	data.forms["u"] = {data.decl}
	data.forms["m"] = {"gaga"}
	--[[if stem:match("m.$") or stem:match("mm.$") then
		data.forms["m"] = {""}
	end]]
end
})





return data