Module:siwa-noun/data

From Linguifex
< Module:siwa-noun
Revision as of 15:19, 24 July 2021 by Sware (talk | contribs)
Jump to navigation Jump to search


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