A modult a Modul:labels/data/doc lapon tudod dokumentálni

local labels = {}
local aliases = {}
local deprecated = {}
local replacements = {
	labels = {},
	aliases = {},
	deprecated = {},
}
--  Helper labels
labels['_'] = {
	display = '',
	omit_preComma = true,
	omit_postComma = true,
}
labels['also'] = {
	omit_postComma = true,
	display = "is",
}
aliases['is'] = 'also'
aliases['szintén'] = 'also'

labels['and'] = {
	omit_preComma = true,
	omit_postComma = true,
	display = "és",
}
aliases['&'] = 'and'
aliases['és'] = 'and'

labels['or'] = {
	omit_preComma = true,
	omit_postComma = true,
	display = "vagy",
}
aliases['vagy'] = 'or'

labels[';'] = {
	omit_preComma = true,
	omit_postComma = true,
	omit_preSpace = true,
}
labels['except'] = {
	omit_preComma = true,
	omit_postComma = true,
	display = "kivéve",
}
aliases['kivéve'] = 'except'

labels['outside'] = {
	omit_preComma = true,
	omit_postComma = true,
	display = "kívül",
}
aliases['except in'] = 'outside'
aliases['kívül'] = 'outside'
-- Qualifier labels
labels['chiefly'] = {
	omit_postComma = true,
	display = "főleg",
}
aliases['mainly'] = 'chiefly'
aliases['mostly'] = 'chiefly'
aliases['primarily'] = 'chiefly'
aliases['főleg'] = 'chiefly'
aliases['leginkább'] = 'chiefly'
aliases['elsősorban'] = 'chiefly'

labels['especially'] = {
	omit_postComma = true,
	display = "különösen",
}
aliases['különösen'] = 'especially'

labels['particularly'] = {
	omit_postComma = true,
display = "kifejezetten",
}
aliases['kifejezetten'] = 'particularly'



labels['excluding'] = {
	omit_postComma = true,
display = "kivéve",
}
aliases['kivéve'] = 'excluding'

labels['extremely'] = {
	omit_postComma = true,
display = "rendkívül",
}
aliases['rendkívül'] = 'extremely'


labels['frequently'] = {
	omit_postComma = true,
	display = "gyakorta",
}
aliases['gyakorta'] = 'frequently'

labels['humorously'] = { omit_postComma = true,
		pos_categories = { "tréfás" },
display = "tréfásan",
}
aliases['tréfás'] = 'humorously'


labels['including'] = {
	omit_postComma = true,
display = "beleértve",
}
aliases['beleértve'] = 'including'
labels['many'] = { 
	omit_postComma = true,
	display = "sok",
}
aliases['sok'] = 'many'

labels['markedly'] = {
	omit_postComma = true,
	display = "jelentősen",
}
aliases['jelentősen'] = 'markedly'


labels['mildly'] = {
	omit_postComma = true,
	display = "enyhén",
}
aliases['enyhén'] = 'mildly'

labels['now'] = {
	omit_postComma = true,
	display = "ma",
}
aliases['nowadays'] = 'now'
aliases['Now'] = 'now'
aliases['ma'] = 'now'
aliases['manapság'] = 'now'

labels['ról'] = {
	omit_preComma = true,
	omit_postComma = true,
	omit_preSpace = true,
	display = "ról",
}
labels['ről'] = {
	omit_preComma = true,
	omit_postComma = true,
	omit_preSpace = true,
	display = "ről",
}

labels['of'] = {
	omit_preComma = true,
	omit_postComma = true,
	omit_preSpace = true,
	display = "ról",
}
labels['of a'] = {
	omit_preComma = true,
	omit_postComma = true,
	omit_preSpace = true,
	display = "ról",
}
labels['of an'] = {
	omit_preComma = true,
	omit_postComma = true,
	omit_preSpace = true,
	display = "ról",
}
labels['often'] = {
	omit_postComma = true,
	display = "gyakran",
}
aliases['gyakran'] = 'often'

labels['originally'] = {
	omit_postComma = true,
	display = "eredetileg",
} 
aliases["eredetileg"] = "originally"
labels['possibly'] = {
	omit_postComma = true,
	display = "esetleg",
} 
aliases["esetleg"] = "possibly"
labels['rarely'] = {
	omit_postComma = true,
	display = "ritkán",
} 
aliases["ritkán"] = "rarely"
labels['slightly'] = {
	omit_postComma = true,
	display = "kissé",
} 
aliases["kissé"] = "slightly"
labels['sometimes'] = {
	omit_postComma = true,
display = "néha",
} 
aliases["néha"] = "sometimes"
labels['somewhat'] = {
	omit_postComma = true,
display = "valamelyest",
} 
aliases["valamelyest"] = "somewhat"

labels['strongly'] = {
	omit_postComma = true,
display = "erősen",
} 
aliases["erősen"] = "strongly"

labels['then'] = {
	omit_postComma = true,
	display = "akkor",
} 
aliases["akkor"] = "then"

labels['typically'] = {
	omit_postComma = true,
	display = "tipikusan",
}
aliases["tipikusan"] = "typically"

labels['usually'] = {
	omit_postComma = true,
	display = "általában",
}
aliases["általában"] = "usually"

labels['very'] = {
	omit_postComma = true,
	display = "nagyon",
}
aliases["nagyon"] = "very"

-- Grammatical labels
labels["abbreviation"] = {
	display = "[[abbreviation]]",
	pos_categories = { "abbreviations" },
}
labels["acronym"] = {
	display = "[[acronym]]",
	pos_categories = { "acronyms" },
}
labels["active"] = {
	display = "[[aktív]]",
	pos_categories = { "aktív" },
}
aliases["active voice"] = "active"
aliases["in the active"] = "active"
labels["ambitransitive"] = {
	display = "[[transitive]], [[intransitive]]",
	pos_categories = { "transitive verbs", "intransitive verbs" },
}
labels["archaic-verb-form"] = {
	display = "archaic",
	pos_categories = { "archaic verb forms" },
}
labels["attributive"] = {
	display = "[[attributive]]",
}
labels["attributively"] = {
	display = "[[attributively]]",
}
labels["auxiliary"] = {
	display = "[[segédige]]",
	pos_categories = { "auxiliary verbs" }
}
labels["by ellipsis"] = {
	display = "by [[ellipsis]]",
	pos_categories = { "ellipses" },
}
labels["by extension"] = {}
labels["cardinal"] = {
	display = "[[cardinal number|cardinal]]",
	pos_categories = { "cardinal numbers" },
}

labels["causative"] = {
	display = "[[műveltető]]" }
labels["cognate object"] = {
	display = "with [[w:Cognate object|cognate object]]",
	pos_categories = { "verbs used with cognate objects" },
}
aliases["with cognate object"] = "cognate object"
labels["collective"] = {
	display = "[[kollektív]]",
	pos_categories = { "kollektív főnevek" },
}
aliases["kollektív"] = "collective"
labels["collectively"] = {
	display = "collectively",
	pos_categories = { "collective nouns" },
}
labels["control verb"] = {
	display = "[[control]]",
	pos_categories = { "control verbs" },
}
aliases["control"] = "control verb"
labels["common"] = {
	display = "gloss"
}
labels["comparable"] = {
	display = "gloss"
}
labels["copulative"] = {
	display = "[[copular verb|copulative]]",
	pos_categories = { "copulative verbs" },
}
aliases["copular"] = "copulative"
labels["megszámlálhatató"] = {
		display = "[[megszámlálhatató]]",
	pos_categories = { "megszámlálhatató főnevek" },
}
labels["ditransitive"] = {
	display = "ditransitive",
	pos_categories = { "ditransitive verbs" },
}
labels["dysphemistic"] = {
	display = "dysphemistic",
	pos_categories = { "dysphemisms" },
}
aliases["dysphemism"] = "dysphemistic"
labels["emphatic"] = {
	display = "emphatic",
	}
labels["ergative"] = {
	display = "gloss",
	pos_categories = { "ergative verbs" },
}
labels["feminine"] = {
	display = "gloss",
}


labels["fractional"] = {
	display = "[[tört]]",
	pos_categories = { "fractional numbers" },
}

labels["hedge"] = {
	display = "[[?]]",
	pos_categories = { "hedges" },
}
aliases["hedges"] = "hedge"
labels["ideophonic"] = {
	display = "[[?]]",
}
aliases["ideophone"] = "ideophonic"

labels["idióma"] = {
	display = "[[idióma]]",
	pos_categories = { "állandósult szókapcsolatok" },
}
aliases["idiom"] = "idióma"
aliases["idiomatic"] = "idióma"
aliases["állandósult szókapcsolat"] = "idióma"

labels["imperfect"] = {
	display = "[[?]]",
}

labels["impersonal"] = {
	display = "[[?]]",
	pos_categories = { "impersonal verbs" },
}
labels["in the singular"] = {
	display = "in the [[singular]]",
}
aliases["in singular"] = "in the singular"

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

labels["plural"] = {
	display = "[[többesszám]]",
}

aliases["in plural"] = "plural"
aliases["többesszám"] = "plural"

labels["in the mediopassive"] = {
	display = "in the [[mediopassive]]" }
aliases["in mediopassive"] = "in the mediopassive"
aliases["mediopassive"] = "in the mediopassive"
labels["inanimate"] = {
	display = "gloss"
}
aliases["indef"] = "indefinite"
labels["initialism"] = {
	display = "[[initialism]]",
	pos_categories = { "initialisms" },
}
labels["intransitive"] = {
	display = "[[tárgyatlan ige]]",
	pos_categories = { "tárgyatlan igék" },
}
aliases["tárgyatlan"] = "intransitive"

labels["IPA"] = {
	display = "[[IPA]]",
	plain_categories = { "IPA symbols" },
}
aliases["International Phonetic Alphabet"] = "IPA"
labels["not comparable"] = {
	display = "[[not comparable]]"
}
aliases["notcomp"] = "not comparable"
aliases["uncomparable"] = "not comparable"
labels["masculine"] = {
	display = "gloss"
}
labels["middle"] = {
	display = "Middle",
}
aliases["middle voice"] = "middle"
aliases["in the middle"] = "middle"
aliases["in the middle voice"] = "middle"
labels["mnemonic"] = {
	display = '[[mnemonic]]',
	pos_categories = { "mnemonics" },
}
labels["neuter"] = {
	display = "gloss"
}
labels["onomatopoeia"] = {
	display = "[[onomatopoeia]]",
	pos_categories = { "onomatopoeias" },
}
labels["ordinal"] = {
	pos_categories = { "ordinal numbers" },
}


labels["passive"] = {
	display = "Passive voice",
}
aliases["passive voice"] = "passive"
aliases["in the passive"] = "passive"
labels["perfect"] = {
	display = "perfect",
}
labels["plural only"] = {
	pos_categories = { "pluralia tantum" },
}
aliases["csak többes"] = "plural only"
aliases["csak többes"] = "plural only"


labels["possessive pronoun"] = {
	display = "possessive",
	pos_categories = { "possessive pronouns" },
}
labels["postpositive"] = {
	display = "gloss"
}
labels["productive"] = {
	display = "[[productive]]" }
labels["pronominal"] = {
	display = "takes a [[visszaható pronoun]]",
}


labels["reciprocal"] = {
	display = "[[reciprocal]]",
	pos_categories = { "reciprocal verbs" },
}
labels["reflexive"] = {
	display = "[[visszaható]]",
	pos_categories = { "visszaható igék" },
}
aliases["visszaható"] = "reflexive"
aliases["vissz"] = "reflexive"

labels["visszaható pronoun"] = {
	display = "[[visszaható]]",
	pos_categories = { "visszaható pronouns" }
}
labels["relational"] = {
	display = "[[Appendix:Glossary#relational|relational]]",
	pos_categories = { "relational adjectives" },
}
labels["rhetorical question"] = {
	display = "[[rhetorical question]]",
	pos_categories = { "rhetorical questions" },
}
labels["set phrase"] = {
	display = "[[set phrase]]" }
labels["simile"] = {
	display = "[[simile]]",
	pos_categories = { "similes" },
}

labels["singular only"] = {
	display = "singular only",
	pos_categories = { "singularia tantum" },
}
aliases["singulare tantum"] = "singular only"
aliases["no plural"] = "singular only"
labels["snowclone"] = {
	display = "[[snowclone]]",
	pos_categories = { "snowclones" },
}
labels["stative"] = {
	display = "stative verb",
	pos_categories = { "stative verbs" },
}
aliases["stative verb"] = "stative"
labels["substantive"] = {
	track = true
}
labels["transitive"] = {
	display = "[[tárgyas ige]]",
	pos_categories = { "tárgyas igék" },
}
aliases["tárgyas"] = "transitive"

labels["megszámlálhatatlan"] = {
	display = "[[megszámlálhatatlan]]",
	pos_categories = { "megszámlálhatatlan főnevek" },
}


labels["usually plural"] = {
	display = "ált. [[többesszám|tsz.]]",
}
aliases["ált tsz"] = "usually plural"
aliases["általában többesszám"] = "usually plural"


-- Usage labels
labels["affectionate"] = {
	display = "[[affectionate]]",
	pos_categories = { "affectionate terms" },
}
aliases["endearing"] = "affectionate"


labels["archaic"] = {
	display = "[[régies]]",
	sense_categories = { "régies" },
}
aliases["régies"] = "archaic"
aliases["rég"] = "archaic"

labels["avoidance"] = {
	display = "gloss"
}

labels["buzzword"] = {
	display = "[[buzzword]]",
	pos_categories = { "buzzwords" },
}
labels["cant"] = {
	display = "[[cant]]",
	pos_categories = { "cant" },
}
aliases["argot"] = "cant"
aliases["cryptolect"] = "cant"
labels["capitalized"] = {
	display = "[[capitalisation|capitalized]]" }
labels["childish"] = {
	display = "[[gyermeknyelv]]",
	pos_categories = { "gyermeknyelv" },
}
aliases["baby talk"] = "childish"
aliases["child language"] = "childish"
aliases["gyermeknyelv"] = "childish"


labels["colloquial"] = {
		display = "[[bizalmas]]",
	pos_categories = { "beszélt nyelv" },
}
aliases["biz"] = "colloquial"
aliases["bizalmas"] = "colloquial"
aliases["köznyelvi"] = "colloquial"
aliases["társalgási"] = "colloquial"
aliases["colloq"] = "colloquial"


aliases["dated"] = "archaic"

labels["dated form"] = {
	display = "dated",
	pos_categories = { "dated forms" },
}
labels["dated sense"] = {
	display = "dated",
	sense_categories = { "dated" },
}  
labels["derogatory"] = {
	display = "[[pejoratív]]",
	pos_categories = { "pejoratív kifejezések" },
}
aliases["pej"] = "derogatory"
aliases["pejorative"] = "derogatory"
aliases["pejoratív"] = "derogatory"
aliases["lekicsinylő"] = "derogatory"
aliases["lealacsonyító"] = "derogatory"
aliases["lenéző"] = "derogatory"
labels["dialect"] = {  
	display = "[[Appendix:Glossary#dialectal|dialect]]",
	pos_categories = { "dialectal terms" },
}
labels["dialectal"] = {
	display = "[[dialectal]]",
	pos_categories = { "dialectal terms" },
}
labels["dialects"] = {  
	display = "[[Appendix:Glossary#dialectal|dialects]]",
	pos_categories = { "dialectal terms" },
}
labels["dismissal"] = {
	display = "[[dismissal]]",
	pos_categories = { "dismissals" },
}

labels["euphemistic"] = {
	display = "[[eufemizmus]]",
	pos_categories = { "eufemizmusok" },
}
aliases["euphemism"] = "euphemistic"
aliases["eufemizmus"] = "euphemistic"



labels["familiar"] = {
	display = "[[familiar]]",
	pos_categories = { "familiar terms" },
}
labels["figuratively"] = {
	display = "[[átvitt értelem|átvitt értelemben]]",
	 }
aliases["figurative"] = "figuratively"
aliases["metaphorically"] = "figuratively"
aliases["metaphorical"] = "figuratively"
aliases["metaphor"] = "figuratively"

labels["folk poetic"] = {
	display = "[[folk poetic]]",
	pos_categories = { "folk poetic terms", "poetic terms" },
}

labels["formal"] = {
	display = "[[hivatalos]]",
	pos_categories = { "hivatalos kifejezések" },
}
aliases["hivatalos"] = "formal"

labels['hapax legomenon'] = {
	display = "egyszer előforduló szó",
	pos_categories = { "egyszer előforduló szók" },
}
aliases["egyszer előforduló"] = "hapax legomenon"

labels["historical"] = {
	display = "[[történelmi]]",
	sense_categories = { "történelmi" },
}
aliases["historic"] = "historical"
aliases["történelmi"] = "historical"


labels["honorific"] = {
	display = "[[honorific]]",
	pos_categories = { "honorific terms" },
}

labels["humble"] = {
	display = "[[humble]]",
	pos_categories = { "humble terms" },
}
labels["humorous"] = {
	display = "[[humorous]]",
	pos_categories = { "jocular terms" },
}
aliases["jocular"] = "humorous"
labels["hyperbolic"] = {
	display = "[[hyperbolic]]",
	pos_categories = { "hyperboles" },
}
aliases["hyperbole"] = "hyperbolic"

labels["informal"] = {
	display = "[[bizalmas]]",
	pos_categories = { "bizalmas kifejezések" },
}
aliases["informally"] = "informal"
aliases["bizalmas"] = "informal"

labels["ironic"] = {}


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

labels["literary"] = {
	display = "[[irodalmi]]",
	pos_categories = { "irodalmi nyelv" },
}
aliases["bookish"] = "literary"
aliases["irodalmi"] = "literary"

labels["loosely"] = {
	display = "gloss"
}


labels["metonymically"] = {
	display = "[[metonymically]]",
	pos_categories = { "metonyms" },
}
aliases["metonymic"] = "metonymically"
aliases["metonymy"] = "metonymically"
aliases["metonym"] = "metonymically"
labels["minced oath"] = {
	display = "[[minced oath]]",
	pos_categories = { "euphemisms" },
}
labels["neologism"] = {
	display = "[[neologizmus]]",
	pos_categories = { "neologizmusok" },
}
aliases["neologistic"] = "neologism"
aliases["neologizmus"] = "neologism"

labels["no longer productive"] = {
	display = "no longer [[productive]]",
}
labels["nonce word"] = {
	display = "[[nonce word]]",
	pos_categories = { "nonce terms" },
}
aliases["nonce"] = "nonce word"
labels["nonstandard"] = {
	display = "[[nonstandard]]",
	pos_categories = { "nonstandard terms" },
}
aliases["non-standard"] = "nonstandard"
labels["nonstandard form"] = {
	display = "nonstandard",
	pos_categories = { "nonstandard forms" },
}
labels["obsolete"] = {
	display = "elavult",
	sense_categories = { "elavult" },
}

labels["obsolete term"] = {
	display = "[[elavult]]",
	pos_categories = { "elavult" },
}
labels["offensive"] = {
	display = "[[sértő]]",
	pos_categories = { "sértő" },
}


labels["poetic"] = {
	display = "[[költői]]",
	pos_categories = { "költői" },
}
labels["polite"] = {
	display = "[[udvarias]]",
	pos_categories = { "udvarias" },
}

labels["rare"] = {
	display = "[[ritka]]",
	sense_categories = { "ritka" },
}
aliases["ritka"] = "rare"

labels["rare term"] = {
	display = "ritka kifejezés",
	pos_categories = { "ritka kifejezések" },
}

labels["retronym"] = {
	display = "[[retronym]]",
	pos_categories = { "retronyms" },
}
labels["reverential"] = {
	display = "[[reverential]]",
	pos_categories = { "reverential terms" },
}
labels["sarcastic"] = {
	display = "[[szarkasztikus]]",
	pos_categories = { "szarkasztikus szavak" },
}
labels["slang"] = {
	display = "[[szleng]]",
	pos_categories = { "szleng" },
}
aliases["szleng"] = "slang"

labels["swear word"] = {
	display = "[[káromkodás]]",
	pos_categories = { "káromkodás" },
}
aliases["profanity"] = "swear word"
aliases["expletive"] = "swear word"
aliases["káromkodás"] = "swear word"



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


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

labels["vulgar"] = {
	display = "[[vulgáris]]",
	pos_categories = { "vulgáris kifejezések" },
}
aliases["közönséges"] = "vulgar"
aliases["vulg"] = "vulgar"
aliases["vulgáris"] = "vulgar"
aliases["profane"] = "vulgar"
aliases["profán"] = "vulgar"
aliases["obszcén"] = "vulgar"
aliases["durva"] = "vulgar"



-- Regional labels
local m_regional = require("Module:labels/data/regional")
for key, val in pairs(m_regional.labels) do
	labels[key] = val
end
for key, val in pairs(m_regional.aliases) do
	aliases[key] = val
end
for key, val in pairs(m_regional.deprecated) do
	deprecated[key] = val
end
-- Topical labels
local m_topical = require("Module:labels/data/topical")
for key, val in pairs(m_topical.labels) do
	labels[key] = val
end
for key, val in pairs(m_topical.aliases) do
	aliases[key] = val
end
for key, val in pairs(m_topical.deprecated) do
	deprecated[key] = val
end
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,
}