Module:accel/eu

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

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


return {generate = function(params, entry)
	if params.form == "comparative" and params.pos == "adjective" then
		entry.declension = "{{eu-decl-adj}}"
	end
	if params.form == "superlative" and params.pos == "adjective" then
		entry.declension = "{{eu-decl-adj}}"
	end	
	if params.form == "excd" then
		if params.pos == "adjective" then
			entry.head = entry.make_head("excessive adjective")
			entry.declension = "{{eu-decl-adj}}"
		elseif params.pos == "adverb" then
			entry.head = entry.make_head("excessive adverb")
		end
	end	
end}