మాడ్యూల్:labels/data
Appearance
Documentation for this module may be created at మాడ్యూల్:labels/data/doc
local labels = {}
local aliases = {}
local deprecated = {}
local replacements = {
labels = {},
aliases = {},
deprecated = {},
}
-- Helper labels
labels['_'] = {
display = '',
omit_preComma = true,
omit_postComma = true,
}
labels['and'] = {
omit_preComma = true,
omit_postComma = true,
}
aliases['&'] = 'and'
labels['or'] = {
omit_preComma = true,
omit_postComma = true,
}
labels[';'] = {
omit_preComma = true,
omit_postComma = true,
omit_preSpace = true,
}
-- combine with 'except in', 'outside'? or retain for entries like "wnuczę"?
labels['except'] = {
omit_preComma = true,
omit_postComma = true,
}
labels['outside'] = {
omit_preComma = true,
omit_postComma = true,
}
aliases['except in'] = 'outside'
-- Qualifier labels
labels['chiefly'] = {
omit_postComma = true,
}
aliases['mainly'] = 'chiefly'
aliases['mostly'] = 'chiefly'
aliases['primarily'] = 'chiefly'
labels['especially'] = {
omit_postComma = true,
}
labels['particularly'] = {
omit_postComma = true,
}
labels['excluding'] = {
omit_postComma = true,
}
labels['extremely'] = {
omit_postComma = true,
}
labels['frequently'] = {
omit_postComma = true,
}
labels['humorously'] = { omit_postComma = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "jocular terms" },
}
labels['including'] = {
omit_postComma = true,
}
labels['literally'] = {
glossary = "literally",
omit_postComma = true,
}
aliases['literal'] = 'literally'
labels['many'] = {
omit_postComma = true,
} -- e.g. "many dialects"
labels['markedly'] = {
omit_postComma = true,
}
labels['mildly'] = {
omit_postComma = true,
}
labels['now'] = {
omit_postComma = true,
}
aliases['nowadays'] = 'now'
labels['of'] = {
omit_postComma = true,
}
labels['of a'] = {
omit_postComma = true,
}
labels['of an'] = {
omit_postComma = true,
}
labels['often'] = {
omit_postComma = true,
}
labels['originally'] = {
omit_postComma = true,
}
labels['possibly'] = {
omit_postComma = true,
}
-- aliases['perhaps'] = 'possibly'
labels['rarely'] = {
omit_postComma = true,
}
labels['slightly'] = {
omit_postComma = true,
}
labels['sometimes'] = {
omit_postComma = true,
}
labels['somewhat'] = {
omit_postComma = true,
}
labels['strongly'] = {
omit_postComma = true,
}
labels['typically'] = {
omit_postComma = true,
}
labels['usually'] = {
omit_postComma = true,
}
labels['very'] = {
omit_postComma = true,
}
-- Grammatical labels
labels["abbreviation"] = {
display = "[[abbreviation]]",
pos_categories = { "abbreviations" },
}
labels["acronym"] = {
display = "[[acronym]]",
pos_categories = { "acronyms" },
}
labels["active"] = {
Wikipedia = "Active voice",
}
aliases["active voice"] = "active"
aliases["in the active"] = "active"
labels["ambitransitive"] = {
display = "[[transitive]], [[intransitive]]",
pos_categories = { "transitive verbs", "intransitive verbs" },
}
labels["archaic-verb-form"] = {
glossary = "archaic",
pos_categories = { "archaic verb forms" },
}
labels["attributive"] = {
display = "[[Appendix:English nouns#Attributive|attributive]]",
}
labels["attributively"] = {
display = "[[Appendix:English nouns#Attributive|attributively]]",
}
labels["auxiliary"] = {
glossary = true,
pos_categories = { "auxiliary verbs" }
}
labels["by ellipsis"] = {
display = "by [[ellipsis]]",
pos_categories = { "ellipses" },
}
labels["by extension"] = {}
labels["cardinal"] = {
display = "[[cardinal number|cardinal]]",
pos_categories = { "cardinal numbers" },
}
deprecated["ordinal"] = true
labels["causative"] = {
display = "[[causative]]" }
labels["cognate object"] = {
display = "with [[w:Cognate object|cognate object]]",
pos_categories = { "verbs used with cognate objects" },
}
aliases["with cognate object"] = "cognate object"
labels["collective"] = {
display = "collective",
pos_categories = { "collective nouns" },
}
labels["collectively"] = {
display = "collectively",
pos_categories = { "collective nouns" },
}
labels["control verb"] = {
Wikipedia = true,
pos_categories = { "control verbs" },
}
aliases["control"] = "control verb"
labels["common"] = {
glossary = true
}
labels["comparable"] = {
glossary = true
}
labels["copulative"] = {
display = "[[copular verb|copulative]]",
pos_categories = { "copulative verbs" },
}
aliases["copular"] = "copulative"
labels["countable"] = {
glossary = true,
pos_categories = { "countable nouns" },
}
labels["ditransitive"] = {
glossary = true,
pos_categories = { "ditransitive verbs" },
}
labels["emphatic"] = {
glossary = true
}
labels["ergative"] = {
glossary = true,
pos_categories = { "ergative verbs" },
}
labels["feminine"] = {
glossary = true
}
labels["focus"] = {
glossary = true,
pos_categories = { "focus adverbs" },
}
labels["fractional"] = {
pos_categories = { "fractional numbers" },
}
labels["hedge"] = {
glossary = true,
pos_categories = { "hedges" },
}
aliases["hedges"] = "hedge"
labels["idiomatic"] = {
glossary = true,
pos_categories = { "idioms" },
}
aliases["idiom"] = "idiomatic"
labels["snowclone"] = {
glossary = true,
pos_categories = { "snowclones" },
}
labels["impersonal"] = {
glossary = true,
pos_categories = { "impersonal verbs" },
}
labels["in the singular"] = {
display = "in the [[singular]]",
}
aliases["in singular"] = "in the singular"
labels["in the dual"] = {
display = "in the [[dual]]",
}
aliases["in dual"] = "in the dual"
labels["in the plural"] = {
display = "in the [[plural]]",
}
aliases["in plural"] = "in the plural"
labels["in the mediopassive"] = {
display = "in the [[mediopassive]]" }
aliases["in mediopassive"] = "in the mediopassive"
aliases["mediopassive"] = "in the mediopassive"
labels["inanimate"] = {
glossary = true
}
aliases["indef"] = "indefinite"
labels["initialism"] = {
display = "[[initialism]]",
pos_categories = { "initialisms" },
}
labels["intransitive"] = {
glossary = true,
pos_categories = { "intransitive verbs" },
}
labels["not comparable"] = {
glossary = true
}
aliases["notcomp"] = "not comparable"
aliases["uncomparable"] = "not comparable"
labels["masculine"] = {
glossary = true
}
labels["middle"] = {
Wikipedia = "Voice (grammar)#Middle",
}
aliases["middle voice"] = "middle"
aliases["in the middle"] = "middle"
aliases["in the middle voice"] = "middle"
labels["mnemonic"] = {
display = '[[mnemonic]]',
pos_categories = { "mnemonics" },
}
labels["neuter"] = {
glossary = true
}
labels["onomatopoeia"] = {
display = "[[onomatopoeia]]",
pos_categories = { "onomatopoeias" },
}
labels["ordinal"] = {
pos_categories = { "ordinal numbers" },
}
deprecated["ordinal"] = true
deprecated["plural"] = true
labels["passive"] = {
Wikipedia = "Passive voice",
}
aliases["passive voice"] = "passive"
aliases["in the passive"] = "passive"
labels["plural only"] = {
pos_categories = { "pluralia tantum" },
}
aliases["pluralonly"] = "plural only"
aliases["plurale tantum"] = "plural only"
labels["possessive pronoun"] = {
display = "possessive",
pos_categories = { "possessive pronouns" },
}
labels["postpositive"] = {
glossary = true
}
labels["productive"] = {
display = "[[productive]]" }
-- TODO: This label is probably inappropriate for many languages
labels["pronominal"] = {
display = "takes a [[reflexive pronoun]]",
}
labels["pro-verb"] = {
Wikipedia = true
}
labels["reciprocal"] = {
display = "[[reciprocal]]" }
labels["reflexive"] = {
display = "[[reflexive]]" }
labels["rhetorical question"] = {
glossary = true,
pos_categories = { "rhetorical questions" },
}
labels["set phrase"] = {
display = "[[set phrase]]" }
labels["simile"] = {
glossary = true,
pos_categories = { "similes" },
}
deprecated["singular"] = true
labels["singular only"] = {
display = "singular only",
pos_categories = { "singularia tantum" },
}
aliases["singulare tantum"] = "singular only"
aliases["no plural"] = "singular only"
labels["stative"] = {
Wikipedia = "stative verb",
pos_categories = { "stative verbs" },
}
aliases["stative verb"] = "stative"
labels["transitive"] = {
glossary = true,
pos_categories = { "transitive verbs" },
}
labels["unaccusative"] = {
Wikipedia = "Unaccusative verb",
}
labels["uncountable"] = {
glossary = true,
pos_categories = { "uncountable nouns" },
}
labels["unergative"] = {
Wikipedia = "Unergative verb",
}
labels["usually plural"] = {
display = "usually in the [[plural]]",
}
aliases["usually in the plural"] = "usually plural"
aliases["usually in plural"] = "usually plural"
-- Usage labels
labels["ACG"] = {
display = "[[ACG]]",
-- see also "fandom slang"
pos_categories = { "fandom slang" },
}
labels["advertising slang"] = {
pos_categories = { "advertising slang" },
}
aliases["ad slang"] = "advertising slang"
aliases["cosmo"] = "advertising slang"
labels["affectionate"] = {
display = "[[affectionate]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "affectionate terms" },
}
aliases["endearing"] = "affectionate"
labels["archaic"] = {
glossary = true,
sense_categories = { "archaic" },
}
labels["Australian slang"] = {
regional_categories = { "Australian" },
plain_categories = { "Australian slang" },
}
labels["avoidance"] = {
glossary = true
}
labels["back slang"] = {
display = "[[backslang|back slang]]",
plain_categories = { "Back slang" },
}
aliases["backslang"] = "back slang"
aliases["back-slang"] = "back slang"
labels["Braille"] = {
Wikipedia = true,
}
labels["British slang"] = {
plain_categories = { "British slang" },
}
aliases["UK slang"] = "British slang"
labels["buzzword"] = {
display = "[[buzzword]]",
pos_categories = { "buzzwords" },
}
labels["Cambridge University slang"] = {
plain_categories = { "Cambridge University slang" },
}
aliases["Cambridge University"] = "Cambridge University slang"
labels["cant"] = {
display = "[[cant]]",
pos_categories = { "cant" },
}
labels["capitalized"] = {
display = "[[capitalized]]" }
labels["childish"] = {
display = "[[childish]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "childish terms" },
}
aliases["baby talk"] = "childish"
aliases["child language"] = "childish"
labels["chu Nom"] = {
display = "[[Vietnamese]] [[chữ Nôm]]",
plain_categories = { "Vietnamese Han tu" },
}
labels["Classic 1811 Dictionary of the Vulgar Tongue"] = {
display = "[[Appendix:Glossary#archaic|archaic]], [[Appendix:Glossary#slang|slang]]",
plain_categories = { "Classic 1811 Dictionary of the Vulgar Tongue" },
}
aliases["1811"] = "Classic 1811 Dictionary of the Vulgar Tongue"
labels["Cockney rhyming slang"] = {
display = "[[Cockney rhyming slang]]",
plain_categories = { "Cockney rhyming slang" },
}
labels["colloquial"] = {
glossary = true,
pos_categories = { "colloquialisms" },
}
aliases["colloquially"] = "colloquial"
labels["colloquial-um"] = {
glossary = "colloquial",
pos_categories = { "colloquialisms containing sequence um" },
}
labels["colloquial-un"] = {
glossary = "colloquial",
pos_categories = { "colloquialisms containing sequence un" },
}
labels["dated"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "dated terms" },
}
labels["dated form"] = {
glossary = "dated",
pos_categories = { "dated forms" },
}
labels["dated sense"] = {
glossary = "dated",
sense_categories = { "dated" },
} -- combine with previous
labels["derogatory"] = {
display = "[[derogatory]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "derogatory terms" },
}
labels["dialect"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "dialectal terms" },
}
labels["dialectal"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "dialectal terms" },
}
labels["dialects"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "dialectal terms" },
}
labels["dismissal"] = {
display = "[[dismissal]]",
pos_categories = { "dismissals" },
}
labels["ethnic slur"] = {
display = "[[ethnic]] [[slur]]",
pos_categories = { "ethnic slurs" },
}
aliases["racial slur"] = "ethnic slur"
labels["euphemistic"] = {
glossary = "euphemism",
pos_categories = { "euphemisms" },
}
aliases["euphemism"] = "euphemistic"
labels["eye dialect"] = {
pos_categories = { "eye dialect" },
}
labels["familiar"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "familiar terms" },
}
labels["fandom slang"] = {
pos_categories = { "fandom slang" },
}
aliases["fandom"] = "fandom slang"
labels["figuratively"] = {
glossary = "figurative" }
aliases["figurative"] = "figuratively"
aliases["metaphorically"] = "figuratively"
aliases["metaphorical"] = "figuratively"
aliases["metaphor"] = "figuratively"
labels["formal"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "formal terms" },
}
labels["gay slang"] = {
pos_categories = { "gay slang" },
}
labels["historical"] = {
glossary = true,
sense_categories = { "historical" },
}
aliases["historic"] = "historical"
aliases["history"] = "historical"
-- used exclusively by languages that use the “Jpan” script code
labels["historical hiragana"] = {
pos_categories = { "historical hiragana" },
}
-- used exclusively by languages that use the “Jpan” script code
labels["historical katakana"] = {
pos_categories = { "historical katakana" },
}
-- applies to Japanese and Korean, etc., please do not confuse with "polite"
labels["honorific"] = {
Wikipedia = "Honorifics (linguistics)",
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "honorific terms" },
}
-- for Ancient Greek
labels['Homeric epithet'] = {
display = "[[Homeric Greek|Homeric]] [[w:Homeric epithets|epithet]]",
plain_categories = { "Epic Ancient Greek" },
omit_postComma = true,
}
-- applies to Japanese and Korean, etc.
labels["humble"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "humble terms" },
}
labels["humorous"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp; NB and cf a similar "jocular" label further up on this page
pos_categories = { "jocular terms" },
}
aliases["jocular"] = "humorous"
labels["hyperbolic"] = {
pos_categories = { "hyperboles" },
}
aliases["hyperbole"] = "hyperbolic"
labels["hypercorrect"] = {
glossary = true,
pos_categories = { "hypercorrections" },
}
labels["hyperforeign"] = {
glossary = true,
pos_categories = { "hyperforeign terms" },
}
labels["informal"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "informal terms" },
}
aliases["informally"] = "informal"
labels["Internet slang"] = {
pos_categories = { "internet slang" },
}
aliases["internet slang"] = "Internet slang"
labels["IRC"] = {
display = "[[IRC]]",
pos_categories = { "internet slang" },
}
labels["ironic"] = {}
labels["leet"] = {
display = "[[leetspeak]]",
pos_categories = { "leet" },
}
aliases["leetspeak"] = "leet"
labels["literary"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "literary terms" },
}
aliases["bookish"] = "literary"
labels["loosely"] = {
display = "[[loosely#Adverb|loosely]]" }
labels["Lubunyaca"] = {
display = "[[Lubunyaca]]",
pos_categories = { "Lubunyaca" },
}
labels["medical slang"] = {
pos_categories = { "medical slang" },
}
-- for Awetí, Karajá, etc., where men and women use different words
labels["men's speech"] = {
glossary = "men's speech",
pos_categories = { "men's speech terms" },
}
aliases["male speech"] = "men's speech"
labels["metonymically"] = {
display = "[[metonymy|metonymically]]",
pos_categories = { "metonyms" },
}
aliases["metonymic"] = "metonymically"
aliases["metonymy"] = "metonymically"
aliases["metonym"] = "metonymically"
labels["military slang"] = {
pos_categories = { "military slang" },
}
labels["minced oath"] = {
display = "[[minced oath]]",
pos_categories = { "euphemisms" },
}
labels["neologism"] = {
glossary = true,
pos_categories = { "neologisms" },
}
aliases["neologistic"] = "neologism"
labels["New Julfa"] = {
regional_categories = { "New Julfa" },
}
aliases["Jugha"] = "New Julfa"
labels["no longer productive"] = {
display = "no longer [[Appendix:Glossary#productive|productive]]",
}
labels["nonce word"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "nonce terms" },
}
aliases["nonce"] = "nonce word"
labels["nonstandard"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "nonstandard terms" },
}
aliases["non-standard"] = "nonstandard"
labels["nonstandard form"] = {
glossary = "nonstandard",
pos_categories = { "nonstandard forms" },
}
labels["obsolete"] = {
glossary = true,
sense_categories = { "obsolete" },
}
labels["obsolete term"] = {
glossary = "obsolete",
-- combine with previous two, q.v.
pos_categories = { "obsolete terms" },
}
labels["offensive"] = {
display = "[[offensive]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "offensive terms" },
}
labels["Oxbridge slang"] = {
display = "[[Oxbridge]] slang",
plain_categories = { "Cambridge University slang", "Oxford University slang" },
}
aliases["Oxbridge"] = "Oxbridge slang"
labels["Oxford University slang"] = {
plain_categories = { "Oxford University slang" },
}
aliases["Oxford University"] = "Oxford University slang"
labels["pejorative"] = {
display = "[[pejorative]]",
pos_categories = { "pejoratives" },
}
aliases["disparaging"] = "pejorative"
labels["poetic"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "poetic terms" },
}
labels["Polari"] = {
display = "[[Polari]]",
pos_categories = { "Polari slang" },
}
labels["polite"] = {
pos_categories = { "polite terms" },
}
labels["post-classical"] = {
display = "post-classical",
regional_categories = { "Post-classical" },
}
aliases["Post-classical"] = "post-classical"
aliases["post-Classical"] = "post-classical"
aliases["Post-Classical"] = "post-classical"
aliases["Postclassical"] = "post-classical"
aliases["postclassical"] = "post-classical"
labels["proscribed"] = {
glossary = true,
pos_categories = { "disputed terms" },
}
labels["radio slang"] = {
pos_categories = { "radio slang" },
}
labels["rare"] = {
sense_categories = { "rare" },
}
aliases["rare sense"] = "rare"
labels["rare term"] = {
display = "rare",
-- see comments about "obsolete"
pos_categories = { "rare terms" },
}
labels["religious slur"] = {
display = "[[religious]] [[slur]]",
pos_categories = { "religious slurs" },
}
aliases["sectarian slur"] = "religious slur"
labels["retronym"] = {
display = "[[retronym]]",
pos_categories = { "retronyms" },
}
labels["sarcastic"] = {
display = "[[sarcastic]]",
pos_categories = { "sarcastic terms" },
}
labels["school slang"] = {
pos_categories = { "school slang" },
}
aliases["public school slang"] = "school slang"
labels["slang"] = {
glossary = true,
pos_categories = { "slang" },
}
labels["college slang"] = {
pos_categories = { "student slang" },
}
aliases["university slang"] = "college slang"
aliases["student slang"] = "college slang"
labels["text messaging"] = {
display = "[[text messaging]]",
pos_categories = { "text messaging slang" },
}
aliases["texting"] = "text messaging"
labels["thieves' cant"] = {
Wikipedia = true,
plain_categories = { "Thieves' cant" },
}
aliases["thieves cant"] = "thieves' cant"
aliases["thieves'"] = "thieves' cant"
aliases["thieves"] = "thieves' cant"
labels["trademark"] = {
display = "[[trademark]]",
pos_categories = { "trademarks" },
}
labels["transferred sense"] = {
display = "[[transferred sense#English|transferred sense]]",
pos_categories = { "terms with transferred senses" },
}
labels["transferred senses"] = {
display = "[[transferred sense#English|transferred senses]]",
pos_categories = { "terms with transferred senses" },
}
labels["uds."] = {
display = "[[Appendix:Spanish pronouns#Ustedes and vosotros|used formally in Spain]]" }
labels["uncommon"] = {
pos_categories = { "rare forms" },
}
labels["very rare"] = {
pos_categories = { "rare forms" },
}
labels["vulgar"] = {
glossary = true,
pos_categories = { "vulgarities" },
}
aliases["coarse"] = "vulgar"
aliases["obscene"] = "vulgar"
aliases["profane"] = "vulgar"
labels["vesre"] = {
plain_categories = { "Vesre" },
}
-- for Awetí, Karajá, etc., where men & women use different words
labels["women's speech"] = {
glossary = "women's speech",
pos_categories = { "women's speech terms" },
}
aliases["female speech"] = "women's speech"
labels["example1"] = {
Wikipedia = "Wu Chinese"
}
labels["example2"] = {
glossary = "palatalization"
}
-- Regional labels
local m_regional = require("Module:labels/data/regional")
for key, val in pairs(m_regional.labels) do
labels[key] = val
end
for key, val in pairs(m_regional.aliases) do
aliases[key] = val
end
for key, val in pairs(m_regional.deprecated) do
deprecated[key] = val
end
-- Topical labels
local m_topical = require("Module:labels/data/topical")
for key, val in pairs(m_topical.labels) do
labels[key] = val
end
for key, val in pairs(m_topical.aliases) do
aliases[key] = val
end
for key, val in pairs(m_topical.deprecated) do
deprecated[key] = val
end
--[[ Add subvariety labels and the corresponding aliases
and deprecated labels if they have a language code
in the "languages" field. ]]
local m_subvarieties = require("Module:labels/data/subvarieties")
for key, val in pairs(m_subvarieties.labels) do
if labels[key] then
replacements.labels[key] = labels[key]
end
if val.languages then
labels[key] = val
end
end
for key, val in pairs(m_subvarieties.aliases) do
if aliases[key] then
replacements.aliases[key] = aliases[key]
end
if labels[val] then
aliases[key] = val
end
end
for key, val in pairs(m_subvarieties.deprecated) do
if deprecated[key] then
replacements.deprecated[key] = deprecated[key]
end
if labels[key] then
deprecated[key] = val
end
end
return {
["labels"] = labels,
["aliases"] = aliases,
["deprecated"] = deprecated,
["replacements"] = replacements,
}