Module:category tree/poscatboiler/data/terms by usage
Appearance
- The following documentation is generated by Template:poscatboiler data submodule documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
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 usage"] = {
description = "{{{langname}}} terms categorized by the manner and context in which they are used by speakers.",
umbrella_parents = "Fundamental",
parents = {{name = "{{{langcat}}}", raw = true}},
}
local function generate_category_with_senses(typ, desc, distinguish, other_types_in_group)
if distinguish then
distinguish = "\n\n" .. distinguish
else
distinguish = ""
end
local function make_preceding(pos)
if not other_types_in_group then
return nil
end
local cats = {}
for _, other_type in ipairs(other_types_in_group) do
table.insert(cats, ("Category:{{{langname}}} " .. pos):format(other_type))
end
return ("{{also|%s}}"):format(table.concat(cats, "|"))
end
labels[("%s terms"):format(typ)] = {
description = ("{{{langname}}} terms that %s."):format(desc),
additional = ("To categorize into this category, use {{tl|tlb|{{{langcode}}}|%s}} (template '''tlb''', not '''lb'''), which should typically be placed next to the headword.\n\nIf the term is merely a variant (alternative form) of a term in general use, it should be categorized instead in {{cl|{{{langname}}} %s forms}} (using {{tl|%s form of|{{{langcode}}}|...}} or {{tl|%s spelling of|{{{langcode}}}|...}}). If only some senses of the term are %s, it should be categorized instead in {{cl|{{{langname}}} terms with %s senses}}, using {{tl|lb|{{{langcode}}}|%s}} (template '''lb''' instead of '''tlb'''), which should typically be placed next to the individual sense.%s"):format(
typ, typ, typ, typ, typ, typ, typ, distinguish:gsub("POS", "terms")),
parents = {"terms by usage"},
preceding = make_preceding("%s terms"),
}
labels[("terms with %s senses"):format(typ)] = {
description = ("{{{langname}}} terms with individual senses that %s."):format(desc),
additional = ("To categorize into this category, use {{tl|lb|{{{langcode}}}|%s}} (template '''lb''', not '''tlb'''), which should typically be placed next to the individual sense.\n\nIf the term itself, in all its senses, is %s, it should be placed in {{cl|{{{langname}}} %s terms}} instead, using {{tl|tlb|{{{langcode}}}|%s}} (template '''tlb''' instead of '''lb'''), which should typically be placed next to the headword. If the term is merely a variant (alternative form) of a term in general use, it should be categorized in {{cl|{{{langname}}} %s forms}} (using {{tl|%s form of|{{{langcode}}}|...}} or {{tl|%s spelling of|{{{langcode}}}|...}}).%s"):format(
typ, typ, typ, typ, typ, typ, typ, distinguish:gsub("POS", "senses")),
parents = {{name = "terms by usage", sort = ("%s senses"):format(typ)}},
breadcrumb = ("with %s senses"):format(typ),
preceding = make_preceding("terms with %s senses"),
}
labels[("%s forms"):format(typ)] = {
description = ("{{{langname}}} forms that %s; and serve as alternative forms of the same terms in general use."):format(desc),
additional = ("To categorize into this category, use {{tl|%s form of|{{{langcode}}}|...}} or {{tl|%s spelling of|{{{langcode}}}|...}}.\n\nIf the term is not merely a variant (alternative form) of a term in general use, it should be placed in {{cl|{{{langname}}} %s terms}} instead; to do this, use {{tl|tlb|{{{langcode}}}|%s}} (template '''tlb''', not '''lb'''), which should typically be placed next to the headword. If only some senses of the term are %s, it should be categorized instead in {{cl|{{{langname}}} terms with %s senses}}, using {{tl|lb|{{{langcode}}}|%s}} (template '''lb''' instead of '''tlb'''), which should typically be placed next to the individual sense.%s"):format(
typ, typ, typ, typ, typ, typ, typ, distinguish:gsub("POS", "forms")),
parents = {{name = ("%s terms"):format(typ), sort = "forms"}},
breadcrumb = "forms",
preceding = make_preceding("%s forms"),
}
end
local function generate_related_categories_with_senses(info)
for typ, spec in pairs(info) do
local other_types = {}
for other_type, _ in pairs(info) do
if other_type ~= typ then
table.insert(other_types, other_type)
end
end
table.sort(other_types)
generate_category_with_senses(typ, spec.desc, spec.distinguish, other_types)
end
end
generate_related_categories_with_senses {
archaic = {
desc = "are no longer in general use but still encountered in older literature, sometimes still used for special effect, and typically recognized by native speakers",
distinguish = "Archaic POS should be distinguished from dated POS, which are merely [[unfashionable]] and [[anachronistic]] but still sometimes used, especially by older speakers; and on the other hand from obsolete POS, which are no longer in use at all and are not usually recognized by native speakers.",
},
dated = {
desc = "are no longer fashionable and thus are [[anachronistic]], but still sometimes in use, especially by older speakers",
distinguish = "Dated POS should be distinguished from archaic POS, which are no longer in use (except occasionally for special effect) but are still sometimes encountered in older literature and are typically recognized by native speakers; and obsolete POS, which are no longer in use at all and are not usually recognized by native speakers.",
},
obsolete = {
desc = "are no longer in use and not usually recognized by native speakers, but still sometimes found in older literature",
distinguish = "Obsolete POS should be distinguished from archaic POS, which, although no longer in general use, are still occasionally used for special effect and are typically recognized by native speakers; and dated POS, which are merely [[unfashionable]] and [[anachronistic]] but still sometimes used, especially by older speakers.",
},
}
generate_related_categories_with_senses {
rare = {
desc = "are rarely found in general use and may not be recognized by some native speakers",
distinguish = "Rare POS should be distinguished from uncommon POS, which are not common but used enough to be generally recognized.",
},
uncommon = {
desc = "are in general use but not common",
distinguish = "Uncommon POS should be distinguished from rare POS, which are infrequent enough that they are sometimes not recognized by native speakers.",
},
}
labels["2channel slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to users of the website {{w|2channel}}.",
parents = {"internet slang"},
}
labels["4chan slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to users of the website {{w|4chan}}.",
parents = {"internet slang"},
}
labels["4chan /lgbt/ slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to users of the /lgbt/ board of the website {{w|4chan}}.",
parents = {"4chan slang", "LGBTQ slang"},
}
labels["angry register terms"] = {
description = "{{{langname}}} terms belonging to an angry linguistic register, used only when the speaker is angry.",
parents = {"terms by usage"},
}
labels["anti-LGBTQ slurs"] = {
description = "{{{langname}}} terms that are intended to offend [[LGBTQ]] people.",
parents = {"offensive terms"},
}
labels["autological terms"] = {
description = "{{{langname}}} terms that possess the property they themselves describe.",
parents = {"terms by usage"},
}
labels["back slang"] = {
description = "{{{langname}}} terms in which the written word is spoken phonemically backwards to form a coded language.",
parents = {"cant"},
}
labels["cant"] = {
description = "{{{langname}}} terms used to form secret languages that are typically restricted to members of a specific group.",
parents = {"slang"},
}
labels["censored spellings"] = {
description = "{{{langname}}} spellings where some characters have been changed in an effort to reduce the shock value of the original term.",
parents = {"terms by usage"},
}
labels["childish terms"] = {
description = "{{{langname}}} terms that are typically only used by, or to, children.",
parents = {"terms by usage", "informal terms"},
}
labels["colloquialisms"] = {
description = "{{{langname}}} terms that are likely to be used primarily in casual conversation rather than in more formal written works, speeches, and discourse.",
parents = {"terms by usage"},
}
labels["corporate jargon"] = {
description = "{{{langname}}} terms (typically for non-business-specific concepts) that are used especially in a [[business]] or [[corporate]] [[context]].",
additional = "See also [[:Category:Businesses]], [[:Category:Business]] and language-specific categories thereof for terms related to business-specific concepts.",
parents = {"terms by usage"},
}
labels["criminal slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to criminals.",
parents = {"slang"},
}
labels["derogatory terms"] = {
description = "{{{langname}}} terms that are intended to [[disparage]], [[demean]], [[insult]] or [[offend]].",
parents = {"terms by usage"},
}
labels["dialectal terms"] = {
description = "{{{langname}}} terms that are not used in standard language but only in dialects.",
parents = {"terms by usage"},
}
labels["drag slang"] = {
description = "{{{langname}}} [[slang]] terms used in the [[drag]] community.",
parents = {"LGBTQ slang"},
}
labels["ecclesiastical terms"] = {
description = "{{{langname}}} terms used only by religious figures.",
parents = {"terms by usage"},
}
labels["eggcorns"] = {
description = "{{{langname}}} [[eggcorn]]s, terms which are misconstructed.",
parents = {"misconstructions"},
}
labels["emoticons"] = {
description = "{{{langname}}} characters, or sequences of characters, that imitate expressions and other objects by means of [[pareidolia]].",
parents = {"internet slang", "text messaging slang"},
}
labels["endearing terms"] = {
description = "{{{langname}}} terms that are used to show affection or endearment to another person.",
parents = {"terms by usage"},
}
labels["ethnic slurs"] = {
description = "{{{langname}}} terms that are intended to offend certain ethnic groups.",
parents = {"offensive terms"},
}
labels["expressive terms"] = {
description = "{{{langname}}} terms with additional expressive content compared with the basic meaning of the term.",
additional = "This term is common in Slavic lexicography and is found in most Czech, Slovak and Polish dictionaries, but there is no exact equivalent in English lexicography. The closest equivalents might be a combination of ''colloquial'' and either ''endearing'' or ''pejorative'', as the case may be.",
parents = {"terms by usage"},
}
labels["eye dialect"] = {
description = "{{{langname}}} nonstandard spellings, which however do not change pronunciation, deliberately used by an author to indicate that the speaker uses a nonstandard or dialectal speech.",
parents = {"nonstandard forms", "terms by orthographic property"},
}
labels["familiar terms"] = {
description = "{{{langname}}} terms whose use is typically to contexts of friendly intimacy.",
parents = {"terms by usage"},
}
labels["fandom slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to fans of one or more works of fiction.",
parents = {"slang"},
}
labels["filter-avoidance spellings"] = {
description = "Intentional misspellings of {{{langname}}} terms that are used to avoid [[w:Wordfilter|wordfilters]].",
parents = {"intentional misspellings"},
}
labels["folk poetic terms"] = {
description = "{{{langname}}} terms whose usage is typically restricted to works of oral or folk poetry.",
parents = {"terms by usage", "poetic terms"},
}
labels["formal terms"] = {
description = "{{{langname}}} terms whose use is typically restricted to polite, ceremonious, non-casual contexts.",
parents = {"terms by usage"},
}
labels["gay slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to homosexual people.",
parents = {"LGBTQ slang"},
}
labels["gender-critical slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to gender-critical feminists.",
parents = {"slang", "Category:{{{langcode}}}:Gender-critical feminism"},
}
labels["gender-neutral terms"] = {
description = "{{{langname}}} terms that are applicable to all people, independent of gender.",
parents = {"terms by usage"},
}
labels["higher register terms"] = {
description = "{{{langname}}} terms belonging to a higher linguistic register, such as literary terms; such terms are somewhat less common or known.",
parents = {"terms by usage"},
}
labels["historical terms"] = {
description = "{{{langname}}} terms that refer to obsolete things or concepts.",
parents = {"terms by usage"},
}
labels["honorific terms"] = {
description = "{{{langname}}} [[honorific]] terms, which are used to show deference and respect.",
parents = {"terms by usage"},
}
labels["polite terms"] = {
description = "{{{langname}}} [[polite]] terms, which are used to show deference and respect.",
parents = {"terms by usage"},
}
labels["hapax legomena"] = {
description = "{{{langname}}} terms that are attested only once in the entire corpus.",
parents = {"terms by usage"},
}
labels["humble terms"] = {
description = "{{{langname}}} [[humble]] terms, which are used to indicate that the addressee has higher social standing.",
parents = {"honorific terms"},
}
labels["hypercorrections"] = {
description = "{{{langname}}} forms of other terms by misapplications of grammatical or orthographical rules.",
parents = {"nonstandard terms", "nonstandard forms"},
}
labels["hyperforeign terms"] = {
description = "{{{langname}}} terms created by misapplying the perceived grammatical, orthographical or phonetical rules of another language.",
parents = {"hypercorrections"},
}
labels["incel slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to incels.",
parents = {"slang", "Category:{{{langcode}}}:Incel community"},
}
labels["imperfective forms"] = {
description = "{{{langname}}} verbs that serve as imperfective variants of perfective verbs, sharing the same base set of meanings.",
parents = {"terms by usage"},
}
labels["informal forms"] = {
description = "{{{langname}}} terms that can be used in casual, non-ceremonious conversations as alternative forms of other terms.",
parents = {"informal terms"},
}
labels["informal terms"] = {
description = "{{{langname}}} terms whose use is typically restricted to casual, non‐ceremonious conversations.",
parents = {"terms by usage"},
}
labels["intentional misspellings"] = {
description = "Intentional misspellings of {{{langname}}} terms.",
parents = {"misspellings"},
}
labels["internet laughter slang"] = {
description = "{{{langname}}} [[slang]] terms that are used as substitutes for laughter in internet-related contexts.",
additional = "::''Note: The majority of items that <u>could</u> be here do not meet Wiktionary's [[WT:CFI|criteria for inclusion]].''",
parents = {"internet slang"},
}
labels["internet slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to internet users.",
parents = {"slang"},
}
labels["humorous terms"] = {
description = "{{{langname}}} terms that are humorous, amusing or joking.",
parents = {"terms by usage"},
}
labels["journalistic terms"] = {
description = "{{{langname}}} terms that are used especially in [[journalistic]] language, i.e. in newspapers and magazines.",
parents = {"terms by usage"},
}
labels["kennings"] = {
description = "{{{langname}}} metaphorical compounds or phrases describing basic objects in an allusive fashion, used especially in Germanic poetry.",
parents = {"poetic terms"},
}
labels["leet"] = {
description = "{{{langname}}} which are used in [[leetspeak]], a variety of internet slang that focuses on substitution of letters by other characters which are similar in appearance.",
parents = {"internet slang"},
}
labels["LGBTQ slang"] = {
description = "{{{langname}}} [[slang]] terms which are used predominantly among [[LGBTQ]] people.",
parents = {"slang", "Category:{{{langcode}}}:LGBTQ"},
}
labels["literary terms"] = {
description = "{{{langname}}} terms whose usage is typically restricted to works of literature.",
parents = {"higher register terms"},
}
labels["medical slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to medical doctors, such as physicians and surgeons.",
parents = {"slang"},
}
labels["military slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to military personnel.",
parents = {"slang"},
}
labels["misconstructions"] = {
description = "Terms wrongly built due to a misunderstanding of their parts.",
parents = {"nonstandard forms"},
}
labels["misromanizations"] = {
description = "Common misromanizations of {{{langname}}} terms.",
parents = {"nonstandard forms"},
}
labels["misspellings"] = {
description = "Common accidental misspellings of {{{langname}}} terms and some terms which are deliberate misspellings.",
parents = {"nonstandard forms"},
}
labels["multiplicity slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to the {{l|en|multiplicity|id=multiple personalities}} [[community]].",
parents = {"slang", "Category:{{{langcode}}}:Multiplicity (psychology)"},
}
labels["naval slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to naval personnel.",
parents = {"military slang"},
}
labels["nonstandard forms"] = {
description = "{{{langname}}} forms of standard terms that are considered improper, incorrect or commonly misused.",
parents = {"nonstandard terms"},
}
labels["nonstandard terms"] = {
description = "{{{langname}}} terms that are considered improper, incorrect or commonly misused.",
parents = {"terms by usage"},
}
labels["numismatic slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to numismatists.",
parents = {"slang", "Category:{{{langcode}}}:Currency"},
}
labels["offensive terms"] = {
description = "{{{langname}}} terms that are typically considered to offend people.",
parents = {"terms by usage"},
}
labels["officialese terms"] = {
description = "{{{langname}}} terms that are chiefly used by official sources, and are often bureaucratic-sounding.",
parents = {"terms by usage"},
}
labels["oxymorons"] = {
description = "{{{langname}}} terms that are juxtapositions of opposing ideas.",
parents = {"terms by usage"},
}
labels["perfective forms"] = {
description = "{{{langname}}} verbs that serve as perfective variants of imperfective verbs, sharing the same base set of meanings.",
parents = {"terms by usage"},
}
labels["placeholder terms"] = {
description = "{{{langname}}} terms used to refer to items for which one does not know or cannot recall the name, or is unable to or does not care to specify precisely.",
parents = {"terms by usage"},
}
labels["poetic terms"] = {
description = "{{{langname}}} terms whose usage is typically restricted to works of poetry.",
parents = {"terms by usage", "literary terms"},
}
labels["post-nominal letters"] = {
description = "{{{langname}}} Post-nominal letters - also called post-nominal initials, post-nominal titles or designatory letters are letters placed after the name of a person to indicate that the individual holds a position, educational degree, accreditation, office, military decoration, or honour, or is a member of a religious institute or fraternity.",
parents = {"terms by usage"},
}
labels["prison slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to detainees in correctional institutions.",
parents = {"slang"},
}
labels["proscribed terms"] = {
description = "{{{langname}}} terms whose usage is proscribed; thus, they are considered wrong according to prescriptive sources.",
parents = {"terms by usage", "nonstandard terms"},
}
labels["puristic terms"] = {
description = "{{{langname}}} terms adopted for [[w:Linguistic purism|linguistic purism]].",
parents = {"terms by usage"},
}
labels["radio slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to radio communication.",
parents = {"slang"},
}
labels["Reddit slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to users of the website {{w|Reddit}}.",
parents = {"internet slang"},
}
labels["religious slurs"] = {
description = "{{{langname}}} terms that are intended to offend members of certain religions.",
parents = {"offensive terms"},
}
labels["reverential terms"] = {
description = "{{{langname}}} terms used when referring to nobles.",
parents = {"honorific terms"},
}
labels["royal terms"] = {
description = "{{{langname}}} terms used only by royalty.",
parents = {"terms by usage"},
}
labels["rustic terms"] = {
description = "{{{langname}}} terms whose use is typically restricted rural speech.",
parents = {"terms by usage"},
}
labels["school slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to schools and school pupils.",
parents = {"slang"},
}
labels["self-deprecatory terms"] = {
description = "{{{langname}}} [[self-deprecatory]] terms.",
parents = {"terms by usage"},
}
labels["short forms"] = {
description = "{{{langname}}} terms that are [[short form]]s of other terms, often used informally.",
parents = {"terms by usage", "shortenings"},
}
labels["slang"] = {
description = "{{{langname}}} [[colloquial]] terms that are typically used to mark membership in a cultural subgroup.",
parents = {"terms by usage"},
}
labels["solemn terms"] = {
description = "{{{langname}}} terms that are used to instill a sense of somberness.",
parents = {"terms by usage"},
}
labels["student slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to colleges, universities, and their students.",
parents = {"slang"},
}
labels["superseded forms"] = {
description = "{{{langname}}} forms that have been superseded by other forms due to changes in spelling conventions.",
parents = {"terms by usage", "terms by orthographic property"},
}
labels["swear words"] = {
description = "{{{langname}}} terms that are used to swear, such as to express strong anger or frustration.",
parents = {"vulgarities"},
}
labels["technical terms"] = {
description = "{{{langname}}} terms that are usually or exclusively used in technical/scientific writing.",
parents = {"terms by usage"},
}
labels["terms of address"] = {
description = "{{{langname}}} terms used to refer to another person.",
parents = {"terms by usage"},
}
labels["terms used only in songs"] = {
description = "{{{langname}}} terms only used in songs and chants.",
parents = {"terms by usage"},
}
labels["terms used only in tales"] = {
description = "{{{langname}}} terms only used in tales and stories.",
parents = {"terms by usage"},
}
labels["terms with historical senses"] = {
description = "{{{langname}}} terms with senses that refer to things or concepts mainly known for their historical value.",
parents = {"terms by usage"},
}
labels["terms with transferred senses"] = {
description = "{{{langname}}} terms with [[Appendix:Glossary#transferred senses|transferred senses]].",
parents = {"terms by usage"},
}
labels["terms with uncertain meaning"] = {
description = "{{{langname}}} terms whose meaning is unknown or disputed.",
parents = {"terms by usage"},
}
labels["text messaging slang"] = {
description = "{{{langname}}} terms used for [[text messaging]] on mobile phones or similar devices, usually consisting of heavily abbreviated forms.",
parents = {"slang"},
}
labels["tone indicators"] = {
description = "{{{langname}}} symbols used to denote or clarify the intent of a preceeding message.",
parents = {"internet slang"},
}
labels["trademarks"] = {
description = "{{{langname}}} terms that identify legal entities, their products and services, by means of legal protection — to some extent, in a number of jurisdictions — against unauthorized use of the terms.",
parents = {"terms by usage"},
}
labels["transgender slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to transgender people.",
parents = {"LGBTQ slang", "Category:{{{langcode}}}:Transgender"},
}
labels["TV Tropes slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to users of the website {{w|TV Tropes}}.",
parents = {"internet slang"},
}
labels["umlautless spellings"] = {
description = "{{{langname}}} terms that are the result of the original terms' [[umlaut]]s being substituted.",
parents = {"nonstandard forms", "terms by orthographic property"},
}
labels["Usenet slang"] = {
description = "{{{langname}}} [[slang]] terms whose usage is typically restricted to users of {{w|Usenet}}.",
parents = {"internet slang"},
}
labels["men's speech terms"] = {
description = "{{{langname}}} terms and forms used in [[Appendix:Glossary#men's speech|men's speech]].",
parents = {"terms by usage"},
}
labels["women's speech terms"] = {
description = "{{{langname}}} terms and forms used in [[Appendix:Glossary#women's speech|women's speech]].",
parents = {"terms by usage"},
}
labels["vulgarities"] = {
description = "{{{langname}}} terms whose tone (rather than the meaning) is offensive to polite company.",
parents = {"terms by usage"},
}
-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
if not data.umbrella_parents then
data.umbrella_parents = "Terms by usage subcategories by language"
end
end
-----------------------------------------------------------------------------
-- --
-- RAW CATEGORIES --
-- --
-----------------------------------------------------------------------------
raw_categories["Terms by usage subcategories by language"] = {
description = "Umbrella categories covering topics related to terms categorized by their usage, such as slang, obsolete or archaic forms and vulgarities.",
additional = "{{{umbrella_meta_msg}}}",
parents = {
"Umbrella metacategories",
{name = "terms by usage", is_label = true, sort = " "},
},
}
return {LABELS = labels, RAW_CATEGORIES = raw_categories}