Module:labels/data: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "local labels = {} local aliases = {} -- Concepts labels["in-world"] = { categories = {"in-world terms"} } aliases["iw"] = "in-world" labels["out-of-world"] = { categories = {"out-of-world terms"} } aliases["oow"] = "out-of-world" -- Word types labels["abbreviation"] = { glossary = true, categories = {"abbreviations"} } labels["acronym"] = { glossary = true, categories = {"acronyms"} } -- Adjectives labels["comparable"] = { glossary = true, categories = {"...")
 
No edit summary
Line 1: Line 1:
local labels = {}
local labels = {}
local aliases = {}
local aliases = {}
-- Modifiers
labels["chiefly"] = {
omit_comma = true
}
aliases["mainly"] = "chiefly"
aliases["mostly"] = "chiefly"
aliases["primarily"] = "chiefly"
labels["extremely"] = {
omit_comma = true
}
labels["mildly"] = {
omit_comma = true
}
labels["typically"] = {
omit_comma = true
}


-- Concepts
-- Concepts
Line 25: Line 46:
categories = {"acronyms"}
categories = {"acronyms"}
}
}
labels["onomatopoeia"] = {
glossary = true,
categories = {"onomatopoeias"}
}
aliases["onom"] = "onomatopoeia"
aliases["onomat"] = "onomatopoeia"


-- Adjectives
-- Adjectives
Line 41: Line 69:


-- Nouns
-- Nouns
labels["collective"] = {
glossary = true,
categories = {"collective nouns"}
}
aliases["coll"] = "collective"
labels["collectively"] = {
glossary = "collective",
categories = {"collective nouns"}
}


labels["countable"] = {
labels["countable"] = {
Line 53: Line 92:
}
}
aliases["uncount"] = "uncountable"
aliases["uncount"] = "uncountable"
-- Pronouns
labels["possessive pronoun"] = {
display = "[[Appendix:Glossary#possessive|possessive]]",
categories = {"possessive pronouns"}
}


-- Verbs
-- Verbs
Line 74: Line 120:
aliases["copula"] = "copulative"
aliases["copula"] = "copulative"
aliases["cop"] = "copulative"
aliases["cop"] = "copulative"
labels["deponent"] = {
glossary = true,
categories = {"deponent verbs"}
}
labels["ditransitive"] = {
glossary = true,
categories = {"ditransitive verbs"}
}
aliases["ditrans"] = "ditransitive"
aliases["ditr"] = "ditransitive"


labels["impersonal"] = {
labels["impersonal"] = {
Line 124: Line 182:
aliases["euphemism"] = "euphemistic"
aliases["euphemism"] = "euphemistic"
aliases["euph"] = "euphemistic"
aliases["euph"] = "euphemistic"
labels["gender-neutral"] = {
glossary = "epicene",
categories = {"gender-neutral terms"}
}
aliases["nongender"] = "gender-neutral"
aliases["genderneutral"] = "gender-neutral"
aliases["non-gendered"] = "gender-neutral"
labels["humble"] = {
glossary = true,
categories = {"humble terms"}
}


labels["humorous"] = {
labels["humorous"] = {
Line 140: Line 211:
Wikipedia = "Minced oath",
Wikipedia = "Minced oath",
categories = {"euphemisms"}
categories = {"euphemisms"}
}
labels["obsolete"] = {
glossary = true,
categories = {"obsolete terms"}
}
labels["offensive"] = {
glossary = true,
categories = {"offensive terms"}
}
}


Line 145: Line 226:
glossary = true,
glossary = true,
categories = {"slang terms"}
categories = {"slang terms"}
}
labels["slur"] = {
glossary = true,
categories = {"slurs"}
}
}


Line 180: Line 266:
}
}
aliases["myth"] = "mythology"
aliases["myth"] = "mythology"
-- Dialectal & regional
labels["dialectal"] = {
Wikipedia = "Dialect",
categories = {"dialectal terms"}
}
aliases["dialect"] = "dialectal"


return {
return {

Revision as of 11:04, 6 August 2023

Documentation for this module may be created at Module:labels/data/documentation

local labels = {}
local aliases = {}

-- Modifiers

labels["chiefly"] = {
	omit_comma = true
}
aliases["mainly"] = "chiefly"
aliases["mostly"] = "chiefly"
aliases["primarily"] = "chiefly"

labels["extremely"] = {
	omit_comma = true
}

labels["mildly"] = {
	omit_comma = true
}

labels["typically"] = {
	omit_comma = true
}

-- Concepts

labels["in-world"] = {
	categories = {"in-world terms"}
}
aliases["iw"] = "in-world"

labels["out-of-world"] = {
	categories = {"out-of-world terms"}
}
aliases["oow"] = "out-of-world"

-- Word types

labels["abbreviation"] = {
	glossary = true,
	categories = {"abbreviations"}
}

labels["acronym"] = {
	glossary = true,
	categories = {"acronyms"}
}

labels["onomatopoeia"] = {
	glossary = true,
	categories = {"onomatopoeias"}
}
aliases["onom"] = "onomatopoeia"
aliases["onomat"] = "onomatopoeia"

-- Adjectives

labels["comparable"] = {
	glossary = true,
	categories = {"comparable terms"}
}
aliases["comp"] = "comparable"

labels["uncomporable"] = {
	glossary = true,
	categories = {"uncomporable terms"}
}
aliases["uncomp"] = "uncomparable"

-- Nouns

labels["collective"] = {
	glossary = true,
	categories = {"collective nouns"}
}
aliases["coll"] = "collective"

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

labels["countable"] = {
	glossary = true,
	categories = {"countable nouns"}
}
aliases["count"] = "countable"

labels["uncountable"] = {
	glossary = true,
	categories = {"uncountable nouns"}
}
aliases["uncount"] = "uncountable"

-- Pronouns

labels["possessive pronoun"] = {
	display = "[[Appendix:Glossary#possessive|possessive]]",
	categories = {"possessive pronouns"}
}

-- Verbs

labels["ambitransitive"] = {
	display = "[[Appendix:Glossary#transitive|transitive]], [[Appendix:Glossary#intransitive|intransitive]]",
	categories = {"transitive verbs", "intransitive verbs"}
}
aliases["ambi"] = "ambitransitive"

labels["auxiliary"] = {
	glossary = true,
	categories = {"auxiliary verbs"}
}
aliases["aux"] = "auxiliary"

labels["copulative"] = {
	glossary = true,
	categories = {"copulative verbs"}
}
aliases["copula"] = "copulative"
aliases["cop"] = "copulative"

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

labels["ditransitive"] = {
	glossary = true,
	categories = {"ditransitive verbs"}
}
aliases["ditrans"] = "ditransitive"
aliases["ditr"] = "ditransitive"

labels["impersonal"] = {
	glossary = true,
	categories = {"impersonal verbs"}
}
aliases["impers"] = "impersonal"

labels["intransitive"] = {
	glossary = true,
	categories = {"intransitive verbs"}
}
aliases["intrans"] = "intransitive"
aliases["intr"] = "intransitive"

labels["stative"] = {
	glossary = true,
	categories = {"stative verbs"}
}

labels["transitive"] = {
	glossary = true,
	categories = {"transitive verbs"}
}
aliases["trans"] = "transitive"
aliases["tr"] = "transitive"

-- Register & tone

labels["archaic"] = {
	glossary = true,
	categories = {"archaic terms"}
}

labels["colloquial"] = {
	glossary = true,
	categories = {"colloquial terms"}
}
aliases["colloq"] = "colloquial"

labels["dated"] = {
	glossary = true,
	categories = {"dated terms"}
}

labels["euphemistic"] = {
	glossary = "euphemism",
	categories = {"euphemisms"}
}
aliases["euphemism"] = "euphemistic"
aliases["euph"] = "euphemistic"

labels["gender-neutral"] = {
	glossary = "epicene",
	categories = {"gender-neutral terms"}
}
aliases["nongender"] = "gender-neutral"
aliases["genderneutral"] = "gender-neutral"
aliases["non-gendered"] = "gender-neutral"

labels["humble"] = {
	glossary = true,
	categories = {"humble terms"}
}

labels["humorous"] = {
	glossary = true,
	categories = {"jocular terms"}
}
aliases["humour"] = "humorous"
aliases["humor"] = "humorous"

labels["informal"] = {
	glossary = true,
	categories = {"informal terms"}
}

labels["minced oath"] = {
	Wikipedia = "Minced oath",
	categories = {"euphemisms"}
}

labels["obsolete"] = {
	glossary = true,
	categories = {"obsolete terms"}
}

labels["offensive"] = {
	glossary = true,
	categories = {"offensive terms"}
}

labels["slang"] = {
	glossary = true,
	categories = {"slang terms"}
}

labels["slur"] = {
	glossary = true,
	categories = {"slurs"}
}

-- Semantic domain

labels["anatomy"] = {
	Wikipedia = "Anatomy",
	categories = {"anatomical terms"}
}
aliases["anat"] = "anatomy"

labels["astronomy"] = {
	Wikipedia = "Astronomy",
	categories = {"astronomical terms"}
}
aliases["astr"] = "astronomy"
alises["astron"] = "astronomy"

labels["chemistry"] = {
	Wikipedia = "Chemistry",
	categories = {"chemistry terms"}
}
alises["chem"] = "chemistry"

labels["metonym"] = {
	display = "[[Appendix:Glossary#metonym|metonymically]]",
	categories = {"metonyms"}
}
aliases["metonymically"] = "metonym"
aliases["meton"] = "metonym"

labels["mythology"] = {
	Wikipedia = "Mythology",
	categories = {"mythological terms"}
}
aliases["myth"] = "mythology"

-- Dialectal & regional

labels["dialectal"] = {
	Wikipedia = "Dialect",
	categories = {"dialectal terms"}
}
aliases["dialect"] = "dialectal"

return {
	["labels"] = labels,
	["aliases"] = aliases
}