Module:ta-headword

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


local export = {}
local pos_functions = {}

local lang = require("Module:languages").getByCode("ta")
local script = require("Module:scripts").getByCode("Taml")
local PAGENAME = mw.title.getCurrentTitle().text

function export.show(frame)

	local args = frame:getParent().args
	local poscat = frame.args or error("Part of speech has not been specified. Please pass parameter 1 to the module invocation.")

	local data = {lang = lang, sc = script, pos_category = poscat, categories = {}, heads = {args}, inflections = {}}

	if pos_functions then
		pos_functions(args, data)
	end

	local letter = true
	local specialLetter = mw.ustring.gmatch(PAGENAME, '.-().-')
	while true do
		letter = specialLetter()
		if (not letter) then break end
		table.insert(data.categories, "Tamil terms spelled with " .. letter)
	end

	return require("Module:headword").full_headword(data)

end

pos_functions = function(args, data)

	local plurals = {label = "plural"}

	if args then
		table.insert(plurals, args)
		table.insert(data.inflections, plurals)
	end

end

pos_functions = function(args, data)

	local plurals = {label = "plural"}

	if args then
		table.insert(plurals, args)
		table.insert(data.inflections, plurals)
	end

end

return export