Module:accel/de

Hello, you have come here looking for the meaning of the word Module:accel/de. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:accel/de, but we will also tell you about its etymology, its characteristics and you will know how to say Module:accel/de in singular and plural. Everything you need to know about the word Module:accel/de you have here. The definition of the word Module:accel/de will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:accel/de, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

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


return {generate = function (params, entry)
	local template = {
		 = "alternative form of",
	}
	
	if params.form == "zu" then
		entry.def = "{{de-zu-infinitive of|" .. params.origin .. "}}"
	elseif template then
		entry.def = entry.make_def(template)
	end
	
	if params.form == "diminutive" then
		entry.head = "{{de-noun|n}}"
		entry.declension = "{{de-ndecl|n}}"
	end
	
	if params.form == "feminine" then
		entry.head = "{{de-noun|f}}"
		entry.def = "{{female equivalent of|de|" .. params.origin .. "}}"
		entry.declension = "{{de-ndecl|f}}"
	end
	
	if params.form == "neuter" then
		entry.pos = "noun"
		entry.head = "{{de-noun|+}}"
		local adj = mw.getContentLanguage():lcfirst(params.target):gsub("es$", "")
		entry.def = "{{nominalization of|de|" .. adj .. "}}"
		entry.declension = "{{de-ndecl|+}}"
	end
	
	local ending = params.form:match("^adj%-form%-(.*)$")
	if ending then
		local auto_ending = require("Module:de-inflections").determine_adj_ending(params.origin, params.target)
		if auto_ending and auto_ending == ending then
			entry.def = "{{de-adj form of|" .. params.origin .. "}}"
		else
			entry.def = "{{de-adj form of|" .. params.origin .. "|" .. ending .. "}}"
		end
	end
end}