Module:category tree/poscatboiler/data/terms by semantic function

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["terms by semantic function"] = {
	description = "{{{langname}}} terms by their semantic function, regardless of part of speech.",
	umbrella_parents = "Fundamental",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["cardinal numbers"] = {
	description = "{{{langname}}} terms that are used to count objects.",
	parents = {"numbers"},
}

labels["demonstrative pro-forms"] = {
	description = "{{{langname}}} terms that refer to specified entities or qualities.",
	parents = {"pro-forms"},
}

labels["fractional numbers"] = {
	description = "{{{langname}}} terms that indicate proportioned parts of a whole.",
	parents = {"numbers"},
}

labels["hedges"] = {
	description = "{{{langname}}} expressions that are used to qualify statements so as to lessen impact, e.g. to appear polite or modest or to soften a blow.",
	parents = {"terms by semantic function"},
}

labels["indefinite pro-forms"] = {
	description = "{{{langname}}} terms that refer to unspecified entities or qualities.",
	parents = {"pro-forms"},
}

labels["intensifiers"] = {
	description = "{{{langname}}} terms that serve to intensify.",
	parents = {"terms by semantic function"},
}

labels["interrogative pro-forms"] = {
	description = "{{{langname}}} terms that request the listener to specify.",
	parents = {"pro-forms"},
}

labels["imperative sentences"] = {
	description = "{{{langname}}} free-standing expressions that are in the grammatical form of commands, though often with a [[precative]] or [[hortatory]] force.",
	parents = {"sentences"},
}

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

labels["negative polarity items"] = {
	description = "{{{langname}}} terms that are chiefly or always used with a negation.",
	additional = "These are the opposite of positive polarity items; see [[:Category:{{{langname}}} positive polarity items]]. See also {{pedia|Polarity items}}",
	umbrella = {
		additional = "These are the opposite of positive polarity items; see [[:Category:Positive polarity items by language]]. See also {{pedia|Polarity items}}", 
	},
	parents = {"terms by semantic function"},
}

labels["nominal numbers"] = {
	description = "{{{langname}}} terms that represent numbers as entities in themselves.",
	parents = {"numbers"},
}

labels["numbers"] = {
	description = "{{{langname}}} terms that represent or relate to numbers of various kinds.",
	parents = {"terms by semantic function"},
}

labels["oaths"] = {
	description = "",
	parents = {"terms by semantic function"},
}

labels["ordinal numbers"] = {
	description = "{{{langname}}} terms that specify the ordering of objects within a sequence.",
	parents = {"numbers"},
}

labels["positive polarity items"] = {
	description = "{{{langname}}} terms that are chiefly or always used in an affirmative sentence, and not with a negation.",
	additional = "These are the opposite of negative polarity items; see [[:Category:{{{langname}}} negative polarity items]]. See also {{pedia|Polarity items}}",
	umbrella = {
		additional = "These are the opposite of negative polarity items; see [[:Category:Negative polarity items by language]]. See also {{pedia|Polarity items}}", 
	},
	parents = {"terms by semantic function"},
}

labels["pro-forms"] = {
	description = "{{{langname}}} terms that refer to other parts of speech.",
	parents = {"terms by semantic function"},
}

labels["pro-sentences"] = {
	description = "{{{langname}}} terms that substitute for full [[sentences]].",
	parents = {"pro-forms"},
}

labels["questions"] = {
	description = "{{{langname}}} terms that usually or notably used as questions.",
	parents = {"terms by semantic function", "sentences"},
}

labels["relative pro-forms"] = {
	description = "{{{langname}}} terms that indicate [[relative clause]]s.",
	parents = {"pro-forms"},
}

labels["rhetorical questions"] = {
	description = "{{{langname}}} questions posed only for dramatic or persuasive effect.",
	parents = {"idioms", "sentences", "questions"},
}

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



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


raw_categories["Terms by semantic function subcategories by language"] = {
	description = "Umbrella categories covering topics related to terms categorized by their semantic function, such as types of numbers or questions.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Umbrella metacategories",
		{name = "terms by semantic function", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}