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 = {
description = "{{{langname}}} terms by their semantic function, regardless of part of speech.",
umbrella_parents = "Fundamental",
parents = {{name = "{{{langcat}}}", raw = true}},
}
labels = {
description = "{{{langname}}} terms that are used to count objects.",
parents = {"numbers"},
}
labels = {
description = "{{{langname}}} terms that refer to specified entities or qualities.",
parents = {"pro-forms"},
}
labels = {
description = "{{{langname}}} terms that indicate proportioned parts of a whole.",
parents = {"numbers"},
}
labels = {
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 = {
description = "{{{langname}}} terms that refer to unspecified entities or qualities.",
parents = {"pro-forms"},
}
labels = {
description = "{{{langname}}} terms that serve to intensify.",
parents = {"terms by semantic function"},
}
labels = {
description = "{{{langname}}} terms that request the listener to specify.",
parents = {"pro-forms"},
}
labels = {
description = "{{{langname}}} free-standing expressions that are in the grammatical form of commands, though often with a ] or ] force.",
parents = {"sentences"},
}
labels = {
description = "{{{langname}}} terms that are chiefly or always used with a negation.",
additional = "These are the opposite of positive polarity items; see ]. See also {{pedia|Polarity items}}",
umbrella = {
additional = "These are the opposite of positive polarity items; see ]. See also {{pedia|Polarity items}}",
},
parents = {"terms by semantic function"},
}
labels = {
description = "{{{langname}}} terms that represent numbers as entities in themselves.",
parents = {"numbers"},
}
labels = {
description = "{{{langname}}} terms that represent or relate to numbers of various kinds.",
parents = {"terms by semantic function"},
}
labels = {
description = "{{{langname}}} terms that specify the ordering of objects within a sequence.",
parents = {"numbers"},
}
labels = {
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 ]. See also {{pedia|Polarity items}}",
umbrella = {
additional = "These are the opposite of negative polarity items; see ]. See also {{pedia|Polarity items}}",
},
parents = {"terms by semantic function"},
}
labels = {
description = "{{{langname}}} terms that refer to other parts of speech.",
parents = {"terms by semantic function"},
}
labels = {
description = "{{{langname}}} terms that substitute for full ].",
parents = {"pro-forms"},
}
labels = {
description = "{{{langname}}} terms that are usually or notably used as questions.",
parents = {"sentences"},
}
labels = {
description = "{{{langname}}} terms that indicate ]s.",
parents = {"pro-forms"},
}
labels = {
description = "{{{langname}}} questions posed only for dramatic or persuasive effect.",
parents = {"idioms", "sentences", "questions"},
}
labels = {
description = "{{{langname}}} expressions that are grammatically ].",
parents = {"terms by semantic function"},
}
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 = {
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}