Module:category tree/poscatboiler/data/speech acts

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This data submodule defines part of Wiktionary's category structure.

For an introduction to the poscatboiler system and a description of how to add or modify categories, see Module:category tree/poscatboiler/data/documentation.


local labels = {}
local raw_categories = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  LABELS                                 --
--                                                                         --
-----------------------------------------------------------------------------

labels["speech acts"] = {
	description = "{{{langname}}} terms that serves a performative function, in addition to conveying information.",
	umbrella_parents = "Terms by semantic function subcategories by language",
	parents = {"terms by semantic function"},
}

labels["dismissals"] = {
	description = "{{{langname}}} expressions intended to [[dismiss]] the listener.",
	parents = {"farewells", "imperative sentences"},
}

labels["expressions of gratitude"] = {
	description = "{{{langname}}} expressions intended to express the [[gratitude]] or [[thank]]s of the speaker to the listener.",
	parents = {"speech acts"},
}

labels["farewells"] = {
	description = "{{{langname}}} expressions intended to mark the end of the speaker's interaction with the listener.",
	parents = {"speech acts"},
}

labels["greetings"] = {
	description = "{{{langname}}} expressions intended to mark the start of the speaker's interaction with the listener.",
	parents = {"speech acts"},
}

labels["mnemonics"] = {
	description = "{{{langname}}} terms used for remembering something more easily.",
	parents = {"speech acts"},
}

labels["oaths"] = {
	description = "{{{langname}}} expressions which appeal to a deity or entity as a form of intensifier.",
	parents = {"speech acts", "intensifiers"},
}

labels["responses to sneezing"] = {
	description = "{{{langname}}} expressions said in response to a [[sneeze]].",
	parents = {"speech acts"},
}

labels["toasts"] = {
	description = "{{{langname}}} expressions said as part of a [[toast]].",
	parents = {"speech acts"},
}

for label, data in pairs(labels) do
	if not data.umbrella_parents then
		data.umbrella_parents = "Speech acts subcategories by language"
	end
end



-----------------------------------------------------------------------------
--                                                                         --
--                              RAW CATEGORIES                             --
--                                                                         --
-----------------------------------------------------------------------------


raw_categories["Speech acts subcategories by language"] = {
	description = "Umbrella categories covering topics related to speech acts, such as greetings or farewells.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Umbrella metacategories",
		{name = "speech acts", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}