Module:accel/csb

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

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


return {
	generate = function(params, entry)
		entry.pronunc = "* {{csb-IPA}}";
		if (params.form == "comparative" or (params.form == "superlative")) and (params.pos == "adjective") then
			entry.declension = "{{csb-adecl}}";
		elseif params.form == "passive adjectival participle" and (params.pos == "verb") then
			entry.pos_header = "Participle";
			entry.head = "{{csb-participle|pass}}";
			entry.def = entry.make_def("inflection of", "||m|s|pasv|adjectival|part");
			entry.declension = "{{csb-adecl}}";
		elseif params.form == "active adjectival participle" and (params.pos == "verb") then
			entry.pos_header = "Participle";
			entry.head = "{{csb-participle|act}}";
			entry.def = entry.make_def("inflection of", "||actv|adj|part");
			entry.declension = "{{csb-adecl}}";
		elseif params.form == "anterior adverbial participle" and (params.pos == "verb") then
			entry.pos_header = "Participle";
			entry.head = "{{csb-participle|aadv}}";
			entry.def = entry.make_def("inflection of", "||anterior|adverbial|part");
		elseif params.form == "contemporary adverbial participle" and (params.pos == "verb") then
			entry.pos_header = "Participle";
			entry.head = "{{csb-participle|cadv}}";
		end
	end
};