Module:tr-headword

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


local export = {}

local function track(page)
	require("Module:debug").track("tr-headword/" .. page)
	return true
end

function export.adjectives(frame)
	local params = {
		head = {},
		 = {}, -- hyphen (-)
		 = {}, -- intensive form
	}
	local args = require("Module:parameters").process(frame:getParent().args, params)
	
	local lang = require("Module:languages").getByCode("tr")
	local poscat = "adjectives"
	local positive_form = args.head or mw.title.getCurrentTitle().text
	local data = {
		lang = lang,
		pos_category = poscat,
		categories = {},
		heads = {positive_form},
		no_redundant_head_cat = not args.head,
		inflections = {}
	}
	
	if args == "-" then
		track("adj is not comparable")
		table.insert(data.inflections, { label = "not comparable" })
	end

	if args then
		track("adj has an intensive form")
		table.insert(data.inflections, { label = "intensive", args .. positive_form })
	end
	
	return require("Module:headword").full_headword(data)
end

return export