Module:accel/sw

Hello, you have come here looking for the meaning of the word Module:accel/sw. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:accel/sw, but we will also tell you about its etymology, its characteristics and you will know how to say Module:accel/sw in singular and plural. Everything you need to know about the word Module:accel/sw you have here. The definition of the word Module:accel/sw will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:accel/sw, 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 Swahili; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.


return {generate = function(params, entry)
	if string.sub(params.form, 1, 5) == "root:" then -- for verb roots
		entry.pos_header= "Verb"
		entry.head = "{{sw-verb}}"
		entry.def = "{{sw-derform|" .. string.sub(params.form, 6) .. "|" .. params.origin .. "}}"
		entry.conjugation = "{{sw-conj}}"
	elseif string.sub(params.form, 1, 5) == "verb:" then -- for verb inflections
		entry.def = entry.make_def("inflection of", "|-" .. params.origin .. string.sub(params.form, 6))
	elseif params.form == "m" or params.form == "wa" or params.form == "mi" or params.form == "ma" or params.form == "ki" or params.form == "vi" or params.form == "n" or params.form == "pa" or params.form == "ku" or params.form == "mu" then
		entry.def = "{{sw-adj form of|" .. params.form .. "|" .. params.origin .. "}}"
	elseif params.form == "infinitive" then
		entry.head = "{{sw-inf}}"
		entry.def = entry.make_def("inflection of", "|-" .. params.origin .. "|" .. params.form)
	end
end}