45,337
edits
No edit summary |
Tag: Undo |
||
Line 1: | Line 1: | ||
local labels = {} | local labels = {} | ||
local aliases = {} | |||
local deprecated = {} | |||
local replacements = { | |||
labels = {}, | |||
aliases = {}, | |||
deprecated = {}, | |||
} | |||
-- Helper labels | -- Helper labels | ||
Line 23: | Line 25: | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
aliases['&'] = 'and' | |||
labels['or'] = { | labels['or'] = { | ||
Line 39: | Line 41: | ||
omit_preComma = true, | omit_preComma = true, | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
Line 51: | Line 47: | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
aliases['+'] = 'with' | |||
-- combine with 'except in', 'outside'? or retain for entries like "wnuczę"? | -- combine with 'except in', 'outside'? or retain for entries like "wnuczę"? | ||
Line 63: | Line 59: | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
aliases['except in'] = 'outside' | |||
Line 71: | Line 67: | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
aliases['mainly'] = 'chiefly' | |||
aliases['mostly'] = 'chiefly' | |||
aliases['primarily'] = 'chiefly' | |||
labels['especially'] = { | labels['especially'] = { | ||
omit_postComma = true, | |||
} | |||
labels['particularly'] = { | |||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
Line 91: | Line 91: | ||
} | } | ||
labels[ | 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'] = { | labels['including'] = { | ||
Line 111: | Line 112: | ||
} | } | ||
labels[ | labels['now'] = { | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
aliases['nowadays'] = 'now' | |||
aliases['Now'] = 'now' | |||
labels['of'] = { | labels['of'] = { | ||
Line 135: | Line 133: | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
labels['originally'] = { | labels['originally'] = { | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
Line 152: | Line 141: | ||
omit_postComma = true, | omit_postComma = true, | ||
} | } | ||
-- | -- aliases['perhaps'] = 'possibly' | ||
labels['rarely'] = { | labels['rarely'] = { | ||
Line 195: | Line 184: | ||
} | } | ||
-- Grammatical labels | -- Grammatical labels | ||
labels["abbreviation"] = { | labels["abbreviation"] = { | ||
display = "[[wikt:abbreviation]]", | display = "[[wikt:abbreviation|abbreviation]]", | ||
pos_categories = { "abbreviations" }, | pos_categories = { "abbreviations" }, | ||
} | } | ||
labels["acronym"] = { | labels["acronym"] = { | ||
display = "[[wikt:acronym]]", | display = "[[wikt:acronym|acronym]]", | ||
pos_categories = { "acronyms" }, | pos_categories = { "acronyms" }, | ||
} | } | ||
Line 215: | Line 200: | ||
Wikipedia = "Active voice", | Wikipedia = "Active voice", | ||
} | } | ||
aliases["active voice"] = "active" | |||
aliases["in the active"] = "active" | |||
labels["ambitransitive"] = { | labels["ambitransitive"] = { | ||
display = "[[wikt:transitive]], [[wikt:intransitive]]", | display = "[[wikt:transitive|transitive]], [[wikt:intransitive|intransitive]]", | ||
pos_categories = { "transitive verbs", "intransitive verbs" }, | pos_categories = { "transitive verbs", "intransitive verbs" }, | ||
} | } | ||
labels["animate"] = { | labels["animate"] = { | ||
Line 236: | Line 215: | ||
glossary = "indicative mood", | glossary = "indicative mood", | ||
} | } | ||
aliases["in the indicative"] = "indicative" | |||
aliases["indicative mood"] = "indicative" | |||
labels["subjunctive"] = { | labels["subjunctive"] = { | ||
glossary = "subjunctive mood", | glossary = "subjunctive mood", | ||
} | } | ||
aliases["in the subjunctive"] = "subjunctive" | |||
aliases["subjunctive mood"] = "subjunctive" | |||
labels["imperative"] = { | labels["imperative"] = { | ||
glossary = "imperative mood", | glossary = "imperative mood", | ||
} | } | ||
aliases["in the imperative"] = "imperative" | |||
aliases["imperative mood"] = "imperative" | |||
labels["jussive"] = { | labels["jussive"] = { | ||
glossary = "jussive mood", | glossary = "jussive mood", | ||
} | } | ||
aliases["in the jussive"] = "jussive" | |||
aliases["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" }, | ||
} | } | ||
Line 283: | Line 257: | ||
display = "[[wikt:cardinal number|cardinal]]", | display = "[[wikt:cardinal number|cardinal]]", | ||
pos_categories = { "cardinal numbers" }, | pos_categories = { "cardinal numbers" }, | ||
} | } | ||
deprecated["cardinal"] = true | |||
labels["causative"] = { | labels["causative"] = { | ||
display = "[[wikt:causative]]" | display = "[[wikt:causative|causative]]" } | ||
} | |||
labels["cognate object"] = { | labels["cognate object"] = { | ||
Line 298: | Line 267: | ||
pos_categories = { "verbs used with cognate objects" }, | pos_categories = { "verbs used with cognate objects" }, | ||
} | } | ||
aliases["with cognate object"] = "cognate object" | |||
labels["collective"] = { | labels["collective"] = { | ||
Line 316: | Line 285: | ||
pos_categories = { "control verbs" }, | pos_categories = { "control verbs" }, | ||
} | } | ||
aliases["control"] = "control verb" | |||
labels["common"] = { | labels["common"] = { | ||
Line 324: | Line 293: | ||
labels["comparable"] = { | labels["comparable"] = { | ||
glossary = true | glossary = true | ||
} | } | ||
Line 335: | Line 299: | ||
pos_categories = { "copulative verbs" }, | pos_categories = { "copulative verbs" }, | ||
} | } | ||
aliases["copular"] = "copulative" | |||
labels["countable"] = { | labels["countable"] = { | ||
glossary = true, | glossary = true, | ||
pos_categories = { "countable nouns" }, | pos_categories = { "countable nouns" }, | ||
} | } | ||
Line 355: | Line 309: | ||
glossary = true, | glossary = true, | ||
pos_categories = { "deponent verbs" }, | pos_categories = { "deponent verbs" }, | ||
} | } | ||
Line 371: | Line 320: | ||
pos_categories = { "dysphemisms" }, | pos_categories = { "dysphemisms" }, | ||
} | } | ||
aliases["dysphemism"] = "dysphemistic" | |||
labels["by ellipsis"] = { | labels["by ellipsis"] = { | ||
display = "by [[wikt:ellipsis]]", | display = "by [[wikt:ellipsis|ellipsis]]", | ||
pos_categories = { "ellipses" }, | pos_categories = { "ellipses" }, | ||
} | } | ||
Line 388: | Line 337: | ||
labels["by extension"] = {} | labels["by extension"] = {} | ||
aliases["hence"] = "by extension" | |||
labels["feminine"] = { | labels["feminine"] = { | ||
Line 401: | Line 350: | ||
labels["fractional"] = { | labels["fractional"] = { | ||
pos_categories = { "fractional numbers" }, | pos_categories = { "fractional numbers" }, | ||
} | } | ||
deprecated["fractional"] = true | |||
labels["hedge"] = { | labels["hedge"] = { | ||
glossary = true, | glossary = true, | ||
pos_categories = { "hedges" }, | pos_categories = { "hedges" }, | ||
} | } | ||
aliases["hedges"] = "hedge" | |||
labels["ideophonic"] = { | labels["ideophonic"] = { | ||
glossary = true, | glossary = true, | ||
} | } | ||
aliases["ideophone"] = "ideophonic" | |||
labels["idiomatic"] = { | labels["idiomatic"] = { | ||
Line 425: | Line 368: | ||
pos_categories = { "idioms" }, | pos_categories = { "idioms" }, | ||
} | } | ||
aliases["idiom"] = "idiomatic" | |||
aliases["idiomatically"] = "idiomatic" | |||
labels["imperfect"] = { | labels["imperfect"] = { | ||
Line 438: | Line 381: | ||
labels["in the singular"] = { | labels["in the singular"] = { | ||
display = "in the [[wikt:singular]]", | display = "in the [[wikt:singular|singular]]", | ||
} | } | ||
aliases["in singular"] = "in the singular" | |||
aliases["singular"] = "in the singular" | |||
labels["in the dual"] = { | labels["in the dual"] = { | ||
display = "in the [[wikt:dual]]", | display = "in the [[wikt:dual|dual]]", | ||
} | } | ||
aliases["in dual"] = "in the dual" | |||
aliases["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" | |||
aliases["plural"] = "in the plural" | |||
labels["in the mediopassive"] = { | labels["in the mediopassive"] = { | ||
display = "in the [[wikt:mediopassive]]" } | display = "in the [[wikt:mediopassive|mediopassive]]" } | ||
aliases["in mediopassive"] = "in the mediopassive" | |||
aliases["mediopassive"] = "in the mediopassive" | |||
labels["inanimate"] = { | labels["inanimate"] = { | ||
Line 464: | Line 407: | ||
} | } | ||
aliases["indef"] = "indefinite" | |||
labels["initialism"] = { | labels["initialism"] = { | ||
display = "[[wikt:initialism]]", | display = "[[wikt:initialism|initialism]]", | ||
pos_categories = { "initialisms" }, | pos_categories = { "initialisms" }, | ||
} | } | ||
Line 491: | Line 423: | ||
plain_categories = { "IPA symbols" }, | plain_categories = { "IPA symbols" }, | ||
} | } | ||
aliases["International Phonetic Alphabet"] = "IPA" | |||
labels["litotes"] = { | labels["litotes"] = { | ||
Line 502: | Line 429: | ||
pos_categories = { "litotes" }, | pos_categories = { "litotes" }, | ||
} | } | ||
labels["masculine"] = { | labels["masculine"] = { | ||
glossary = true | glossary = true | ||
} | } | ||
labels["middle"] = { | labels["middle"] = { | ||
Wikipedia = "Voice (grammar)#Middle", | Wikipedia = "Voice (grammar)#Middle", | ||
} | } | ||
aliases["middle voice"] = "middle" | |||
aliases["in the middle"] = "middle" | |||
aliases["in the middle voice"] = "middle" | |||
labels["mnemonic"] = { | labels["mnemonic"] = { | ||
display = '[[wikt:mnemonic]]', | display = '[[wikt:mnemonic|mnemonic]]', | ||
pos_categories = { "mnemonics" }, | pos_categories = { "mnemonics" }, | ||
} | } | ||
Line 530: | Line 450: | ||
pos_categories = {"negative polarity items"}, | pos_categories = {"negative polarity items"}, | ||
} | } | ||
aliases["negative polarity"] = "chiefly in the negative" | |||
aliases["negative polarity item"] = "chiefly in the negative" | |||
aliases["usually in the negative"] = "chiefly in the negative" | |||
labels["neuter"] = { | labels["neuter"] = { | ||
glossary = true | glossary = true | ||
} | } | ||
labels["not comparable"] = { | labels["not comparable"] = { | ||
display = "[[wikt:Appendix:Glossary#uncomparable|not comparable]]" | display = "[[wikt:Appendix:Glossary#uncomparable|not comparable]]" | ||
} | } | ||
aliases["notcomp"] = "not comparable" | |||
aliases["uncomparable"] = "not comparable" | |||
labels["numeronym"] = { | labels["numeronym"] = { | ||
Line 567: | Line 470: | ||
labels["onomatopoeia"] = { | labels["onomatopoeia"] = { | ||
display = "[[wikt:onomatopoeia]]", | display = "[[wikt:onomatopoeia|onomatopoeia]]", | ||
pos_categories = { "onomatopoeias" }, | pos_categories = { "onomatopoeias" }, | ||
} | } | ||
labels["ordinal"] = { | labels["ordinal"] = { | ||
pos_categories = { "ordinal numbers" }, | pos_categories = { "ordinal numbers" }, | ||
} | } | ||
deprecated["ordinal"] = true | |||
deprecated["plural"] = true | |||
labels["perfect"] = { glossary = true, } | labels["perfect"] = { glossary = true, } | ||
Line 586: | Line 489: | ||
Wikipedia = "Passive voice", | Wikipedia = "Passive voice", | ||
} | } | ||
aliases["passive voice"] = "passive" | |||
aliases["in the passive"] = "passive" | |||
labels["perfect"] = { | labels["perfect"] = { | ||
Line 601: | Line 504: | ||
pos_categories = { "pluralia tantum" }, | pos_categories = { "pluralia tantum" }, | ||
} | } | ||
aliases["pluralonly"] = "plural only" | |||
aliases["plurale tantum"] = "plural only" | |||
labels["possessive pronoun"] = { | labels["possessive pronoun"] = { | ||
Line 626: | Line 522: | ||
labels["predicatively"] = { | labels["predicatively"] = { | ||
display = "[[wikt:Appendix:Glossary#predicative|predicatively]]", | display = "[[wikt:Appendix:Glossary#predicative|predicatively]]", | ||
} | } | ||
labels["procedure word"] = { | labels["procedure word"] = { | ||
display = "[[wikt:procedure word]]" | display = "[[wikt:procedure word|procedure word]]" | ||
} | } | ||
labels["productive"] = { | labels["productive"] = { | ||
display = "[[wikt:productive]]" | display = "[[wikt:productive|productive]]" | ||
} | } | ||
Line 668: | Line 559: | ||
display = "[[wikt:Appendix:Glossary#relational|relational]]", | display = "[[wikt:Appendix:Glossary#relational|relational]]", | ||
pos_categories = { "relational adjectives" }, | pos_categories = { "relational adjectives" }, | ||
} | } | ||
Line 683: | Line 564: | ||
glossary = true, | glossary = true, | ||
pos_categories = { "rhetorical questions" }, | pos_categories = { "rhetorical questions" }, | ||
} | } | ||
labels["set phrase"] = { | labels["set phrase"] = { | ||
display = "[[wikt:set phrase]]" } | display = "[[wikt:set phrase|set phrase]]" } | ||
labels["simile"] = { | labels["simile"] = { | ||
Line 703: | Line 573: | ||
pos_categories = { "similes" }, | pos_categories = { "similes" }, | ||
} | } | ||
deprecated["singular"] = true | |||
labels["singular only"] = { | labels["singular only"] = { | ||
Line 708: | Line 580: | ||
pos_categories = { "singularia tantum" }, | pos_categories = { "singularia tantum" }, | ||
} | } | ||
aliases["singulare tantum"] = "singular only" | |||
aliases["no plural"] = "singular only" | |||
labels["snowclone"] = { | labels["snowclone"] = { | ||
Line 720: | Line 592: | ||
pos_categories = { "stative verbs" }, | pos_categories = { "stative verbs" }, | ||
} | } | ||
aliases["stative verb"] = "stative" | |||
labels["strictly"] = { | labels["strictly"] = { | ||
glossary = true | glossary = true | ||
} | } | ||
aliases["narrowly"] = "strictly" | |||
labels["substantive"] = { | labels["substantive"] = { | ||
track = true | track = true | ||
} | } | ||
Line 756: | Line 622: | ||
labels["usually plural"] = { | labels["usually plural"] = { | ||
display = "usually in the [[wikt:plural]]", | display = "usually in the [[wikt:plural|plural]]", | ||
} | } | ||
aliases["usually in the plural"] = "usually plural" | |||
aliases["usually in plural"] = "usually plural" | |||
deprecated["usually plural"] = true | |||
deprecated["usually in plural"] = true | |||
deprecated["usually the plural"] = true | |||
Line 766: | Line 634: | ||
labels["ACG"] = { | labels["ACG"] = { | ||
display = "[[wikt:ACG]]", | display = "[[wikt:ACG|ACG]]", | ||
-- see also "fandom slang" | -- see also "fandom slang" | ||
pos_categories = { "fandom slang" }, | pos_categories = { "fandom slang" }, | ||
Line 774: | Line 642: | ||
pos_categories = { "advertising slang" }, | pos_categories = { "advertising slang" }, | ||
} | } | ||
aliases["ad slang"] = "advertising slang" | |||
aliases["cosmo"] = "advertising slang" | |||
labels["endearing"] = { | labels["endearing"] = { | ||
display = "[[wikt:endearing]]", | display = "[[wikt:endearing|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["pre-classical"] = { | labels["pre-classical"] = { | ||
Line 788: | Line 656: | ||
regional_categories = { "Pre-classical" }, | regional_categories = { "Pre-classical" }, | ||
} | } | ||
aliases["Pre-classical"] = "pre-classical" | |||
aliases["pre-Classical"] = "pre-classical" | |||
aliases["Pre-Classical"] = "pre-classical" | |||
aliases["Preclassical"] = "pre-classical" | |||
aliases["preclassical"] = "pre-classical" | |||
aliases["ante-classical"] = "pre-classical" | |||
aliases["Ante-classical"] = "pre-classical" | |||
aliases["ante-Classical"] = "pre-classical" | |||
aliases["Ante-Classical"] = "pre-classical" | |||
aliases["Anteclassical"] = "pre-classical" | |||
aliases["anteclassical"] = "pre-classical" | |||
labels["archaic"] = { | labels["archaic"] = { | ||
Line 818: | Line 686: | ||
pos_categories = { "back slang" }, | pos_categories = { "back slang" }, | ||
} | } | ||
aliases["backslang"] = "back slang" | |||
aliases["back-slang"] = "back slang" | |||
labels["Bargoens"] = { | labels["Bargoens"] = { | ||
Line 833: | Line 701: | ||
plain_categories = { "British slang" }, | plain_categories = { "British slang" }, | ||
} | } | ||
aliases["UK slang"] = "British slang" | |||
labels["buzzword"] = { | labels["buzzword"] = { | ||
display = "[[wikt:buzzword]]", | display = "[[wikt:buzzword|buzzword]]", | ||
pos_categories = { "buzzwords" }, | pos_categories = { "buzzwords" }, | ||
} | } | ||
labels["Cambridge University slang"] = { | labels["Cambridge University slang"] = { | ||
plain_categories = { "Cambridge University slang" }, | plain_categories = { "Cambridge University slang" }, | ||
} | } | ||
labels["cant"] = { | labels["cant"] = { | ||
display = "[[wikt:cant]]", | display = "[[wikt:cant|cant]]", | ||
pos_categories = { "cant" }, | pos_categories = { "cant" }, | ||
} | } | ||
aliases["argot"] = "cant" | |||
aliases["cryptolect"] = "cant" | |||
labels["capitalized"] = { | labels["capitalized"] = { | ||
Line 860: | Line 724: | ||
labels["Castilianism"] = { | labels["Castilianism"] = { | ||
display = "[[wikt:Castilianism]]" | display = "[[wikt:Castilianism|Castilianism]]" | ||
} | } | ||
aliases["Hispanicism"] = "Castilianism" | |||
labels["childish"] = { | labels["childish"] = { | ||
display = "[[wikt:childish]]", | display = "[[wikt:childish|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" | |||
aliases["child language"] = "childish" | |||
labels["chu Nom"] = { | labels["chu Nom"] = { | ||
display = "[[wikt:Vietnamese]] [[wikt:chữ Nôm]]", | display = "[[wikt:Vietnamese|Vietnamese]] [[wikt:chữ Nôm|chữ Nôm]]", | ||
plain_categories = { "Vietnamese Han tu" }, | plain_categories = { "Vietnamese Han tu" }, | ||
} | } | ||
Line 882: | Line 745: | ||
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["Cockney rhyming slang"] = { | labels["Cockney rhyming slang"] = { | ||
display = "[[wikt:Cockney rhyming slang]]", | display = "[[wikt:Cockney rhyming slang|Cockney rhyming slang]]", | ||
plain_categories = { "Cockney rhyming slang" }, | plain_categories = { "Cockney rhyming slang" }, | ||
} | } | ||
Line 893: | Line 756: | ||
pos_categories = { "colloquialisms" }, | pos_categories = { "colloquialisms" }, | ||
} | } | ||
aliases["colloquially"] = "colloquial" | |||
labels["colloquial-um"] = { | labels["colloquial-um"] = { | ||
glossary = "colloquial", | glossary = "colloquial", | ||
Line 910: | Line 772: | ||
plain_categories = { "Costermongers' back slang" }, | plain_categories = { "Costermongers' back slang" }, | ||
} | } | ||
aliases["coster"] = "costermongers" | |||
aliases["costers"] = "costermongers" | |||
aliases["costermonger"] = "costermongers" | |||
aliases["costermongers back slang"] = "costermongers" | |||
aliases["costermongers' back slang"] = "costermongers" | |||
labels["dated"] = { | labels["dated"] = { | ||
Line 939: | Line 795: | ||
labels["derogatory"] = { | labels["derogatory"] = { | ||
display = "[[wikt:derogatory]]", | display = "[[wikt:derogatory|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" | |||
aliases["derogative"] = "derogatory" | |||
aliases["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 964: | Line 820: | ||
labels["dismissal"] = { | labels["dismissal"] = { | ||
display = "[[wikt:dismissal]]", | display = "[[wikt:dismissal|dismissal]]", | ||
pos_categories = { "dismissals" }, | pos_categories = { "dismissals" }, | ||
} | } | ||
labels["solemn"] = { | labels["solemn"] = { | ||
glossary = true, | |||
pos_categories = { "solemn terms" }, | |||
} | } | ||
aliases["elevated"] = "solemn" | |||
labels["ethnic slur"] = { | labels["ethnic slur"] = { | ||
display = "[[wikt:ethnic]] [[wikt:slur]]", | display = "[[wikt:ethnic|ethnic]] [[wikt:slur|slur]]", | ||
pos_categories = { "ethnic slurs" }, | pos_categories = { "ethnic slurs" }, | ||
} | } | ||
aliases["racial slur"] = "ethnic slur" | |||
labels["euphemistic"] = { | labels["euphemistic"] = { | ||
Line 983: | Line 841: | ||
pos_categories = { "euphemisms" }, | pos_categories = { "euphemisms" }, | ||
} | } | ||
aliases["euphemism"] = "euphemistic" | |||
labels["eye dialect"] = { | labels["eye dialect"] = { | ||
display = "[[wikt:eye dialect]]", | display = "[[wikt:eye dialect|eye dialect]]", | ||
pos_categories = { "eye dialect" }, | pos_categories = { "eye dialect" }, | ||
} | } | ||
Line 997: | Line 855: | ||
labels["fandom slang"] = { | labels["fandom slang"] = { | ||
display = "[[wikt:fandom]] [[wikt:slang]]", | display = "[[wikt:fandom|fandom]] [[wikt:slang|slang]]", | ||
pos_categories = { "fandom slang" }, | pos_categories = { "fandom slang" }, | ||
} | } | ||
aliases["fandom"] = "fandom slang" | |||
labels["figuratively"] = { | labels["figuratively"] = { | ||
glossary = "figurative" | glossary = "figurative" } | ||
} | aliases["figurative"] = "figuratively" | ||
aliases["metaphorically"] = "figuratively" | |||
aliases["metaphorical"] = "figuratively" | |||
aliases["metaphor"] = "figuratively" | |||
labels["folk poetic"] = { | labels["folk poetic"] = { | ||
Line 1,022: | Line 879: | ||
labels["gay slang"] = { | labels["gay slang"] = { | ||
display = "[[wikt:gay]] [[wikt:slang]]", | display = "[[wikt:gay|gay]] [[wikt:slang|slang]]", | ||
pos_categories = { "gay slang" }, | pos_categories = { "gay slang" }, | ||
} | } | ||
Line 1,030: | Line 887: | ||
glossary = "epicene" | glossary = "epicene" | ||
} | } | ||
labels["hapax legomenon"] = { | labels["hapax legomenon"] = { | ||
Line 1,043: | Line 893: | ||
glossary = true, | glossary = true, | ||
} | } | ||
aliases["hapax"] = "hapax legomenon" | |||
labels["historical"] = { | labels["historical"] = { | ||
Line 1,055: | Line 899: | ||
sense_categories = { "historical" }, | sense_categories = { "historical" }, | ||
} | } | ||
aliases["historic"] = "historical" | |||
aliases["history"] = "historical" | |||
labels["non-native speakers"] = { -- language-agnostic version | labels["non-native speakers"] = { -- language-agnostic version | ||
display = "[[wikt:non-native speaker]] | display = "[[wikt:non-native speaker|non-native speakers]]", -- 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["non-native speakers' English"] = { | labels["non-native speakers' English"] = { | ||
display = "[[wikt:non-native speaker]] | display = "[[wikt:non-native speaker|non-native speakers]]' English", | ||
regional_categories = { "Non-native speakers'" }, | regional_categories = { "Non-native speakers'" }, | ||
} | } | ||
aliases["NNES"] = "non-native speakers' English" | |||
aliases["NNSE"] = "non-native speakers' English" | |||
-- used exclusively by languages that use the “Jpan” script code | -- used exclusively by languages that use the “Jpan” script code | ||
Line 1,103: | Line 942: | ||
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]]", | display = "[[wikt:humble|humble]]", | ||
pos_categories = { "humble terms" }, | pos_categories = { "humble terms" }, | ||
} | } | ||
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]]", | display = "[[wikt:humorous|humorous]]", | ||
pos_categories = { " | pos_categories = { "jocular terms" }, | ||
} | } | ||
aliases["jocular"] = "humorous" | |||
labels["hyperbolic"] = { | labels["hyperbolic"] = { | ||
Line 1,126: | Line 957: | ||
pos_categories = { "hyperboles" }, | pos_categories = { "hyperboles" }, | ||
} | } | ||
aliases["hyperbole"] = "hyperbolic" | |||
labels["hypercorrect"] = { | labels["hypercorrect"] = { | ||
Line 1,137: | Line 968: | ||
pos_categories = { "hyperforeign terms" }, | pos_categories = { "hyperforeign terms" }, | ||
} | } | ||
labels["informal"] = { | labels["informal"] = { | ||
Line 1,148: | Line 974: | ||
pos_categories = { "informal terms" }, | pos_categories = { "informal terms" }, | ||
} | } | ||
aliases["informally"] = "informal" | |||
labels["Internet slang"] = { | labels["Internet slang"] = { | ||
display = "[[wikt:Internet]] [[wikt:slang]]", | display = "[[wikt:Internet|Internet]] [[wikt:slang|slang]]", | ||
pos_categories = { "internet slang" }, | pos_categories = { "internet slang" }, | ||
} | } | ||
aliases["internet slang"] = "Internet slang" | |||
labels["IRC"] = { | labels["IRC"] = { | ||
display = "[[wikt:IRC]]", | display = "[[wikt:IRC|IRC]]", | ||
pos_categories = { "internet slang" }, | pos_categories = { "internet slang" }, | ||
} | } | ||
labels["ironic"] = { | labels["ironic"] = {} | ||
} | |||
labels["leet"] = { | labels["leet"] = { | ||
display = "[[wikt:leetspeak]]", | display = "[[wikt:leetspeak|leetspeak]]", | ||
pos_categories = { "leet" }, | pos_categories = { "leet" }, | ||
} | } | ||
aliases["leetspeak"] = "leet" | |||
labels['literally'] = { | labels['literally'] = { | ||
glossary = "literally" | glossary = "literally" } | ||
} | aliases['literal'] = 'literally' | ||
labels["literary"] = { | labels["literary"] = { | ||
Line 1,182: | Line 1,005: | ||
pos_categories = { "literary terms" }, | pos_categories = { "literary terms" }, | ||
} | } | ||
aliases["bookish"] = "literary" | |||
labels["loosely"] = { | labels["loosely"] = { | ||
Line 1,189: | Line 1,012: | ||
labels["Lubunyaca"] = { | labels["Lubunyaca"] = { | ||
display = "[[wikt:Lubunyaca]]", | display = "[[wikt:Lubunyaca|Lubunyaca]]", | ||
pos_categories = { "Lubunyaca" }, | pos_categories = { "Lubunyaca" }, | ||
} | } | ||
labels["medical slang"] = { | labels["medical slang"] = { | ||
display = "[[wikt:medical]] [[wikt:slang]]", | display = "[[wikt:medical|medical]] [[wikt:slang|slang]]", | ||
pos_categories = { "medical slang" }, | pos_categories = { "medical slang" }, | ||
} | } | ||
Line 1,203: | Line 1,026: | ||
pos_categories = { "men's speech terms" }, | pos_categories = { "men's speech terms" }, | ||
} | } | ||
aliases["male speech"] = "men's speech" | |||
labels["metonymically"] = { | labels["metonymically"] = { | ||
Line 1,209: | Line 1,032: | ||
pos_categories = { "metonyms" }, | pos_categories = { "metonyms" }, | ||
} | } | ||
aliases["metonymic"] = "metonymically" | |||
aliases["metonymy"] = "metonymically" | |||
aliases["metonym"] = "metonymically" | |||
labels["military slang"] = { | labels["military slang"] = { | ||
display = "[[wikt:military]] [[wikt:slang]]", | display = "[[wikt:military|military]] [[wikt:slang|slang]]", | ||
pos_categories = { "military slang" }, | pos_categories = { "military slang" }, | ||
} | } | ||
labels["minced oath"] = { | labels["minced oath"] = { | ||
display = "[[wikt:minced oath]]", | display = "[[wikt:minced oath|minced oath]]", | ||
pos_categories = { " | pos_categories = { "euphemisms" }, | ||
} | } | ||
Line 1,233: | Line 1,056: | ||
pos_categories = { "neologisms" }, | pos_categories = { "neologisms" }, | ||
} | } | ||
aliases["neologistic"] = "neologism" | |||
labels["neopronoun"] = { | labels["neopronoun"] = { | ||
display = "[[wikt:neopronoun]]", | display = "[[wikt:neopronoun|neopronoun]]", | ||
-- pos_categories = { "neopronouns" }, | -- pos_categories = { "neopronouns" }, | ||
} | } | ||
Line 1,249: | Line 1,072: | ||
pos_categories = { "nonce terms" }, | pos_categories = { "nonce terms" }, | ||
} | } | ||
aliases["nonce"] = "nonce word" | |||
labels["nonstandard"] = { | labels["nonstandard"] = { | ||
Line 1,256: | Line 1,079: | ||
pos_categories = { "nonstandard terms" }, | pos_categories = { "nonstandard terms" }, | ||
} | } | ||
aliases["non-standard"] = "nonstandard" | |||
labels["nonstandard form"] = { | labels["nonstandard form"] = { | ||
Line 1,275: | Line 1,098: | ||
labels["offensive"] = { | labels["offensive"] = { | ||
display = "[[wikt:offensive]]", | display = "[[wikt:offensive|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,281: | Line 1,104: | ||
labels["officialese"] = { | labels["officialese"] = { | ||
display = "[[wikt:officialese]]", | display = "[[wikt:officialese|officialese]]", | ||
pos_categories = { "officialese terms" }, | pos_categories = { "officialese terms" }, | ||
} | } | ||
labels["Oxbridge slang"] = { | labels["Oxbridge slang"] = { | ||
display = "[[ | display = "[[wikt:Oxbridge|Oxbridge]] [[wikt:slang|slang]]", | ||
plain_categories = { "Cambridge University slang", "Oxford University slang" }, | plain_categories = { "Cambridge University slang", "Oxford University slang" }, | ||
} | } | ||
labels["Oxford University slang"] = { | labels["Oxford University slang"] = { | ||
plain_categories = { "Oxford University slang" }, | plain_categories = { "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]]", | display = "[[wikt:poetic|poetic]]", | ||
pos_categories = { "poetic terms" }, | pos_categories = { "poetic terms" }, | ||
} | } | ||
labels["Polari"] = { | labels["Polari"] = { | ||
display = "[[wikt:Polari]]", | display = "[[wikt:Polari|Polari]]", | ||
pos_categories = { "Polari slang" }, | pos_categories = { "Polari slang" }, | ||
} | } | ||
Line 1,318: | Line 1,136: | ||
regional_categories = { "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["prison slang"] = { | labels["prison slang"] = { | ||
display = "[[wikt:prison]] [[wikt:slang]]", | display = "[[wikt:prison|prison]] [[wikt:slang|slang]]", | ||
pos_categories = { "prison slang" }, | pos_categories = { "prison slang" }, | ||
} | } | ||
Line 1,331: | Line 1,149: | ||
labels["proscribed"] = { | labels["proscribed"] = { | ||
glossary = true, | glossary = true, | ||
pos_categories = { " | pos_categories = { "disputed terms" }, | ||
} | } | ||
labels["radio slang"] = { | labels["radio slang"] = { | ||
display = "[[wikt:radio]] [[wikt:slang]]", | display = "[[wikt:radio|radio]] [[wikt:slang|slang]]", | ||
pos_categories = { "radio slang" }, | pos_categories = { "radio slang" }, | ||
} | } | ||
labels["rare"] = { | labels["rare"] = { | ||
sense_categories = { "rare" }, | sense_categories = { "rare" }, | ||
} | } | ||
aliases["rare sense"] = "rare" | |||
labels["rare term"] = { | labels["rare term"] = { | ||
Line 1,352: | Line 1,169: | ||
labels["religious slur"] = { | labels["religious slur"] = { | ||
display = "[[wikt:religious]] [[wikt:slur]]", | display = "[[wikt:religious|religious]] [[wikt:slur|slur]]", | ||
pos_categories = { "religious slurs" }, | pos_categories = { "religious slurs" }, | ||
} | } | ||
aliases["sectarian slur"] = "religious slur" | |||
labels["retronym"] = { | labels["retronym"] = { | ||
Line 1,365: | Line 1,182: | ||
pos_categories = { "reverential terms" }, | pos_categories = { "reverential terms" }, | ||
} | } | ||
labels["sarcastic"] = { | labels["sarcastic"] = { | ||
display = "[[wikt:sarcastic]]", | display = "[[wikt:sarcastic|sarcastic]]", | ||
pos_categories = { "sarcastic terms" }, | pos_categories = { "sarcastic terms" }, | ||
} | } | ||
labels["school slang"] = { | labels["school slang"] = { | ||
display = "[[wikt:school]] [[wikt:slang]]", | display = "[[wikt:school|school]] [[wikt:slang|slang]]", | ||
pos_categories = { "school slang" }, | pos_categories = { "school slang" }, | ||
} | } | ||
aliases["public school slang"] = "school slang" | |||
labels["self-deprecatory"] = { | labels["self-deprecatory"] = { | ||
display = "[[wikt:self-deprecatory]]", | display = "[[wikt:self-deprecatory|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["seong-eo"] = { | labels["seong-eo"] = { | ||
Line 1,393: | Line 1,205: | ||
pos_categories = { "chengyu" }, | pos_categories = { "chengyu" }, | ||
} | } | ||
labels["slang"] = { | labels["slang"] = { | ||
Line 1,406: | Line 1,212: | ||
labels["college slang"] = { | labels["college slang"] = { | ||
display = "[[wikt:college]] [[wikt:slang]]", | display = "[[wikt:college|college]] [[wikt:slang|slang]]", | ||
pos_categories = { "student slang" }, | pos_categories = { "student slang" }, | ||
} | } | ||
aliases["university slang"] = "college slang" | |||
aliases["student slang"] = "college slang" | |||
labels["swear word"] = { | labels["swear word"] = { | ||
pos_categories = { "swear words" }, | pos_categories = { "swear words" }, | ||
} | } | ||
aliases["profanity"] = "swear word" | |||
aliases["expletive"] = "swear word" | |||
labels["text messaging"] = { | labels["text messaging"] = { | ||
display = "[[wikt:text messaging]]", | display = "[[wikt:text messaging|text messaging]]", | ||
pos_categories = { "text messaging slang" }, | pos_categories = { "text messaging slang" }, | ||
} | } | ||
aliases["texting"] = "text messaging" | |||
labels["thieves' cant"] = { | labels["thieves' cant"] = { | ||
Line 1,435: | Line 1,234: | ||
plain_categories = { "Thieves' cant" }, | plain_categories = { "Thieves' cant" }, | ||
} | } | ||
aliases["thieves cant"] = "thieves' cant" | |||
aliases["thieves'"] = "thieves' cant" | |||
aliases["thieves"] = "thieves' cant" | |||
labels["trademark"] = { | labels["trademark"] = { | ||
display = "[[wikt:trademark]]", | display = "[[wikt:trademark|trademark]]", | ||
pos_categories = { "trademarks" }, | pos_categories = { "trademarks" }, | ||
} | } | ||
Line 1,460: | Line 1,254: | ||
labels["transgender slang"] = { | labels["transgender slang"] = { | ||
display = "[[wikt:transgender]] [[wikt:slang]]", | display = "[[wikt:transgender|transgender]] [[wikt:slang|slang]]", | ||
pos_categories = { "transgender slang" }, | pos_categories = { "transgender slang" }, | ||
} | } | ||
labels["Twitch-speak"] = { | labels["Twitch-speak"] = { | ||
display = "[[wikt:Twitch-speak]]", | display = "[[wikt:Twitch-speak|Twitch-speak]]", | ||
pos_categories = { "Twitch-speak" }, | pos_categories = { "Twitch-speak" }, | ||
} | } | ||
Line 1,473: | Line 1,267: | ||
labels["uncommon"] = { | labels["uncommon"] = { | ||
pos_categories = { "terms with uncommon senses" }, | |||
} | } | ||
Line 1,489: | Line 1,283: | ||
pos_categories = { "vulgarities" }, | pos_categories = { "vulgarities" }, | ||
} | } | ||
aliases["coarse"] = "vulgar" | |||
aliases["obscene"] = "vulgar" | |||
aliases["profane"] = "vulgar" | |||
labels["vesre"] = { | labels["vesre"] = { | ||
Line 1,498: | Line 1,292: | ||
labels["2channel slang"]={ | labels["2channel slang"]={ | ||
display ="[[w:2channel|2channel]] [[wikt:slang]]", | display ="[[w:2channel|2channel]] [[wikt:slang|slang]]", | ||
pos_categories = { "internet slang" , "2channel slang" }, | pos_categories = { "internet slang" , "2channel slang" }, | ||
} | } | ||
aliases["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,509: | Line 1,303: | ||
pos_categories = { "women's speech terms" }, | pos_categories = { "women's speech terms" }, | ||
} | } | ||
aliases["female speech"] = "women's speech" | |||
-- swahili sheng cant / argot | -- swahili sheng cant / argot | ||
Line 1,525: | Line 1,319: | ||
} | } | ||
-- 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) do | for key, val in pairs(m_regional.labels) 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,550: | Line 1,340: | ||
local m_topical = require("Module:labels/data/topical") | local m_topical = require("Module:labels/data/topical") | ||
for key, val in pairs(m_topical) do | for key, val in pairs(m_topical.labels) do | ||
labels[key] = val | labels[key] = val | ||
end | end | ||
return labels | 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 | |||
--[[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, | |||
} |