Module:accel/hsb

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

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


return {
	generate = function(params, entry)
		entry.pronunc = "* {{hsb-IPA}}";
		if (params.form == "comparative" or (params.form == "superlative") or (params.form == "absolute superlative")) and (params.pos == "adjective") then
			entry.declension = "{{hsb-decl-adj-auto}}";
		elseif params.form == "pppart" and (params.pos == "verb") then
			entry.pos_header = "Participle";
			entry.head = "{{head|hsb|past passive participle}}";
			entry.def = entry.make_def("inflection of", "||past|pasv|part");
			entry.declension = "{{hsb-decl-adj-auto}}";
		elseif params.form == "papart" and (params.pos == "verb") then
			entry.pos_header = "Participle";
			entry.head = "{{head|hsb|past active participle}}";
			entry.def = entry.make_def("inflection of", "||past|actv|part");
			entry.declension = "{{hsb-decl-adj-auto}}";
		end
	end
};