Module:category tree/poscatboiler/data/figures of speech

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["figures of speech"] = {
	description = "{{{langname}}} terms whose interpretation is not strictly literal, but are used in figurative ways or for special effect.",
	umbrella_parents = "Fundamental",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["abbreviated euphemisms"] = {
	description = "{{{langname}}} shortened euphemisms for profane, blasphemous, or taboo terms.",
	parents = {"euphemisms"},
}

labels["aphorisms"] = {
	description = "{{{langname}}} phrases that convey basic concepts in a manner short and easily memorable. Typically conveying a concise statement of a scientific principle or truth.",
	parents = {"figures of speech"},
}

labels["catchphrases"] = {
	description = "{{{langname}}} phrases that are popularized through repeated use.",
	parents = {"figures of speech"},
}

labels["dysphemisms"] = {
	description = "{{{langname}}} [[dysphemism]]s (offensive, vulgar or otherwise negative terms used in place of a neutral alternative).",
	parents = {"figures of speech"},
}

labels["euphemisms"] = {
	description = "{{{langname}}} terms that indirectly refer to something unpleasant or controversial.",
	parents = {"figures of speech"},
}

labels["four-character idioms"] = {
	description = "{{{langname}}} phrases originating in Classical Chinese, typically four characters in length.",
	parents = {"idioms"},
}

labels["hyperboles"] = {
	description = "{{{langname}}} terms used as exaggerations for emphasis, rather than being taken literally.",
	parents = {"figures of speech"},
}

labels["idioms"] = {
	description = "{{{langname}}} phrases understood by subjective, as opposed to literal meanings.",
	parents = {"figures of speech", "multiword terms"},
}

labels["litotes"] = {
	description = "{{{langname}}} litotical expressions or terms commonly used in [[litotes]] (stating something by denying its opposite).",
	parents = {"figures of speech"},
}

labels["meioses"] = {
	description = "{{{langname}}} meiotic expressions or terms commonly used in [[meiosis]] (downplaying the focal point of a statement for effect).",
	parents = {"figures of speech"},
}

labels["metaphors"] = {
	description = "{{{langname}}} phrases that invoke a similarity with something else.",
	parents = {"figures of speech"},
}

labels["minced oaths"] = {
	description = "{{{langname}}} euphemisms for profane, blasphemous, or taboo terms.",
	parents = {"euphemisms"},
}

labels["proverbs"] = {
	description = "{{{langname}}} phrases popularly known as representations of common sense.",
	parents = {"figures of speech", "phrases"},
}

labels["sarcastic terms"] = {
	description = "{{{langname}}} terms that are used sarcastically.",
	parents = {"figures of speech"},
}

labels["similes"] = {
	description = "{{{langname}}} figures of speech in which one thing is compared to another.",
	parents = {"figures of speech"},
}
labels["set phrases"] = {
	description = "{{{langname}}}  An established expression whose wording is subject to little or no variation.",
	parents = {"figures of speech"},
}
labels["snowclones"] = {
	description = "{{{langname}}} clichés using old idioms with varying words in new contexts.",
	parents = {"idioms"},
}
labels["synecdoches"] = {
	description = "{{{langname}}} figures of speech in which a term for a part of something is used to refer to the whole [[pars pro toto]], or vice versa [[totum pro parte]].",
	parents = {"figures of speech"},
}

-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
	if not data.umbrella_parents then
		data.umbrella_parents = "Figures of speech subcategories by language"
	end
end



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


raw_categories["Figures of speech subcategories by language"] = {
	description = "Umbrella categories covering topics related to figures of speech.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Umbrella metacategories",
		{name = "figures of speech", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}