Module:accel/se

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This module contains new entry creation rules for Northern Sami; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.


return {generate = function(params, entry)
		entry.pronunc = "* {{se-IPA}}";
	if (params.form == "comparative" or params.form == "superlative") and params.pos == "adjective" then
		-- If it's an adjective, add an inflection table request
		entry.inflection = "{{rfinfl|" .. params.lang:getCode() .. "|adjective}}"
	elseif mw.ustring.find(params.form, "|poss$") then
		entry.head = entry.make_head(params.pos .. " possessive form")
		entry.inflection = "{{rfinfl|" .. params.lang:getCode() .. "|" .. params.pos .. "}}"
	end
end}