Module:labels/data: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
local labels = {}
local labels = {}
local aliases = {}
local deprecated = {}
local replacements = {
labels = {},
aliases = {},
deprecated = {},
}


function alias(x,y) -- allows aliases to be entered as a list
for _,v in ipairs(y) do
labels[v] = x
end
end


--  Helper labels
--  Helper labels
Line 25: Line 23:
omit_postComma = true,
omit_postComma = true,
}
}
aliases['&'] = 'and'
labels['&'] = 'and'


labels['or'] = {
labels['or'] = {
Line 41: Line 39:
omit_preComma = true,
omit_preComma = true,
omit_postComma = true,
omit_postComma = true,
}
labels['abstract noun'] = {
display = "abstract",
glossary = true,
pos_categories = { "abstract nouns" },
}
}


Line 47: Line 51:
omit_postComma = true,
omit_postComma = true,
}
}
aliases['+'] = 'with'
labels['+'] = 'with'


-- combine with 'except in', 'outside'? or retain for entries like "wnuczę"?
-- combine with 'except in', 'outside'? or retain for entries like "wnuczę"?
Line 59: Line 63:
omit_postComma = true,
omit_postComma = true,
}
}
aliases['except in'] = 'outside'
labels['except in'] = 'outside'




Line 67: Line 71:
omit_postComma = true,
omit_postComma = true,
}
}
aliases['mainly'] = 'chiefly'
labels['mainly'] = 'chiefly'
aliases['mostly'] = 'chiefly'
labels['mostly'] = 'chiefly'
aliases['primarily'] = 'chiefly'
labels['primarily'] = 'chiefly'


labels['especially'] = {
labels['especially'] = {
omit_postComma = true,
}
labels['particularly'] = {
omit_postComma = true,
omit_postComma = true,
}
}
Line 91: Line 91:
}
}


labels['humorously'] = { omit_postComma = true,
labels["highly"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
omit_postComma = true,
pos_categories = { "jocular terms" },
} -- e.g. "highly nonstandard"
}


labels['including'] = {
labels['including'] = {
Line 112: Line 111:
}
}


labels['now'] = {
labels["now"] = {
omit_postComma = true,
}
alias("now", {"nowadays"})
 
labels['occasionally'] = {
omit_postComma = true,
omit_postComma = true,
}
}
aliases['nowadays'] = 'now'
aliases['Now'] = 'now'


labels['of'] = {
labels['of'] = {
Line 133: Line 135:
omit_postComma = true,
omit_postComma = true,
}
}
alias("often", {"commonly"})


labels['originally'] = {
labels['originally'] = {
omit_postComma = true,
}
labels['otherwise'] = {
omit_postComma = true,
} -- e.g. "law, otherwise archaic"
labels['particularly'] = {
omit_postComma = true,
omit_postComma = true,
}
}
Line 141: Line 152:
omit_postComma = true,
omit_postComma = true,
}
}
-- aliases['perhaps'] = 'possibly'
-- labels['perhaps'] = 'possibly'


labels['rarely'] = {
labels['rarely'] = {
Line 184: Line 195:
}
}


labels['with respect to'] = {
omit_postComma = true,
}
alias("with respect to", {"wrt"})


-- Grammatical labels
-- Grammatical labels


labels["abbreviation"] = {
labels["abbreviation"] = {
display = "[[wikt:abbreviation|abbreviation]]",
display = "[[wikt:abbreviation]]",
pos_categories = { "abbreviations" },
pos_categories = { "abbreviations" },
}
}


labels["acronym"] = {
labels["acronym"] = {
display = "[[wikt:acronym|acronym]]",
display = "[[wikt:acronym]]",
pos_categories = { "acronyms" },
pos_categories = { "acronyms" },
}
}
Line 200: Line 215:
Wikipedia = "Active voice",
Wikipedia = "Active voice",
}
}
aliases["active voice"] = "active"
labels["active voice"] = "active"
aliases["in the active"] = "active"
labels["in the active"] = "active"


labels["ambitransitive"] = {
labels["ambitransitive"] = {
display = "[[wikt:transitive|transitive]], [[wikt:intransitive|intransitive]]",
display = "[[wikt:transitive]], [[wikt:intransitive]]",
pos_categories = { "transitive verbs", "intransitive verbs" },
pos_categories = { "transitive verbs", "intransitive verbs" },
}
}
labels["angry register"] = {
glossary = true,
pos_categories = { "angry register terms" },
}
alias("angry register", {"angry", "anger", "said in anger"})


labels["animate"] = {
labels["animate"] = {
Line 215: Line 236:
glossary = "indicative mood",
glossary = "indicative mood",
}
}
aliases["in the indicative"] = "indicative"
labels["in the indicative"] = "indicative"
aliases["indicative mood"] = "indicative"
labels["indicative mood"] = "indicative"


labels["subjunctive"] = {
labels["subjunctive"] = {
glossary = "subjunctive mood",
glossary = "subjunctive mood",
}
}
aliases["in the subjunctive"] = "subjunctive"
labels["in the subjunctive"] = "subjunctive"
aliases["subjunctive mood"] = "subjunctive"
labels["subjunctive mood"] = "subjunctive"


labels["imperative"] = {
labels["imperative"] = {
glossary = "imperative mood",
glossary = "imperative mood",
}
}
aliases["in the imperative"] = "imperative"
labels["in the imperative"] = "imperative"
aliases["imperative mood"] = "imperative"
labels["imperative mood"] = "imperative"


labels["jussive"] = {
labels["jussive"] = {
glossary = "jussive mood",
glossary = "jussive mood",
}
}
aliases["in the jussive"] = "jussive"
labels["in the jussive"] = "jussive"
aliases["jussive mood"] = "jussive"
labels["jussive mood"] = "jussive"


labels["archaic-verb-form"] = {
labels["archaic-verb-form"] = {
glossary = "archaic",
glossary = "archaic",
pos_categories = { "archaic verb forms" },
pos_categories = { "archaic verb forms" },
}
labels["attenuative"] = {
glossary = false,
pos_categories = { "attenuative verbs" },
}
}


Line 257: Line 283:
display = "[[wikt:cardinal number|cardinal]]",
display = "[[wikt:cardinal number|cardinal]]",
pos_categories = { "cardinal numbers" },
pos_categories = { "cardinal numbers" },
    deprecated = true
}
}
deprecated["cardinal"] = true


labels["causative"] = {
labels["causative"] = {
display = "[[wikt:causative|causative]]" }
display = "[[wikt:causative]]" }
 
labels["causative verb"] = {
display = "causative",
pos_categories = { "causative verbs" },
}


labels["cognate object"] = {
labels["cognate object"] = {
Line 267: Line 298:
pos_categories = { "verbs used with cognate objects" },
pos_categories = { "verbs used with cognate objects" },
}
}
aliases["with cognate object"] = "cognate object"
labels["with cognate object"] = "cognate object"


labels["collective"] = {
labels["collective"] = {
Line 285: Line 316:
pos_categories = { "control verbs" },
pos_categories = { "control verbs" },
}
}
aliases["control"] = "control verb"
labels["control"] = "control verb"


labels["common"] = {
labels["common"] = {
Line 293: Line 324:
labels["comparable"] = {
labels["comparable"] = {
glossary = true
glossary = true
}
labels["completive"] = {
glossary = false,
pos_categories = { "completive verbs" },
}
}


Line 299: Line 335:
pos_categories = { "copulative verbs" },
pos_categories = { "copulative verbs" },
}
}
aliases["copular"] = "copulative"
labels["copular"] = "copulative"


labels["countable"] = {
labels["countable"] = {
glossary = true,
glossary = true,
pos_categories = { "countable nouns" },
pos_categories = { "countable nouns" },
}
labels["cumulative"] = {
glossary = false,
pos_categories = { "cumulative verbs" },
}
labels["delimitative"] = {
glossary = false,
pos_categories = { "delimitative verbs" },
}
}


Line 309: Line 355:
glossary = true,
glossary = true,
pos_categories = { "deponent verbs" },
pos_categories = { "deponent verbs" },
}
labels["distributive"] = {
glossary = false,
pos_categories = { "distributive verbs" },
}
}


Line 320: Line 371:
pos_categories = { "dysphemisms" },
pos_categories = { "dysphemisms" },
}
}
aliases["dysphemism"] = "dysphemistic"
labels["dysphemism"] = "dysphemistic"


labels["by ellipsis"] = {
labels["by ellipsis"] = {
display = "by [[wikt:ellipsis|ellipsis]]",
display = "by [[wikt:ellipsis]]",
pos_categories = { "ellipses" },
pos_categories = { "ellipses" },
}
}
Line 337: Line 388:


labels["by extension"] = {}
labels["by extension"] = {}
aliases["hence"] = "by extension"
labels["hence"] = "by extension"


labels["feminine"] = {
labels["feminine"] = {
Line 350: Line 401:
labels["fractional"] = {
labels["fractional"] = {
pos_categories = { "fractional numbers" },
pos_categories = { "fractional numbers" },
    deprecated = true
}
}
deprecated["fractional"] = true


labels["frequentative"] = {
glossary = true,
display = "frequentative",
pos_categories = { "frequentative verbs" },
}
labels["hedge"] = {
labels["hedge"] = {
glossary = true,
glossary = true,
pos_categories = { "hedges" },
pos_categories = { "hedges" },
}
}
aliases["hedges"] = "hedge"
labels["hedges"] = "hedge"


labels["ideophonic"] = {
labels["ideophonic"] = {
glossary = true,
glossary = true,
}
}
aliases["ideophone"] = "ideophonic"
labels["ideophone"] = "ideophonic"


labels["idiomatic"] = {
labels["idiomatic"] = {
Line 368: Line 425:
pos_categories = { "idioms" },
pos_categories = { "idioms" },
}
}
aliases["idiom"] = "idiomatic"
labels["idiom"] = "idiomatic"
aliases["idiomatically"] = "idiomatic"
labels["idiomatically"] = "idiomatic"


labels["imperfect"] = {
labels["imperfect"] = {
Line 381: Line 438:


labels["in the singular"] = {
labels["in the singular"] = {
display = "in the [[wikt:singular|singular]]",
display = "in the [[wikt:singular]]",
}
}
aliases["in singular"] = "in the singular"
labels["in singular"] = "in the singular"
aliases["singular"] = "in the singular"
labels["singular"] = { alias_of = "in the singular", deprecated = true, }


labels["in the dual"] = {
labels["in the dual"] = {
display = "in the [[wikt:dual|dual]]",
display = "in the [[wikt:dual]]",
}
}
aliases["in dual"] = "in the dual"
labels["in dual"] = "in the dual"
aliases["dual"] = "in the dual"
labels["dual"] = "in the dual"


labels["in the plural"] = {
labels["in the plural"] = {
display = "in the [[wikt:Appendix:Glossary#plural|plural]]",
display = "in the [[wikt:Appendix:Glossary#plural|plural]]",
}
}
aliases["in plural"] = "in the plural"
labels["in plural"] = "in the plural"
aliases["plural"] = "in the plural"
labels["plural"] = { alias_of = "in the plural", deprecated = true, }


labels["in the mediopassive"] = {
labels["in the mediopassive"] = {
display = "in the [[wikt:mediopassive|mediopassive]]" }
display = "in the [[wikt:mediopassive]]" }
aliases["in mediopassive"] = "in the mediopassive"
labels["in mediopassive"] = "in the mediopassive"
aliases["mediopassive"] = "in the mediopassive"
labels["mediopassive"] = "in the mediopassive"


labels["inanimate"] = {
labels["inanimate"] = {
Line 407: Line 464:
}
}


aliases["indef"] = "indefinite"
labels["indef"] = "indefinite"
 
labels["inchoative"] = {
glossary = false,
pos_categories = { "inchoative verbs" },
}


labels["initialism"] = {
labels["initialism"] = {
display = "[[wikt:initialism|initialism]]",
display = "[[wikt:initialism]]",
pos_categories = { "initialisms" },
pos_categories = { "initialisms" },
}
labels["intensive verb"] = {
glossary = false,
display = "intensive",
pos_categories = { "intensive verbs" },
}
}


Line 423: Line 491:
plain_categories = { "IPA symbols" },
plain_categories = { "IPA symbols" },
}
}
aliases["International Phonetic Alphabet"] = "IPA"
labels["International Phonetic Alphabet"] = "IPA"
 
labels["iterative"] = {
glossary = true,
pos_categories = { "iterative verbs" },
}


labels["litotes"] = {
labels["litotes"] = {
Line 429: Line 502:
pos_categories = { "litotes" },
pos_categories = { "litotes" },
}
}
alias("litotes", {"litote", "litotic", "litotical"})


labels["masculine"] = {
labels["masculine"] = {
glossary = true
glossary = true
}
}
labels["meiosis"] = {
glossary = true,
pos_categories = { "meioses" },
}
alias("meiosis", {"meioses", "meiotic"})


labels["middle"] = {
labels["middle"] = {
Wikipedia = "Voice (grammar)#Middle",
Wikipedia = "Voice (grammar)#Middle",
}
}
aliases["middle voice"] = "middle"
labels["middle voice"] = "middle"
aliases["in the middle"] = "middle"
labels["in the middle"] = "middle"
aliases["in the middle voice"] = "middle"
labels["in the middle voice"] = "middle"


labels["mnemonic"] = {
labels["mnemonic"] = {
display = '[[wikt:mnemonic|mnemonic]]',
display = '[[wikt:mnemonic]]',
pos_categories = { "mnemonics" },
pos_categories = { "mnemonics" },
}
}
Line 450: Line 530:
pos_categories = {"negative polarity items"},
pos_categories = {"negative polarity items"},
}
}
aliases["negative polarity"] = "chiefly in the negative"
labels["negative polarity"] = "chiefly in the negative"
aliases["negative polarity item"] = "chiefly in the negative"
labels["negative polarity item"] = "chiefly in the negative"
aliases["usually in the negative"] = "chiefly in the negative"
labels["usually in the negative"] = "chiefly in the negative"
labels["usually used in the negative"] = "chiefly in the negative"


labels["neuter"] = {
labels["neuter"] = {
glossary = true
glossary = true
}
}
labels["nominalised"] = {
display = "[[wikt:Appendix:Glossary#nominalization|nominalised]]",
pos_categories = { "nominalized adjectives" }
} -- British English ("ise")
labels["nominalisation"] = "nominalised"
labels["substantivised"] = "nominalised"
labels["substantivisation"] = "nominalised"
labels["nominalized"] = {
display = "[[wikt:Appendix:Glossary#nominalization|nominalized]]",
pos_categories = { "nominalized adjectives" }
} -- American English ("ize")
labels["nominalization"] = "nominalized"
labels["substantivized"] = "nominalized"
labels["substantivization"] = "nominalized"


labels["not comparable"] = {
labels["not comparable"] = {
display = "[[wikt:Appendix:Glossary#uncomparable|not comparable]]"
display = "[[wikt:Appendix:Glossary#uncomparable|not comparable]]"
}
}
aliases["notcomp"] = "not comparable"
labels["notcomp"] = "not comparable"
aliases["uncomparable"] = "not comparable"
labels["uncomparable"] = "not comparable"


labels["numeronym"] = {
labels["numeronym"] = {
Line 470: Line 567:


labels["onomatopoeia"] = {
labels["onomatopoeia"] = {
display = "[[wikt:onomatopoeia|onomatopoeia]]",
display = "[[wikt:onomatopoeia]]",
pos_categories = { "onomatopoeias" },
pos_categories = { "onomatopoeias" },
}
}


labels["ordinal"] = {
labels["ordinal"] = {
display = "[[wikt:ordinal number|ordinal]]",
pos_categories = { "ordinal numbers" },
pos_categories = { "ordinal numbers" },
    deprecated = true,
}
}
deprecated["ordinal"] = true


deprecated["plural"] = true
labels["perfect"] = { glossary = true, }
labels["perfect"] = { glossary = true, }


Line 489: Line 586:
Wikipedia = "Passive voice",
Wikipedia = "Passive voice",
}
}
aliases["passive voice"] = "passive"
labels["passive voice"] = "passive"
aliases["in the passive"] = "passive"
labels["in the passive"] = "passive"


labels["perfect"] = {
labels["perfect"] = {
Line 504: Line 601:
pos_categories = { "pluralia tantum" },
pos_categories = { "pluralia tantum" },
}
}
aliases["pluralonly"] = "plural only"
labels["pluralonly"] = "plural only"
aliases["plurale tantum"] = "plural only"
labels["plurale tantum"] = "plural only"
 
labels["possessional adjective"] = {
display = "possessional",
glossary = true,
pos_categories = { "possessional adjectives" },
}
alias("possessional adjective", {"possessional", "possessional adjectives"})


labels["possessive pronoun"] = {
labels["possessive pronoun"] = {
Line 522: Line 626:
labels["predicatively"] = {
labels["predicatively"] = {
display = "[[wikt:Appendix:Glossary#predicative|predicatively]]",
display = "[[wikt:Appendix:Glossary#predicative|predicatively]]",
}
labels["privative"] = {
glossary = false,
pos_categories = { "privative verbs" },
}
}


labels["procedure word"] = {
labels["procedure word"] = {
display = "[[wikt:procedure word|procedure word]]"
display = "[[wikt:procedure word]]"
}
}


labels["productive"] = {
labels["productive"] = {
display = "[[wikt:productive|productive]]"
display = "[[wikt:productive]]"
}
}


Line 559: Line 668:
display = "[[wikt:Appendix:Glossary#relational|relational]]",
display = "[[wikt:Appendix:Glossary#relational|relational]]",
pos_categories = { "relational adjectives" },
pos_categories = { "relational adjectives" },
}
labels["repetitive"] = {
glossary = false,
pos_categories = { "repetitive verbs" },
}
labels["reversative"] = {
glossary = false,
pos_categories = { "reversative verbs" },
}
}


Line 564: Line 683:
glossary = true,
glossary = true,
pos_categories = { "rhetorical questions" },
pos_categories = { "rhetorical questions" },
}
labels["saturative"] = {
glossary = false,
pos_categories = { "saturative verbs" },
}
labels["sative"] = "saturative"
labels["semelfactive"] = {
glossary = true,
pos_categories = { "semelfactive verbs" },
}
}


labels["set phrase"] = {
labels["set phrase"] = {
display = "[[wikt:set phrase|set phrase]]" }
display = "[[wikt:set phrase]]" }


labels["simile"] = {
labels["simile"] = {
Line 573: Line 703:
pos_categories = { "similes" },
pos_categories = { "similes" },
}
}
deprecated["singular"] = true


labels["singular only"] = {
labels["singular only"] = {
Line 580: Line 708:
pos_categories = { "singularia tantum" },
pos_categories = { "singularia tantum" },
}
}
aliases["singulare tantum"] = "singular only"
labels["singulare tantum"] = "singular only"
aliases["no plural"] = "singular only"
labels["no plural"] = "singular only"


labels["snowclone"] = {
labels["snowclone"] = {
Line 592: Line 720:
pos_categories = { "stative verbs" },
pos_categories = { "stative verbs" },
}
}
aliases["stative verb"] = "stative"
labels["stative verb"] = "stative"


labels["strictly"] = {
labels["strictly"] = {
glossary = true
glossary = true
}
}
aliases["narrowly"] = "strictly"
labels["narrowly"] = "strictly"


labels["substantive"] = {
labels["substantive"] = {
glossary = true,
track = true
track = true
}
labels["terminative"] = {
glossary = false,
pos_categories = { "terminative verbs" },
}
}


Line 622: Line 756:


labels["usually plural"] = {
labels["usually plural"] = {
display = "usually in the [[wikt:plural|plural]]",
display = "usually in the [[wikt:plural]]",
    deprecated = true
}
}
aliases["usually in the plural"] = "usually plural"
labels["usually in the plural"] = "usually plural"
aliases["usually in plural"] = "usually plural"
labels["usually in plural"] = "usually plural"
deprecated["usually plural"] = true
deprecated["usually in plural"] = true
deprecated["usually the plural"] = true




Line 634: Line 766:


labels["ACG"] = {
labels["ACG"] = {
display = "[[wikt:ACG|ACG]]",
display = "[[wikt:ACG]]",
-- see also "fandom slang"
-- see also "fandom slang"
pos_categories = { "fandom slang" },
pos_categories = { "fandom slang" },
Line 642: Line 774:
pos_categories = { "advertising slang" },
pos_categories = { "advertising slang" },
}
}
aliases["ad slang"] = "advertising slang"
labels["ad slang"] = "advertising slang"
aliases["cosmo"] = "advertising slang"
labels["cosmo"] = "advertising slang"


labels["endearing"] = {
labels["endearing"] = {
display = "[[wikt:endearing|endearing]]",
display = "[[wikt:endearing]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "endearing terms" },
pos_categories = { "endearing terms" },
}
}
aliases["affectionate"] = "endearing"
labels["affectionate"] = "endearing"


labels["pre-classical"] = {
labels["pre-classical"] = {
Line 656: Line 788:
regional_categories = { "Pre-classical" },
regional_categories = { "Pre-classical" },
}
}
aliases["Pre-classical"] = "pre-classical"
labels["Pre-classical"] = "pre-classical"
aliases["pre-Classical"] = "pre-classical"
labels["pre-Classical"] = "pre-classical"
aliases["Pre-Classical"] = "pre-classical"
labels["Pre-Classical"] = "pre-classical"
aliases["Preclassical"] = "pre-classical"
labels["Preclassical"] = "pre-classical"
aliases["preclassical"] = "pre-classical"
labels["preclassical"] = "pre-classical"
aliases["ante-classical"] = "pre-classical"
labels["ante-classical"] = "pre-classical"
aliases["Ante-classical"] = "pre-classical"
labels["Ante-classical"] = "pre-classical"
aliases["ante-Classical"] = "pre-classical"
labels["ante-Classical"] = "pre-classical"
aliases["Ante-Classical"] = "pre-classical"
labels["Ante-Classical"] = "pre-classical"
aliases["Anteclassical"] = "pre-classical"
labels["Anteclassical"] = "pre-classical"
aliases["anteclassical"] = "pre-classical"
labels["anteclassical"] = "pre-classical"


labels["archaic"] = {
labels["archaic"] = {
Line 686: Line 818:
pos_categories = { "back slang" },
pos_categories = { "back slang" },
}
}
aliases["backslang"] = "back slang"
labels["backslang"] = "back slang"
aliases["back-slang"] = "back slang"
labels["back-slang"] = "back slang"


labels["Bargoens"] = {
labels["Bargoens"] = {
Line 701: Line 833:
plain_categories = { "British slang" },
plain_categories = { "British slang" },
}
}
aliases["UK slang"] = "British slang"
labels["UK slang"] = "British slang"


labels["buzzword"] = {
labels["buzzword"] = {
display = "[[wikt:buzzword|buzzword]]",
display = "[[wikt:buzzword]]",
pos_categories = { "buzzwords" },
pos_categories = { "buzzwords" },
}
}


labels["Cambridge University slang"] = {
labels["Cambridge University slang"] = {
display = "[[w:University of Cambridge|Cambridge University]] [[wikt:slang]]",
plain_categories = { "Cambridge University slang" },
plain_categories = { "Cambridge University slang" },
topical_categories = { "Universities" },
}
}
labels["University of Cambridge slang"] = "Cambridge University slang"
labels["Cantab slang"] = "Cambridge University slang"


labels["cant"] = {
labels["cant"] = {
display = "[[wikt:cant|cant]]",
display = "[[wikt:cant]]",
pos_categories = { "cant" },
pos_categories = { "cant" },
}
}
aliases["argot"] = "cant"
labels["argot"] = "cant"
aliases["cryptolect"] = "cant"
labels["cryptolect"] = "cant"


labels["capitalized"] = {
labels["capitalized"] = {
Line 724: Line 860:


labels["Castilianism"] = {
labels["Castilianism"] = {
display = "[[wikt:Castilianism|Castilianism]]"  
display = "[[wikt:Castilianism]]"  
}
}
aliases["Hispanicism"] = "Castilianism"
labels["Hispanicism"] = "Castilianism"


labels["childish"] = {
labels["childish"] = {
display = "[[wikt:childish|childish]]",
display = "[[wikt:childish]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "childish terms" },
pos_categories = { "childish terms" },
}
}
aliases["baby talk"] = "childish"
labels["baby talk"] = "childish"
aliases["child language"] = "childish"
labels["child language"] = "childish"
labels["infantile"] = "childish"


labels["chu Nom"] = {
labels["chu Nom"] = {
display = "[[wikt:Vietnamese|Vietnamese]] [[wikt:chữ Nôm|chữ Nôm]]",
display = "[[wikt:Vietnamese]] [[wikt:chữ Nôm]]",
plain_categories = { "Vietnamese Han tu" },
plain_categories = { "Vietnamese Han tu" },
}
}
Line 745: Line 882:
plain_categories = { "Classic 1811 Dictionary of the Vulgar Tongue" },
plain_categories = { "Classic 1811 Dictionary of the Vulgar Tongue" },
}
}
aliases["1811"] = "Classic 1811 Dictionary of the Vulgar Tongue"
labels["1811"] = "Classic 1811 Dictionary of the Vulgar Tongue"


labels["Cockney rhyming slang"] = {
labels["Cockney rhyming slang"] = {
display = "[[wikt:Cockney rhyming slang|Cockney rhyming slang]]",
display = "[[wikt:Cockney rhyming slang]]",
plain_categories = { "Cockney rhyming slang" },
plain_categories = { "Cockney rhyming slang" },
}
}
Line 756: Line 893:
pos_categories = { "colloquialisms" },
pos_categories = { "colloquialisms" },
}
}
aliases["colloquially"] = "colloquial"
labels["colloquially"] = "colloquial"


-- FIXME! The following two are apparently for Persian but probably don't belong in this file.
labels["colloquial-um"] = {
labels["colloquial-um"] = {
glossary = "colloquial",
glossary = "colloquial",
Line 772: Line 910:
plain_categories = { "Costermongers' back slang" },
plain_categories = { "Costermongers' back slang" },
}
}
aliases["coster"] = "costermongers"
labels["coster"] = "costermongers"
aliases["costers"] = "costermongers"
labels["costers"] = "costermongers"
aliases["costermonger"] = "costermongers"
labels["costermonger"] = "costermongers"
aliases["costermongers back slang"] = "costermongers"
labels["costermongers back slang"] = "costermongers"
aliases["costermongers' back slang"] = "costermongers"
labels["costermongers' back slang"] = "costermongers"
 
labels["criminal slang"] = {
display = "[[wikt:criminal]] [[wikt:slang]]",
topical_categories = { "Crime" },
pos_categories = { "criminal slang" },
}


labels["dated"] = {
labels["dated"] = {
Line 795: Line 939:


labels["derogatory"] = {
labels["derogatory"] = {
display = "[[wikt:derogatory|derogatory]]",
display = "[[wikt:derogatory]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "derogatory terms" },
pos_categories = { "derogatory terms" },
}
}
aliases["pejorative"] = "derogatory"
labels["pejorative"] = "derogatory"
aliases["derogative"] = "derogatory"
labels["derogative"] = "derogatory"
aliases["disparaging"] = "derogatory"
labels["disparaging"] = "derogatory"


labels["dialect"] = { -- separated from "dialectal" so e.g. "obsolete|outside|the|_|dialect|of..." displays right
labels["dialect"] = { -- separated from "dialectal" so e.g. "obsolete|outside|the|_|dialect|of..." displays right
Line 820: Line 964:


labels["dismissal"] = {
labels["dismissal"] = {
display = "[[wikt:dismissal|dismissal]]",
display = "[[wikt:dismissal]]",
pos_categories = { "dismissals" },
pos_categories = { "dismissals" },
}
}


labels["solemn"] = {
labels["solemn"] = {
glossary = true,
glossary = true,
pos_categories = { "solemn terms" },
pos_categories = { "solemn terms" },
 
}
}
aliases["elevated"] = "solemn"


labels["ethnic slur"] = {
labels["ethnic slur"] = {
display = "[[wikt:ethnic|ethnic]] [[wikt:slur|slur]]",
display = "[[wikt:ethnic]] [[wikt:slur]]",
pos_categories = { "ethnic slurs" },
pos_categories = { "ethnic slurs" },
}
}
aliases["racial slur"] = "ethnic slur"
labels["racial slur"] = "ethnic slur"


labels["euphemistic"] = {
labels["euphemistic"] = {
Line 841: Line 983:
pos_categories = { "euphemisms" },
pos_categories = { "euphemisms" },
}
}
aliases["euphemism"] = "euphemistic"
labels["euphemism"] = "euphemistic"


labels["eye dialect"] = {
labels["eye dialect"] = {
display = "[[wikt:eye dialect|eye dialect]]",
display = "[[wikt:eye dialect]]",
pos_categories = { "eye dialect" },
pos_categories = { "eye dialect" },
}
}
Line 855: Line 997:


labels["fandom slang"] = {
labels["fandom slang"] = {
display = "[[wikt:fandom|fandom]] [[wikt:slang|slang]]",
display = "[[wikt:fandom]] [[wikt:slang]]",
pos_categories = { "fandom slang" },
pos_categories = { "fandom slang" },
}
}
aliases["fandom"] = "fandom slang"
labels["fandom"] = "fandom slang"


labels["figuratively"] = {
labels["figuratively"] = {
glossary = "figurative" }
glossary = "figurative"
aliases["figurative"] = "figuratively"
}
aliases["metaphorically"] = "figuratively"
labels["figurative"] = "figuratively"
aliases["metaphorical"] = "figuratively"
labels["metaphorically"] = "figuratively"
aliases["metaphor"] = "figuratively"
labels["metaphorical"] = "figuratively"
labels["metaphor"] = "figuratively"


labels["folk poetic"] = {
labels["folk poetic"] = {
Line 879: Line 1,022:


labels["gay slang"] = {
labels["gay slang"] = {
display = "[[wikt:gay|gay]] [[wikt:slang|slang]]",
display = "[[wikt:gay]] [[wikt:slang]]",
pos_categories = { "gay slang" },
pos_categories = { "gay slang" },
}
}
Line 887: Line 1,030:
glossary = "epicene"
glossary = "epicene"
}
}
labels["genericized trademark"] = {
display = "[[wikt:genericized trademark]]",
pos_categories = { "genericized trademarks" },
}
labels["generic trademark"] = "genericized trademark"
labels["proprietary eponym"] = "genericized trademark"


labels["hapax legomenon"] = {
labels["hapax legomenon"] = {
Line 893: Line 1,043:
glossary = true,
glossary = true,
}
}
aliases["hapax"] = "hapax legomenon"
labels["hapax"] = "hapax legomenon"
 
labels["higher register"] = {
glossary = true,
pos_categories = { "higher register terms" },
}
alias("higher register", {"high register", "elevated register", "elevated"})


labels["historical"] = {
labels["historical"] = {
Line 899: Line 1,055:
sense_categories = { "historical" },
sense_categories = { "historical" },
}
}
aliases["historic"] = "historical"
labels["historic"] = "historical"
aliases["history"] = "historical"
labels["history"] = "historical"


labels["non-native speakers"] = { -- language-agnostic version
labels["non-native speakers"] = { -- language-agnostic version
display = "[[wikt:non-native speaker|non-native speakers]]", -- so preceded by "used by", "error by children and", etc? or reword?
display = "[[wikt:non-native speaker]]s", -- so preceded by "used by", "error by children and", etc? or reword?
regional_categories = { "Non-native speakers'" },
regional_categories = { "Non-native speakers'" },
}
}
aliases["NNS"] = "non-native speakers"
labels["NNS"] = "non-native speakers"


labels["non-native speakers' English"] = {
labels["non-native speakers' English"] = {
display = "[[wikt:non-native speaker|non-native speakers]]' English",
display = "[[wikt:non-native speaker]]s' English",
regional_categories = { "Non-native speakers'" },
regional_categories = { "Non-native speakers'" },
}
}
aliases["NNES"] = "non-native speakers' English"
labels["NNES"] = "non-native speakers' English"
aliases["NNSE"] = "non-native speakers' English"
labels["NNSE"] = "non-native speakers' English"
 
labels["pidgin"] = {
display = "[[wikt:pidgin]]",
regional_categories = { "Pidgin" },
}


-- used exclusively by languages that use the “Jpan” script code
-- used exclusively by languages that use the “Jpan” script code
Line 942: Line 1,103:
labels["humble"] = {
labels["humble"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
display = "[[wikt:humble|humble]]",
display = "[[wikt:humble]]",
pos_categories = { "humble terms" },
pos_categories = { "humble terms" },
}
}
-- for Akkadian
labels["in hendiadys"] = {
pos_categories = { "hendiadys" },
}
labels["hendiadys"] = "in hendiadys"


labels["humorous"] = {
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
-- 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
display = "[[wikt:humorous|humorous]]",
display = "[[wikt:humorous]]",
pos_categories = { "jocular terms" },
pos_categories = { "humorous terms" },
}
}
aliases["jocular"] = "humorous"
labels["humorously"] = "humorous"
labels["jocular"] = "humorous"


labels["hyperbolic"] = {
labels["hyperbolic"] = {
Line 957: Line 1,126:
pos_categories = { "hyperboles" },
pos_categories = { "hyperboles" },
}
}
aliases["hyperbole"] = "hyperbolic"
labels["hyperbole"] = "hyperbolic"


labels["hypercorrect"] = {
labels["hypercorrect"] = {
Line 968: Line 1,137:
pos_categories = { "hyperforeign terms" },
pos_categories = { "hyperforeign terms" },
}
}
labels["imperial"] = {
pos_categories = { "royal terms" },
}
alias("imperial", {"emperor", "empress"})


labels["informal"] = {
labels["informal"] = {
Line 974: Line 1,148:
pos_categories = { "informal terms" },
pos_categories = { "informal terms" },
}
}
aliases["informally"] = "informal"
labels["informally"] = "informal"


labels["Internet slang"] = {
labels["Internet slang"] = {
display = "[[wikt:Internet|Internet]] [[wikt:slang|slang]]",
display = "[[wikt:Internet]] [[wikt:slang]]",
pos_categories = { "internet slang" },
pos_categories = { "internet slang" },
}
}


aliases["internet slang"] = "Internet slang"
labels["internet slang"] = "Internet slang"


labels["IRC"] = {
labels["IRC"] = {
display = "[[wikt:IRC|IRC]]",
display = "[[wikt:IRC]]",
pos_categories = { "internet slang" },
pos_categories = { "internet slang" },
}
}


labels["ironic"] = {}
labels["ironic"] = {
display = "[[wikt:irony|ironic]]",
}


labels["leet"] = {
labels["leet"] = {
display = "[[wikt:leetspeak|leetspeak]]",
display = "[[wikt:leetspeak]]",
pos_categories = { "leet" },
pos_categories = { "leet" },
}
}
aliases["leetspeak"] = "leet"
labels["leetspeak"] = "leet"


labels['literally'] = {
labels['literally'] = {
glossary = "literally" }
glossary = "literally"  
aliases['literal'] = 'literally'
}
labels['literal'] = 'literally'


labels["literary"] = {
labels["literary"] = {
Line 1,005: Line 1,182:
pos_categories = { "literary terms" },
pos_categories = { "literary terms" },
}
}
aliases["bookish"] = "literary"
labels["bookish"] = "literary"


labels["loosely"] = {
labels["loosely"] = {
Line 1,012: Line 1,189:


labels["Lubunyaca"] = {
labels["Lubunyaca"] = {
display = "[[wikt:Lubunyaca|Lubunyaca]]",
display = "[[wikt:Lubunyaca]]",
pos_categories = { "Lubunyaca" },
pos_categories = { "Lubunyaca" },
}
}


labels["medical slang"] = {
labels["medical slang"] = {
display = "[[wikt:medical|medical]] [[wikt:slang|slang]]",
display = "[[wikt:medical]] [[wikt:slang]]",
pos_categories = { "medical slang" },
pos_categories = { "medical slang" },
}
}
Line 1,026: Line 1,203:
pos_categories = { "men's speech terms" },
pos_categories = { "men's speech terms" },
}
}
aliases["male speech"] = "men's speech"
labels["male speech"] = "men's speech"


labels["metonymically"] = {
labels["metonymically"] = {
Line 1,032: Line 1,209:
pos_categories = { "metonyms" },
pos_categories = { "metonyms" },
}
}
aliases["metonymic"] = "metonymically"
labels["metonymic"] = "metonymically"
aliases["metonymy"] = "metonymically"
labels["metonymy"] = "metonymically"
aliases["metonym"] = "metonymically"
labels["metonym"] = "metonymically"


labels["military slang"] = {
labels["military slang"] = {
display = "[[wikt:military|military]] [[wikt:slang|slang]]",
display = "[[wikt:military]] [[wikt:slang]]",
pos_categories = { "military slang" },
pos_categories = { "military slang" },
}
}


labels["minced oath"] = {
labels["minced oath"] = {
display = "[[wikt:minced oath|minced oath]]",
display = "[[wikt:minced oath]]",
pos_categories = { "euphemisms" },
pos_categories = { "minced oaths" },
}
}


Line 1,056: Line 1,233:
pos_categories = { "neologisms" },
pos_categories = { "neologisms" },
}
}
aliases["neologistic"] = "neologism"
labels["neologistic"] = "neologism"


labels["neopronoun"] = {
labels["neopronoun"] = {
display = "[[wikt:neopronoun|neopronoun]]",
display = "[[wikt:neopronoun]]",
-- pos_categories = { "neopronouns" },
-- pos_categories = { "neopronouns" },
}
}
Line 1,072: Line 1,249:
pos_categories = { "nonce terms" },
pos_categories = { "nonce terms" },
}
}
aliases["nonce"] = "nonce word"
labels["nonce"] = "nonce word"


labels["nonstandard"] = {
labels["nonstandard"] = {
Line 1,079: Line 1,256:
pos_categories = { "nonstandard terms" },
pos_categories = { "nonstandard terms" },
}
}
aliases["non-standard"] = "nonstandard"
labels["non-standard"] = "nonstandard"


labels["nonstandard form"] = {
labels["nonstandard form"] = {
Line 1,098: Line 1,275:


labels["offensive"] = {
labels["offensive"] = {
display = "[[wikt:offensive|offensive]]",
display = "[[wikt:offensive]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = { "offensive terms" },
pos_categories = { "offensive terms" },
Line 1,104: Line 1,281:


labels["officialese"] = {
labels["officialese"] = {
display = "[[wikt:officialese|officialese]]",
display = "[[wikt:officialese]]",
pos_categories = { "officialese terms" },
pos_categories = { "officialese terms" },
}
}


labels["Oxbridge slang"] = {
labels["Oxbridge slang"] = {
display = "[[wikt:Oxbridge|Oxbridge]] [[wikt:slang|slang]]",
display = "[[w:Oxbridge|Oxbridge]] [[wikt:slang]]",
plain_categories = { "Cambridge University slang", "Oxford University slang" },
plain_categories = { "Cambridge University slang", "Oxford University slang" },
topical_categories = { "Universities" },
}
}


labels["Oxford University slang"] = {
labels["Oxford University slang"] = {
display = "[[w:University of Oxford|Oxford University]] [[wikt:slang]]",
plain_categories = { "Oxford University slang" },
plain_categories = { "Oxford University slang" },
topical_categories = { "Universities" }
}
}
labels["University of Oxford slang"] = "Oxford University slang"
labels["Oxon slang"] = "Oxford University slang"


labels["poetic"] = {
labels["poetic"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
-- should be "terms with X senses", leaving "X terms" to the term-context temp
display = "[[wikt:poetic|poetic]]",
display = "[[wikt:poetic]]",
pos_categories = { "poetic terms" },
pos_categories = { "poetic terms" },
}
}


labels["Polari"] = {
labels["Polari"] = {
display = "[[wikt:Polari|Polari]]",
display = "[[wikt:Polari]]",
pos_categories = { "Polari slang" },
pos_categories = { "Polari slang" },
}
}
Line 1,136: Line 1,318:
regional_categories = { "Post-classical" },
regional_categories = { "Post-classical" },
}
}
aliases["Post-classical"] = "post-classical"
labels["Post-classical"] = "post-classical"
aliases["post-Classical"] = "post-classical"
labels["post-Classical"] = "post-classical"
aliases["Post-Classical"] = "post-classical"
labels["Post-Classical"] = "post-classical"
aliases["Postclassical"] = "post-classical"
labels["Postclassical"] = "post-classical"
aliases["postclassical"] = "post-classical"
labels["postclassical"] = "post-classical"


labels["prison slang"] = {
labels["prison slang"] = {
display = "[[wikt:prison|prison]] [[wikt:slang|slang]]",
display = "[[wikt:prison]] [[wikt:slang]]",
pos_categories = { "prison slang" },
pos_categories = { "prison slang" },
}
}
Line 1,149: Line 1,331:
labels["proscribed"] = {
labels["proscribed"] = {
glossary = true,
glossary = true,
pos_categories = { "disputed terms" },
pos_categories = { "proscribed terms" },
}
}


labels["radio slang"] = {
labels["radio slang"] = {
display = "[[wikt:radio|radio]] [[wikt:slang|slang]]",
display = "[[wikt:radio]] [[wikt:slang]]",
pos_categories = { "radio slang" },
pos_categories = { "radio slang" },
}
}


labels["rare"] = {
labels["rare"] = {
display = "[[wikt:Appendix:Glossary#rare|rare]]",
sense_categories = { "rare" },
sense_categories = { "rare" },
}
}
aliases["rare sense"] = "rare"
labels["rare sense"] = "rare"


labels["rare term"] = {
labels["rare term"] = {
Line 1,169: Line 1,352:


labels["religious slur"] = {
labels["religious slur"] = {
display = "[[wikt:religious|religious]] [[wikt:slur|slur]]",
display = "[[wikt:religious]] [[wikt:slur]]",
pos_categories = { "religious slurs" },
pos_categories = { "religious slurs" },
}
}
aliases["sectarian slur"] = "religious slur"
labels["sectarian slur"] = "religious slur"


labels["retronym"] = {
labels["retronym"] = {
Line 1,182: Line 1,365:
pos_categories = { "reverential terms" },
pos_categories = { "reverential terms" },
}
}
labels["royal"] = {
pos_categories = { "royal terms" },
}
alias("royal", {"regal"})


labels["sarcastic"] = {
labels["sarcastic"] = {
display = "[[wikt:sarcastic|sarcastic]]",
display = "[[wikt:sarcastic]]",
pos_categories = { "sarcastic terms" },
pos_categories = { "sarcastic terms" },
}
}


labels["school slang"] = {
labels["school slang"] = {
display = "[[wikt:school|school]] [[wikt:slang|slang]]",
display = "[[wikt:school]] [[wikt:slang]]",
pos_categories = { "school slang" },
pos_categories = { "school slang" },
}
}
aliases["public school slang"] = "school slang"
labels["public school slang"] = "school slang"


labels["self-deprecatory"] = {
labels["self-deprecatory"] = {
display = "[[wikt:self-deprecatory|self-deprecatory]]",
display = "[[wikt:self-deprecatory]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = { "self-deprecatory terms" },
pos_categories = { "self-deprecatory terms" },
}
}
aliases["self-deprecating"] = "self-deprecatory"
labels["self-deprecating"] = "self-deprecatory"


labels["seong-eo"] = {
labels["seong-eo"] = {
Line 1,205: Line 1,393:
pos_categories = { "chengyu" },
pos_categories = { "chengyu" },
}
}
labels["siglum"] = {
glossary = true,
pos_categories = { "sigla" },
}
alias("siglum", {"sigla"})


labels["slang"] = {
labels["slang"] = {
Line 1,212: Line 1,406:


labels["college slang"] = {
labels["college slang"] = {
display = "[[wikt:college|college]] [[wikt:slang|slang]]",
display = "[[wikt:college]] [[wikt:slang]]",
pos_categories = { "student slang" },
pos_categories = { "student slang" },
topical_categories = { "Universities" }
}
}
aliases["university slang"] = "college slang"
labels["university slang"] = "college slang"
aliases["student slang"] = "college slang"
labels["student slang"] = "college slang"


labels["swear word"] = {
labels["swear word"] = {
pos_categories = { "swear words" },
pos_categories = { "swear words" },
}
}
aliases["profanity"] = "swear word"
labels["profanity"] = "swear word"
aliases["expletive"] = "swear word"
labels["expletive"] = "swear word"
 
labels["syncopated"] = {
glossary = true,
pos_categories = { "syncopic forms" },
}
alias("syncopated", {"syncope", "syncopic", "syncopation"})


labels["text messaging"] = {
labels["text messaging"] = {
display = "[[wikt:text messaging|text messaging]]",
display = "[[wikt:text messaging]]",
pos_categories = { "text messaging slang" },
pos_categories = { "text messaging slang" },
}
}
aliases["texting"] = "text messaging"
labels["texting"] = "text messaging"


labels["thieves' cant"] = {
labels["thieves' cant"] = {
Line 1,234: Line 1,435:
plain_categories = { "Thieves' cant" },
plain_categories = { "Thieves' cant" },
}
}
aliases["thieves cant"] = "thieves' cant"
labels["thieves cant"] = "thieves' cant"
aliases["thieves'"] = "thieves' cant"
labels["thieves'"] = "thieves' cant"
aliases["thieves"] = "thieves' cant"
labels["thieves"] = "thieves' cant"
 
labels["tone indicator"] = {
display = "[[wikt:tone indicator]]",
pos_categories = { "tone indicators" },
}


labels["trademark"] = {
labels["trademark"] = {
display = "[[wikt:trademark|trademark]]",
display = "[[wikt:trademark]]",
pos_categories = { "trademarks" },
pos_categories = { "trademarks" },
}
}
Line 1,254: Line 1,460:


labels["transgender slang"] = {
labels["transgender slang"] = {
display = "[[wikt:transgender|transgender]] [[wikt:slang|slang]]",
display = "[[wikt:transgender]] [[wikt:slang]]",
pos_categories = { "transgender slang" },
pos_categories = { "transgender slang" },
}
}


labels["Twitch-speak"] = {
labels["Twitch-speak"] = {
display = "[[wikt:Twitch-speak|Twitch-speak]]",
display = "[[wikt:Twitch-speak]]",
pos_categories = { "Twitch-speak" },
pos_categories = { "Twitch-speak" },
}
}
Line 1,267: Line 1,473:


labels["uncommon"] = {
labels["uncommon"] = {
pos_categories = { "terms with uncommon senses" },
sense_categories = { "uncommon" },
}
}


Line 1,283: Line 1,489:
pos_categories = { "vulgarities" },
pos_categories = { "vulgarities" },
}
}
aliases["coarse"] = "vulgar"
labels["coarse"] = "vulgar"
aliases["obscene"] = "vulgar"
labels["obscene"] = "vulgar"
aliases["profane"] = "vulgar"
labels["profane"] = "vulgar"


labels["vesre"] = {
labels["vesre"] = {
Line 1,292: Line 1,498:


labels["2channel slang"]={
labels["2channel slang"]={
display ="[[w:2channel|2channel]] [[wikt:slang|slang]]",
display ="[[w:2channel|2channel]] [[wikt:slang]]",
pos_categories = { "internet slang" , "2channel slang" },
pos_categories = { "internet slang" , "2channel slang" },
}
}


aliases["2ch slang"] = "2channel slang"
labels["2ch slang"] = "2channel slang"


-- for Awetí, Karajá, etc., where men & women use different words
-- for Awetí, Karajá, etc., where men & women use different words
Line 1,303: Line 1,509:
pos_categories = { "women's speech terms" },
pos_categories = { "women's speech terms" },
}
}
aliases["female speech"] = "women's speech"
labels["female speech"] = "women's speech"


-- swahili sheng cant / argot
-- swahili sheng cant / argot
Line 1,319: Line 1,525:
}
}


-- terms applying to Old Norse skaldic poetry
labels["kenning"] = {
Wikipedia = "Kenning",
pos_categories = { "kennings" },
}
labels["Kenning"] = "kenning"
labels["heiti"] = {
Wikipedia = "Heiti",
pos_categories = { "heiti" },
}
labels["Heiti"] = "heiti"


-- Regional labels
-- Regional labels
local m_regional = require("Module:labels/data/regional")
local m_regional = require("Module:labels/data/regional")


for key, val in pairs(m_regional.labels) do
for key, val in pairs(m_regional) do
labels[key] = val
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
end


Line 1,340: Line 1,550:
local m_topical = require("Module:labels/data/topical")
local m_topical = require("Module:labels/data/topical")


for key, val in pairs(m_topical.labels) do
for key, val in pairs(m_topical) do
labels[key] = val
labels[key] = val
end
end


for key, val in pairs(m_topical.aliases) do
return labels
aliases[key] = val
end
 
for key, val in pairs(m_topical.deprecated) do
deprecated[key] = val
end
 
--[[wikt: 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,
}

Revision as of 18:02, 10 July 2022



local labels = {}

function alias(x,y) -- allows aliases to be entered as a list
	for _,v in ipairs(y) do
		labels[v] = x
	end
end

--  Helper labels

labels['_'] = {
	display = '',
	omit_preComma = true,
	omit_postComma = true,
}

labels['also'] = {
	omit_postComma = true,
}

labels['and'] = {
	omit_preComma = true,
	omit_postComma = true,
}
labels['&'] = 'and'

labels['or'] = {
	omit_preComma = true,
	omit_postComma = true,
}

labels[';'] = {
	omit_preComma = true,
	omit_postComma = true,
	omit_preSpace = true,
}

labels['by'] = {
	omit_preComma = true,
	omit_postComma = true,
}

labels['abstract noun'] = {
	display = "abstract",
	glossary = true,
	pos_categories = { "abstract nouns" },
}

labels['with'] = {
	omit_preComma = true,
	omit_postComma = true,
}
labels['+'] = 'with'

-- 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,
}
labels['except in'] = 'outside'


-- Qualifier labels

labels['chiefly'] = {
	omit_postComma = true,
}
labels['mainly'] = 'chiefly'
labels['mostly'] = 'chiefly'
labels['primarily'] = 'chiefly'

labels['especially'] = {
	omit_postComma = true,
}

labels['excluding'] = {
	omit_postComma = true,
}

labels['extremely'] = {
	omit_postComma = true,
}

labels['frequently'] = {
	omit_postComma = true,
}

labels["highly"] = {
	omit_postComma = true,
} -- e.g. "highly nonstandard"

labels['including'] = {
	omit_postComma = true,
}

labels['many'] = { -- e.g. "many dialects"
	omit_postComma = true,
}

labels['markedly'] = {
	omit_postComma = true,
}

labels['mildly'] = {
	omit_postComma = true,
}

labels["now"] = {
	omit_postComma = true,
}
alias("now", {"nowadays"})

labels['occasionally'] = {
	omit_postComma = true,
}

labels['of'] = {
	omit_postComma = true,
}

labels['of a'] = {
	omit_postComma = true,
}

labels['of an'] = {
	omit_postComma = true,
}

labels['often'] = {
	omit_postComma = true,
}
alias("often", {"commonly"})

labels['originally'] = {
	omit_postComma = true,
}

labels['otherwise'] = {
	omit_postComma = true,
} -- e.g. "law, otherwise archaic"

labels['particularly'] = {
	omit_postComma = true,
}

labels['possibly'] = {
	omit_postComma = true,
}
-- labels['perhaps'] = 'possibly'

labels['rarely'] = {
	omit_postComma = true,
}

labels['sentence adverb'] = {
	glossary = true,
	pos_categories = { "sentence adverbs" },
}

labels['slightly'] = {
	omit_postComma = true,
}

labels['sometimes'] = {
	omit_postComma = true,
}

labels['somewhat'] = {
	omit_postComma = true,
}

labels['strongly'] = {
	omit_postComma = true,
}

labels['then'] = {
	omit_postComma = true,
} -- e.g. "then colloquial, now dated"

labels['typically'] = {
	omit_postComma = true,
}

labels['usually'] = {
	omit_postComma = true,
}

labels['very'] = {
	omit_postComma = true,
}

labels['with respect to'] = {
	omit_postComma = true,
}
alias("with respect to", {"wrt"})

-- Grammatical labels

labels["abbreviation"] = {
	display = "[[wikt:abbreviation]]",
	pos_categories = { "abbreviations" },
}

labels["acronym"] = {
	display = "[[wikt:acronym]]",
	pos_categories = { "acronyms" },
}

labels["active"] = {
	Wikipedia = "Active voice",
}
labels["active voice"] = "active"
labels["in the active"] = "active"

labels["ambitransitive"] = {
	display = "[[wikt:transitive]], [[wikt:intransitive]]",
	pos_categories = { "transitive verbs", "intransitive verbs" },
}

labels["angry register"] = {
	glossary = true,
	pos_categories = { "angry register terms" },
}
alias("angry register", {"angry", "anger", "said in anger"})

labels["animate"] = {
	glossary = true
}

labels["indicative"] = {
	glossary = "indicative mood",
}
labels["in the indicative"] = "indicative"
labels["indicative mood"] = "indicative"

labels["subjunctive"] = {
	glossary = "subjunctive mood",
}
labels["in the subjunctive"] = "subjunctive"
labels["subjunctive mood"] = "subjunctive"

labels["imperative"] = {
	glossary = "imperative mood",
}
labels["in the imperative"] = "imperative"
labels["imperative mood"] = "imperative"

labels["jussive"] = {
	glossary = "jussive mood",
}
labels["in the jussive"] = "jussive"
labels["jussive mood"] = "jussive"

labels["archaic-verb-form"] = {
	glossary = "archaic",
	pos_categories = { "archaic verb forms" },
}

labels["attenuative"] = {
	glossary = false,
	pos_categories = { "attenuative verbs" },
}

labels["attributive"] = {
	display = "[[wikt:Appendix:English nouns#Attributive|attributive]]",
}

labels["attributively"] = {
	display = "[[wikt:Appendix:English nouns#Attributive|attributively]]",
}

labels["auxiliary"] = {
	glossary = true,
	pos_categories = { "auxiliary verbs" }
}

labels["cardinal"] = {
	display = "[[wikt:cardinal number|cardinal]]",
	pos_categories = { "cardinal numbers" },
    deprecated = true
}

labels["causative"] = {
	display = "[[wikt:causative]]" }

labels["causative verb"] = {
	display = "causative",
	pos_categories = { "causative verbs" },
}

labels["cognate object"] = {
	display = "with [[w:Cognate object|cognate object]]",
	pos_categories = { "verbs used with cognate objects" },
}
labels["with cognate object"] = "cognate object"

labels["collective"] = {
	glossary = true,
	display = "collective",
	pos_categories = { "collective nouns" },
}

labels["collectively"] = {
	glossary = "collective",
	display = "collectively",
	pos_categories = { "collective nouns" },
}

labels["control verb"] = {
	Wikipedia = true,
	pos_categories = { "control verbs" },
}
labels["control"] = "control verb"

labels["common"] = {
	glossary = true
}

labels["comparable"] = {
	glossary = true
}

labels["completive"] = {
	glossary = false,
	pos_categories = { "completive verbs" },
}

labels["copulative"] = {
	display = "[[wikt:copular verb|copulative]]",
	pos_categories = { "copulative verbs" },
}
labels["copular"] = "copulative"

labels["countable"] = {
	glossary = true,
	pos_categories = { "countable nouns" },
}

labels["cumulative"] = {
	glossary = false,
	pos_categories = { "cumulative verbs" },
}

labels["delimitative"] = {
	glossary = false,
	pos_categories = { "delimitative verbs" },
}

labels["deponent"] = {
	glossary = true,
	pos_categories = { "deponent verbs" },
}

labels["distributive"] = {
	glossary = false,
	pos_categories = { "distributive verbs" },
}

labels["ditransitive"] = {
	glossary = true,
	pos_categories = { "ditransitive verbs" },
}

labels["dysphemistic"] = {
	Wikipedia = "Dysphemism",
	pos_categories = { "dysphemisms" },
}
labels["dysphemism"] = "dysphemistic"

labels["by ellipsis"] = {
	display = "by [[wikt:ellipsis]]",
	pos_categories = { "ellipses" },
}

labels["emphatic"] = {
	glossary = true
}

labels["ergative"] = {
	glossary = true,
	pos_categories = { "ergative verbs" },
}

labels["by extension"] = {}
labels["hence"] = "by extension"

labels["feminine"] = {
	glossary = true
}

labels["focus"] = {
	glossary = true,
	pos_categories = { "focus adverbs" },
}

labels["fractional"] = {
	pos_categories = { "fractional numbers" },
    deprecated = true
}

labels["frequentative"] = {
	glossary = true,
	display = "frequentative",
	pos_categories = { "frequentative verbs" },
}
	
labels["hedge"] = {
	glossary = true,
	pos_categories = { "hedges" },
}
labels["hedges"] = "hedge"

labels["ideophonic"] = {
	glossary = true,
}
labels["ideophone"] = "ideophonic"

labels["idiomatic"] = {
	glossary = true,
	pos_categories = { "idioms" },
}
labels["idiom"] = "idiomatic"
labels["idiomatically"] = "idiomatic"

labels["imperfect"] = {
	glossary = true,
}

labels["impersonal"] = {
	glossary = true,
	pos_categories = { "impersonal verbs" },
}

labels["in the singular"] = {
	display = "in the [[wikt:singular]]",
}
labels["in singular"] = "in the singular"
labels["singular"] = { alias_of = "in the singular", deprecated = true, }

labels["in the dual"] = {
	display = "in the [[wikt:dual]]",
}
labels["in dual"] = "in the dual"
labels["dual"] = "in the dual"

labels["in the plural"] = {
	display = "in the [[wikt:Appendix:Glossary#plural|plural]]",
}
labels["in plural"] = "in the plural"
labels["plural"] = { alias_of = "in the plural", deprecated = true, }

labels["in the mediopassive"] = {
	display = "in the [[wikt:mediopassive]]" }
labels["in mediopassive"] = "in the mediopassive"
labels["mediopassive"] = "in the mediopassive"

labels["inanimate"] = {
	glossary = true
}

labels["indef"] = "indefinite"

labels["inchoative"] = {
	glossary = false,
	pos_categories = { "inchoative verbs" },
}

labels["initialism"] = {
	display = "[[wikt:initialism]]",
	pos_categories = { "initialisms" },
}

labels["intensive verb"] = {
	glossary = false,
	display = "intensive",
	pos_categories = { "intensive verbs" },
}

labels["intransitive"] = {
	glossary = true,
	pos_categories = { "intransitive verbs" },
}

labels["IPA"] = {
	Wikipedia = "International Phonetic Alphabet",
	plain_categories = { "IPA symbols" },
}
labels["International Phonetic Alphabet"] = "IPA"

labels["iterative"] = {
	glossary = true,
	pos_categories = { "iterative verbs" },
}

labels["litotes"] = {
	glossary = true,
	pos_categories = { "litotes" },
}
alias("litotes", {"litote", "litotic", "litotical"})

labels["masculine"] = {
	glossary = true
}

labels["meiosis"] = {
	glossary = true,
	pos_categories = { "meioses" },
}
alias("meiosis", {"meioses", "meiotic"})

labels["middle"] = {
	Wikipedia = "Voice (grammar)#Middle",
}
labels["middle voice"] = "middle"
labels["in the middle"] = "middle"
labels["in the middle voice"] = "middle"

labels["mnemonic"] = {
	display = '[[wikt:mnemonic]]',
	pos_categories = { "mnemonics" },
}

labels["chiefly in the negative"] = {
	glossary = "negative polarity item",
	pos_categories = {"negative polarity items"},
}
labels["negative polarity"] = "chiefly in the negative"
labels["negative polarity item"] = "chiefly in the negative"
labels["usually in the negative"] = "chiefly in the negative"
labels["usually used in the negative"] = "chiefly in the negative"

labels["neuter"] = {
	glossary = true
}

labels["nominalised"] = {
	display = "[[wikt:Appendix:Glossary#nominalization|nominalised]]",
	pos_categories = { "nominalized adjectives" }
} -- British English ("ise")
labels["nominalisation"] = "nominalised"
labels["substantivised"] = "nominalised"
labels["substantivisation"] = "nominalised"

labels["nominalized"] = {
	display = "[[wikt:Appendix:Glossary#nominalization|nominalized]]",
	pos_categories = { "nominalized adjectives" }
} -- American English ("ize")
labels["nominalization"] = "nominalized"
labels["substantivized"] = "nominalized"
labels["substantivization"] = "nominalized"

labels["not comparable"] = {
	display = "[[wikt:Appendix:Glossary#uncomparable|not comparable]]"
}
labels["notcomp"] = "not comparable"
labels["uncomparable"] = "not comparable"

labels["numeronym"] = {
	glossary = true,
	pos_categories = { "numeronyms" },
}

labels["onomatopoeia"] = {
	display = "[[wikt:onomatopoeia]]",
	pos_categories = { "onomatopoeias" },
}

labels["ordinal"] = {
	display = "[[wikt:ordinal number|ordinal]]",
	pos_categories = { "ordinal numbers" },
    deprecated = true,
}

labels["perfect"] = { glossary = true, }

labels["participle"] = {
	glossary = true,
}

labels["passive"] = {
	Wikipedia = "Passive voice",
}
labels["passive voice"] = "passive"
labels["in the passive"] = "passive"

labels["perfect"] = {
	glossary = true,
}

labels["perfective"] = {
	glossary = true,
	pos_categories = { "perfective verbs" },
}

labels["plural only"] = {
	pos_categories = { "pluralia tantum" },
}
labels["pluralonly"] = "plural only"
labels["plurale tantum"] = "plural only"

labels["possessional adjective"] = {
	display = "possessional",
	glossary = true,
	pos_categories = { "possessional adjectives" },
}
alias("possessional adjective", {"possessional", "possessional adjectives"})

labels["possessive pronoun"] = {
	display = "possessive",
	pos_categories = { "possessive pronouns" },
}

labels["postpositive"] = {
	glossary = true
}

labels["predicative"] = {
	display = "[[wikt:Appendix:Glossary#predicative|predicative]]",
}

labels["predicatively"] = {
	display = "[[wikt:Appendix:Glossary#predicative|predicatively]]",
}

labels["privative"] = {
	glossary = false,
	pos_categories = { "privative verbs" },
}

labels["procedure word"] = {
	display = "[[wikt:procedure word]]"
}

labels["productive"] = {
	display = "[[wikt:productive]]"
}

-- TODO: This label is probably inappropriate for many languages
labels["pronominal"] = {
	display = "takes a [[wikt:Appendix:Glossary#reflexive|reflexive pronoun]]",
}

labels["pro-verb"] = {
	Wikipedia = true
}

labels["reciprocal"] = {
	display = "[[wikt:Appendix:Glossary#reciprocal|reciprocal]]",
	pos_categories = { "reciprocal verbs" },
}

labels["reflexive"] = {
	display = "[[wikt:Appendix:Glossary#reflexive|reflexive]]",
	pos_categories = { "reflexive verbs" },
}

labels["reflexive pronoun"] = {
	display = "[[wikt:Appendix:Glossary#reflexive|reflexive]]",
	pos_categories = { "reflexive pronouns" }
}

labels["relational"] = {
	display = "[[wikt:Appendix:Glossary#relational|relational]]",
	pos_categories = { "relational adjectives" },
}

labels["repetitive"] = {
	glossary = false,
	pos_categories = { "repetitive verbs" },
}

labels["reversative"] = {
	glossary = false,
	pos_categories = { "reversative verbs" },
}

labels["rhetorical question"] = {
	glossary = true,
	pos_categories = { "rhetorical questions" },
}

labels["saturative"] = {
	glossary = false,
	pos_categories = { "saturative verbs" },
}
labels["sative"] = "saturative"

labels["semelfactive"] = {
	glossary = true,
	pos_categories = { "semelfactive verbs" },
}

labels["set phrase"] = {
	display = "[[wikt:set phrase]]" }

labels["simile"] = {
	glossary = true,
	pos_categories = { "similes" },
}

labels["singular only"] = {
	display = "singular only",
	pos_categories = { "singularia tantum" },
}
labels["singulare tantum"] = "singular only"
labels["no plural"] = "singular only"

labels["snowclone"] = {
	glossary = true,
	pos_categories = { "snowclones" },
}

labels["stative"] = {
	Wikipedia = "stative verb",
	pos_categories = { "stative verbs" },
}
labels["stative verb"] = "stative"

labels["strictly"] = {
	glossary = true
}
labels["narrowly"] = "strictly"

labels["substantive"] = {
	glossary = true,
	track = true
}

labels["terminative"] = {
	glossary = false,
	pos_categories = { "terminative verbs" },
}

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 [[wikt:plural]]",
    deprecated = true
}
labels["usually in the plural"] = "usually plural"
labels["usually in plural"] = "usually plural"


-- Usage labels

labels["ACG"] = {
	display = "[[wikt:ACG]]",
	-- see also "fandom slang"
	pos_categories = { "fandom slang" },
}

labels["advertising slang"] = {
	pos_categories = { "advertising slang" },
}
labels["ad slang"] = "advertising slang"
labels["cosmo"] = "advertising slang"

labels["endearing"] = {
	display = "[[wikt:endearing]]",
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	pos_categories = { "endearing terms" },
}
labels["affectionate"] = "endearing"

labels["pre-classical"] = {
	display = "pre-Classical",
	regional_categories = { "Pre-classical" },
}
labels["Pre-classical"] = "pre-classical"
labels["pre-Classical"] = "pre-classical"
labels["Pre-Classical"] = "pre-classical"
labels["Preclassical"] = "pre-classical"
labels["preclassical"] = "pre-classical"
labels["ante-classical"] = "pre-classical"
labels["Ante-classical"] = "pre-classical"
labels["ante-Classical"] = "pre-classical"
labels["Ante-Classical"] = "pre-classical"
labels["Anteclassical"] = "pre-classical"
labels["anteclassical"] = "pre-classical"

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 = "[[wikt:Appendix:Glossary#backslang|back slang]]",
	pos_categories = { "back slang" },
}
labels["backslang"] = "back slang"
labels["back-slang"] = "back slang"

labels["Bargoens"] = {
	Wikipedia = true,
	plain_categories = { "Bargoens" },
}

labels["Braille"] = {
	Wikipedia = true,
}

labels["British slang"] = {
	plain_categories = { "British slang" },
}
labels["UK slang"] = "British slang"

labels["buzzword"] = {
	display = "[[wikt:buzzword]]",
	pos_categories = { "buzzwords" },
}

labels["Cambridge University slang"] = {
	display = "[[w:University of Cambridge|Cambridge University]] [[wikt:slang]]",
	plain_categories = { "Cambridge University slang" },
	topical_categories = { "Universities" },
}
labels["University of Cambridge slang"] = "Cambridge University slang"
labels["Cantab slang"] = "Cambridge University slang"

labels["cant"] = {
	display = "[[wikt:cant]]",
	pos_categories = { "cant" },
}
labels["argot"] = "cant"
labels["cryptolect"] = "cant"

labels["capitalized"] = {
	display = "[[wikt:capitalisation|capitalized]]" 
}

labels["Castilianism"] = {
	display = "[[wikt:Castilianism]]" 
}
labels["Hispanicism"] = "Castilianism"

labels["childish"] = {
	display = "[[wikt:childish]]",
	-- should be "terms with X senses", leaving "X terms" to the term-context temp?
	pos_categories = { "childish terms" },
}
labels["baby talk"] = "childish"
labels["child language"] = "childish"
labels["infantile"] = "childish"

labels["chu Nom"] = {
	display = "[[wikt:Vietnamese]] [[wikt:chữ Nôm]]",
	plain_categories = { "Vietnamese Han tu" },
}

labels["Classic 1811 Dictionary of the i Tongue"] = {
	display = "[[wikt:Appendix:Glossary#archaic|archaic]], [[wikt:Appendix:Glossary#slang|slang]]",
	plain_categories = { "Classic 1811 Dictionary of the Vulgar Tongue" },
}
labels["1811"] = "Classic 1811 Dictionary of the Vulgar Tongue"

labels["Cockney rhyming slang"] = {
	display = "[[wikt:Cockney rhyming slang]]",
	plain_categories = { "Cockney rhyming slang" },
}

labels["colloquial"] = {
	glossary = true,
	pos_categories = { "colloquialisms" },
}
labels["colloquially"] = "colloquial"

-- FIXME! The following two are apparently for Persian but probably don't belong in this file.
labels["colloquial-um"] = {
	glossary = "colloquial",
	pos_categories = { "colloquialisms containing sequence um" },
}

labels["colloquial-un"] = {
	glossary = "colloquial",
	pos_categories = { "colloquialisms containing sequence un" },
}

labels["costermongers"] = {
	display = "[[wikt:Appendix:Costermongers' back slang|costermongers]]",
	plain_categories = { "Costermongers' back slang" },
}
labels["coster"] = "costermongers"
labels["costers"] = "costermongers"
labels["costermonger"] = "costermongers"
labels["costermongers back slang"] = "costermongers"
labels["costermongers' back slang"] = "costermongers"

labels["criminal slang"] = {
	display = "[[wikt:criminal]] [[wikt:slang]]",
	topical_categories = { "Crime" },
	pos_categories = { "criminal slang" },
}

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 = "[[wikt:derogatory]]",
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	pos_categories = { "derogatory terms" },
}
labels["pejorative"] = "derogatory"
labels["derogative"] = "derogatory"
labels["disparaging"] = "derogatory"

labels["dialect"] = { -- separated from "dialectal" so e.g. "obsolete|outside|the|_|dialect|of..." displays right
	display = "[[wikt:Appendix:Glossary#dialectal|dialect]]",
	pos_categories = { "dialectal terms" },
}

labels["dialectal"] = {
	glossary = true,
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	pos_categories = { "dialectal terms" },
}

labels["dialects"] = { -- separated from "dialectal" so e.g. "obsolete|outside|dialects" displays right
	display = "[[wikt:Appendix:Glossary#dialectal|dialects]]",
	pos_categories = { "dialectal terms" },
}

labels["dismissal"] = {
	display = "[[wikt:dismissal]]",
	pos_categories = { "dismissals" },
}

labels["solemn"] = {
	glossary = true,
	pos_categories = { "solemn terms" },
}

labels["ethnic slur"] = {
	display = "[[wikt:ethnic]] [[wikt:slur]]",
	pos_categories = { "ethnic slurs" },
}
labels["racial slur"] = "ethnic slur"

labels["euphemistic"] = {
	glossary = "euphemism",
	pos_categories = { "euphemisms" },
}
labels["euphemism"] = "euphemistic"

labels["eye dialect"] = {
	display = "[[wikt: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"] = {
	display = "[[wikt:fandom]] [[wikt:slang]]",
	pos_categories = { "fandom slang" },
}
labels["fandom"] = "fandom slang"

labels["figuratively"] = {
	glossary = "figurative"
}
labels["figurative"] = "figuratively"
labels["metaphorically"] = "figuratively"
labels["metaphorical"] = "figuratively"
labels["metaphor"] = "figuratively"

labels["folk poetic"] = {
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	pos_categories = { "folk poetic terms", "poetic terms" },
}

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"] = {
	display = "[[wikt:gay]] [[wikt:slang]]",
	pos_categories = { "gay slang" },
}

labels["gender-neutral"] = {
	pos_categories = { "gender-neutral terms" },
	glossary = "epicene"
}

labels["genericized trademark"] = {
	display = "[[wikt:genericized trademark]]",
	pos_categories = { "genericized trademarks" },
}
labels["generic trademark"] = "genericized trademark"
labels["proprietary eponym"] = "genericized trademark"

labels["hapax legomenon"] = {
	display = "hapax",
	pos_categories = { "hapax legomena" },
	glossary = true,
}
labels["hapax"] = "hapax legomenon"

labels["higher register"] = {
	glossary = true,
	pos_categories = { "higher register terms" },
}
alias("higher register", {"high register", "elevated register", "elevated"})

labels["historical"] = {
	glossary = true,
	sense_categories = { "historical" },
}
labels["historic"] = "historical"
labels["history"] = "historical"

labels["non-native speakers"] = { -- language-agnostic version
	display = "[[wikt:non-native speaker]]s", -- so preceded by "used by", "error by children and", etc? or reword?
	regional_categories = { "Non-native speakers'" },
}
labels["NNS"] = "non-native speakers"

labels["non-native speakers' English"] = {
	display = "[[wikt:non-native speaker]]s' English",
	regional_categories = { "Non-native speakers'" },
}
labels["NNES"] = "non-native speakers' English"
labels["NNSE"] = "non-native speakers' English"

labels["pidgin"] = {
	display = "[[wikt:pidgin]]",
	regional_categories = { "Pidgin" },
}

-- 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 = "[[wikt:Homeric Greek|Homeric]] [[w:Homeric epithets|epithet]]",
	plain_categories = { "Epic 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?
	display = "[[wikt:humble]]",
	pos_categories = { "humble terms" },
}

-- for Akkadian

labels["in hendiadys"] = {
	pos_categories = { "hendiadys" },
}
labels["hendiadys"] = "in hendiadys"

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
	display = "[[wikt:humorous]]",
	pos_categories = { "humorous terms" },
}
labels["humorously"] = "humorous"
labels["jocular"] = "humorous"

labels["hyperbolic"] = {
	display = "[[wikt:Appendix:Glossary#hyperbolic|hyperbolic]]",
	pos_categories = { "hyperboles" },
}
labels["hyperbole"] = "hyperbolic"

labels["hypercorrect"] = {
	glossary = true,
	pos_categories = { "hypercorrections" },
}

labels["hyperforeign"] = {
	glossary = true,
	pos_categories = { "hyperforeign terms" },
}

labels["imperial"] = {
	pos_categories = { "royal terms" },
}
alias("imperial", {"emperor", "empress"})

labels["informal"] = {
	glossary = true,
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	pos_categories = { "informal terms" },
}
labels["informally"] = "informal"

labels["Internet slang"] = {
	display = "[[wikt:Internet]] [[wikt:slang]]",
	pos_categories = { "internet slang" },
}

labels["internet slang"] = "Internet slang"

labels["IRC"] = {
	display = "[[wikt:IRC]]",
	pos_categories = { "internet slang" },
}

labels["ironic"] = {
	display = "[[wikt:irony|ironic]]",
}

labels["leet"] = {
	display = "[[wikt:leetspeak]]",
	pos_categories = { "leet" },
}
labels["leetspeak"] = "leet"

labels['literally'] = {
	glossary = "literally" 
}
labels['literal'] = 'literally'

labels["literary"] = {
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	glossary = true,
	pos_categories = { "literary terms" },
}
labels["bookish"] = "literary"

labels["loosely"] = {
	glossary = true
}

labels["Lubunyaca"] = {
	display = "[[wikt:Lubunyaca]]",
	pos_categories = { "Lubunyaca" },
}

labels["medical slang"] = {
	display = "[[wikt:medical]] [[wikt: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" },
}
labels["male speech"] = "men's speech"

labels["metonymically"] = {
	glossary = true,
	pos_categories = { "metonyms" },
}
labels["metonymic"] = "metonymically"
labels["metonymy"] = "metonymically"
labels["metonym"] = "metonymically"

labels["military slang"] = {
	display = "[[wikt:military]] [[wikt:slang]]",
	pos_categories = { "military slang" },
}

labels["minced oath"] = {
	display = "[[wikt:minced oath]]",
	pos_categories = { "minced oaths" },
}


labels["nativising coinage"] = {
	display = "[[w:Linguistic purism in Korean|nativising coinage]]",
	pos_categories = { "nativising coinages" },
}

labels["neologism"] = {
	glossary = true,
	pos_categories = { "neologisms" },
}
labels["neologistic"] = "neologism"

labels["neopronoun"] = {
	display = "[[wikt:neopronoun]]",
--	pos_categories = { "neopronouns" },
}

labels["no longer productive"] = {
	display = "no longer [[wikt:Appendix:Glossary#productive|productive]]",
}

labels["nonce word"] = {
	-- should be "terms with X senses", leaving "X terms" to the term-context temp?
	display = "[[wikt:Appendix:Glossary#nonce word|nonce word]]",
	pos_categories = { "nonce terms" },
}
labels["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" },
}
labels["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 = "[[wikt:offensive]]",
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	pos_categories = { "offensive terms" },
}

labels["officialese"] = {
	display = "[[wikt:officialese]]",
	pos_categories = { "officialese terms" },
}

labels["Oxbridge slang"] = {
	display = "[[w:Oxbridge|Oxbridge]] [[wikt:slang]]",
	plain_categories = { "Cambridge University slang", "Oxford University slang" },
	topical_categories = { "Universities" },
}

labels["Oxford University slang"] = {
	display = "[[w:University of Oxford|Oxford University]] [[wikt:slang]]",
	plain_categories = { "Oxford University slang" },
	topical_categories = { "Universities" }
}
labels["University of Oxford slang"] = "Oxford University slang"
labels["Oxon slang"] = "Oxford University slang"

labels["poetic"] = {
	-- should be "terms with X senses", leaving "X terms" to the term-context temp
	display = "[[wikt:poetic]]",
	pos_categories = { "poetic terms" },
}

labels["Polari"] = {
	display = "[[wikt:Polari]]",
	pos_categories = { "Polari slang" },
}

labels["polite"] = {
	pos_categories = { "polite terms" },
}

labels["post-classical"] = {
	display = "post-Classical",
	regional_categories = { "Post-classical" },
}
labels["Post-classical"] = "post-classical"
labels["post-Classical"] = "post-classical"
labels["Post-Classical"] = "post-classical"
labels["Postclassical"] = "post-classical"
labels["postclassical"] = "post-classical"

labels["prison slang"] = {
	display = "[[wikt:prison]] [[wikt:slang]]",
	pos_categories = { "prison slang" },
}

labels["proscribed"] = {
	glossary = true,
	pos_categories = { "proscribed terms" },
}

labels["radio slang"] = {
	display = "[[wikt:radio]] [[wikt:slang]]",
	pos_categories = { "radio slang" },
}

labels["rare"] = {
	display = "[[wikt:Appendix:Glossary#rare|rare]]",
	sense_categories = { "rare" },
}
labels["rare sense"] = "rare"

labels["rare term"] = {
	display = "rare",
	-- see comments about "obsolete"
	pos_categories = { "rare terms" },
}

labels["religious slur"] = {
	display = "[[wikt:religious]] [[wikt:slur]]",
	pos_categories = { "religious slurs" },
}
labels["sectarian slur"] = "religious slur"

labels["retronym"] = {
	glossary = true,
	pos_categories = { "retronyms" },
}

labels["reverential"] = {
	pos_categories = { "reverential terms" },
}

labels["royal"] = {
	pos_categories = { "royal terms" },
}
alias("royal", {"regal"})

labels["sarcastic"] = {
	display = "[[wikt:sarcastic]]",
	pos_categories = { "sarcastic terms" },
}

labels["school slang"] = {
	display = "[[wikt:school]] [[wikt:slang]]",
	pos_categories = { "school slang" },
}
labels["public school slang"] = "school slang"

labels["self-deprecatory"] = {
	display = "[[wikt:self-deprecatory]]",
	-- should be "terms with X senses", leaving "X terms" to the term-context temp?
	pos_categories = { "self-deprecatory terms" },
}
labels["self-deprecating"] = "self-deprecatory"

labels["seong-eo"] = {
	display = "[[wikt:고사성어|set phrase from Classical Chinese]]",
	pos_categories = { "chengyu" },
}

labels["siglum"] = {
	glossary = true,
	pos_categories = { "sigla" },
}
alias("siglum", {"sigla"})

labels["slang"] = {
	glossary = true,
	pos_categories = { "slang" },
}

labels["college slang"] = {
	display = "[[wikt:college]] [[wikt:slang]]",
	pos_categories = { "student slang" },
	topical_categories = { "Universities" }
}
labels["university slang"] = "college slang"
labels["student slang"] = "college slang"

labels["swear word"] = {
	pos_categories = { "swear words" },
}
labels["profanity"] = "swear word"
labels["expletive"] = "swear word"

labels["syncopated"] = {
	glossary = true,
	pos_categories = { "syncopic forms" },
}
alias("syncopated", {"syncope", "syncopic", "syncopation"})

labels["text messaging"] = {
	display = "[[wikt:text messaging]]",
	pos_categories = { "text messaging slang" },
}
labels["texting"] = "text messaging"

labels["thieves' cant"] = {
	Wikipedia = true,
	plain_categories = { "Thieves' cant" },
}
labels["thieves cant"] = "thieves' cant"
labels["thieves'"] = "thieves' cant"
labels["thieves"] = "thieves' cant"

labels["tone indicator"] = {
	display = "[[wikt:tone indicator]]",
	pos_categories = { "tone indicators" },
}

labels["trademark"] = {
	display = "[[wikt:trademark]]",
	pos_categories = { "trademarks" },
}

labels["transferred sense"] = {
	glossary = true,
	pos_categories = { "terms with transferred senses" },
}

labels["transferred senses"] = {
	display = "[[wikt:transferred sense#English|transferred senses]]",
	pos_categories = { "terms with transferred senses" },
}

labels["transgender slang"] = {
	display = "[[wikt:transgender]] [[wikt:slang]]",
	pos_categories = { "transgender slang" },
}

labels["Twitch-speak"] = {
	display = "[[wikt:Twitch-speak]]",
	pos_categories = { "Twitch-speak" },
}

labels["uds."] = {
	display = "[[wikt:Appendix:Spanish pronouns#Ustedes and vosotros|used formally in Spain]]" }

labels["uncommon"] = {
	sense_categories = { "uncommon" },
}

labels["verlan"] = {
	display = "[[wikt:Appendix:Glossary#verlan|verlan]]",
	plain_categories = { "Verlan" },
}

labels["very rare"] = {
	pos_categories = { "rare forms" },
}

labels["vulgar"] = {
	glossary = true,
	pos_categories = { "vulgarities" },
}
labels["coarse"] = "vulgar"
labels["obscene"] = "vulgar"
labels["profane"] = "vulgar"

labels["vesre"] = {
	plain_categories = { "Vesre" },
}

labels["2channel slang"]={
	display ="[[w:2channel|2channel]] [[wikt:slang]]",
	pos_categories = { "internet slang" , "2channel slang" },
}

labels["2ch slang"] = "2channel slang"

-- for Awetí, Karajá, etc., where men & women use different words
labels["women's speech"] = {
	glossary = "women's speech",
	pos_categories = { "women's speech terms" },
}
labels["female speech"] = "women's speech"

-- swahili sheng cant / argot
labels["Sheng"] = {
	Wikipedia = "Sheng slang",
	plain_categories = { "Sheng" },
}

labels["example1"] = {
	Wikipedia = "Wu Chinese"
}

labels["example2"] = {
	glossary = "palatalization"
}

-- terms applying to Old Norse skaldic poetry

labels["kenning"] = {
	Wikipedia = "Kenning",
	pos_categories = { "kennings" },
}
labels["Kenning"] = "kenning"
labels["heiti"] = {
	Wikipedia = "Heiti",
	pos_categories = { "heiti" },
}
labels["Heiti"] = "heiti"

-- Regional labels
local m_regional = require("Module:labels/data/regional")

for key, val in pairs(m_regional) do
	labels[key] = val
end


-- Topical labels

local m_topical = require("Module:labels/data/topical")

for key, val in pairs(m_topical) do
	labels[key] = val
end

return labels