Module:accel/tl

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


return {generate = function (params, entry)
	
	-- Check native script first
	if params.form == "Baybayin" then
		--{{tl-pr}} does not work in Baybayn entries, so don't include that.
		
		local pos_with_head_template = {
			noun = "noun",
			 = "proper noun",
			verb = "verb",
			adjective = "adj",
			adverb = "adv",
			numeral = "num",
			preposition = "prep",
			pronoun = "pron"
		}
		if pos_with_head_template ~= nil then
			entry.head = "{{tl-" .. pos_with_head_template .."}}"
		else 
			entry.head = "{{tl-head|" .. params.pos .."}}"
		end
			
		entry.def = "{{tl-bay|" .. params.origin .. "}}"
		
	else
	
		entry.pronunc = "{{tl-pr}}"
		entry.head = "{{tl-head|" .. params.pos .." form|b=+}}"
		
		if params.pos == "verb" then
			entry.def = "{{verb form of|tl|" .. params.origin .. "||" .. params.form .. "}}"
		end
	
	end

end}