Pumunta sa nilalaman

Module:category tree/non-lemma forms

Mula Wiksiyonaryo

This data submodule defines part of Wiktionary's category structure.

For an introduction to the category tree system and a description of how to add or modify categories, see Module:category tree/documentation.


local labels = {}
local raw_categories = {}

local en_utilities_module = "Module:en-utilities"
local tl_utilities_module = "Module:tl-utilities" --TLCHANGE

--TLCHANGE add this function
local function add_linker(...)
	add_linker = require(tl_utilities_module).add_linker
	return add_linker(...)
end

local unpack = unpack or table.unpack -- Lua 5.2 compatibility


-----------------------------------------------------------------------------
--                                                                         --
--                                  LABELS                                 --
--                                                                         --
-----------------------------------------------------------------------------


labels["na anyong di-lema"] = { --TLCHANGE "non-lemma forms"
	description = "{{{langname}}} inflected forms of other [[Wiktionary:Lemmas|lemmas]], categorized by their part of speech.",
	umbrella_parents = "Pangkalahatan", --TLCHANGE "Fundamental"
	parents = {{name = "{{{langcat}}}", raw = true}},
	english_name = "non-lemma forms" --TLCHANGE
}

-- Handle specific types of non-lemma forms. Each spec is of the form {POS, PARENT_POS} where POS is the singular form
-- of a part of speech for which non-lemma forms exist (e.g. 'determiner' is listed because 'determiner forms' exist),
-- and PARENT_POS is the singular form of the parent category to add the category to. For example, the spec
-- {"circumfix", "morpheme"} means that 'circumfix forms' categories have the corresponding 'morpheme forms' categories
-- as their first parent. The second parent is the POS itself; e.g. 'morpheme forms' has 'morphemes' as its second
-- parent, with a sort key that places 'morpheme forms' at the beginning of the child categories. If PARENT_POS is
-- 'false', only the second parent appears as the parent. If a spec is a single string POS, the PARENT_POS defaults to
-- "non-lemma"; e.g. if the spec is "adjective", then 'adjective forms' categories have the corresponding
-- 'non-lemma forms' category as their first parent.
for _, spec in ipairs { --TLCHANGE add third parameter for the english_name
	{"pang-uri", nil, "adjective"}, --TLCHANGE "adjective"
	{"pang-abay", nil, "adverb"}, --TLCHANGE "adverb",
	{"artikulo", "pantukoy", "article"}, --TLCHANGE "article", "determiner"  
	{"circumfix", "morpheme"},
	"classifier",
	{"pang-uring pahambing", false, "comparative adjective"},--TLCHANGE {"comparative adjective", false},
	{"pang-abay na pahambing", false, "comparative adverb"},--TLCHANGE {"comparative adverb", false},
	{"pantukoy na pahambing", false, "determiner pronoun"},--TLCHANGE {"comparative determiner", false},
	{"panghalip na pahambing", false, "comparative pronoun"},--TLCHANGE {"comparative pronoun", false},
	{"pangatnig", nil, "conjunction"}, --TLCHANGE "conjunction",
	{"pantukoy", nil, "determiner"}, --TLCHANGE "determiner",
	{"pang-uring pahambing na magkatulad", false, "equative adjective"}, --TLCHANGE {"equative adjective", false},
	{"pang-abay na pahambing na magkatulad", false, "equative adverb"}, --TLCHANGE {"equative adverb", false},
	{"exaggerated adjective", false},
	{"excessive adjective", false},
	{"pawatas", false, "infinitive"}, --TLCHANGE {"infinitive", false},
	{"pandamdam", nil, "interjection"}, --TLCHANGE "interjection",
	{"morpema", nil, "morpheme"}, --TLCHANGE "morpheme",
	{"pangngalan", nil, "noun"}, --TLCHANGE "noun",
	{"pambilang", nil, "numeral"}, --TLCHANGE "numeral",
	{"pandiwari", nil, "participle"}, --TLCHANGE "participle",
	{"kataga", nil, "particle"}, --TLCHANGE "particle",
	{"pandiwaring pangnagdaan", "pandiwari", "past participle"}, --TLCHANGE {"past participle", "participle"},
	"predicative",
	{"unlapi", "morpema", "prefix"}, --TLCHANGE {"prefix", "morpheme"},
	{"pangngalang pantangi", nil, "proper noun"}, --TLCHANGE "proper noun",
	"postposition",
	"preposition",
	{"panghalip", nil, "pronoun"}, --TLCHANGE "pronoun",
	{"hulapi", "morpema", "suffix"}, --TLCHANGE {"suffix", "morpheme"},
	{"pandiwa", nil, "verb"}, --TLCHANGE "verb",
	{"pang-uring pasukdol", false, "superlative adjective"}, --TLCHANGE {"superlative adjective", false}
	{"pang-abay na pasukdol", false, "superlative adverb"}, --TLCHANGE {"superlative adverb", false}
	{"pantukoy na pasukdol", false, "superlative determiner"}, --TLCHANGE {"superlative determiner", false}
	{"panghalip na pasukdol", false, "superlative pronoun"}, --TLCHANGE {"superlative pronoun", false}
} do
	local pos, parent_pos, _english_name --TLCHANGE add _english_name
	if type(spec) == "table" then
		pos, parent_pos, _english_name = unpack(spec)
	else
		pos = spec
	end
	parent_pos = parent_pos or "di-lema" --TLCHANGE "non-lemma"
	_english_name = _english_name or pos --TLCHANGE add failsafe
	
	-- --TLCHANGE no need local plpos = require(en_utilities_module).pluralize(pos)
	local parents = {}
	if parent_pos ~= false then
		table.insert(parents, "na anyong " .. parent_pos) --TLCHANGE  parent_pos .. " forms"
	end
	table.insert(parents, {name = "na " .. pos, sort = "**"}) --TLCHANGE this is for parent {name = plpos, sort = "**"}
	labels["na anyong " .. pos] = { --TLCHANGE  pos .. " forms"
		description = ("Mga %s sa wikang {{{langname}}} na inibang-anyo para maipakita ang pagkabalarila nito na maliban sa pangunahing anyo nito."):format(pos),
		parents = parents,
		english_name = _english_name .. " forms"
	}
end

labels["active participles"] = {
	description = "{{{langname}}} participles that express an agent actively performing an action.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["active adjectival participles"] = {
	description = "{{{langname}}} participles that function as adjectives and express an agent actively performing an action.",
	parents = {"na pandiwari", "na pang-uri"}, --TLCHANGE {"participles", "adjectives"},
}

labels["na pandiwaring malapang-uri"] = { --TLCHANGE
	description = "{{{langname}}} participles that function as adjectives.",
	parents = {"na pandiwari", "na pang-uri"}, --TLCHANGE {"participles", "adjectives"},
	english_name = "adjectival participles" --TLCHANGE
}

labels["adjective construct forms"] = {
	description = "{{{langname}}} adjectives that are inflected to modify a noun in a genitive construction.",
	parents = {{name = "adjective forms", sort = "construct"}},
}

labels["adjective definite forms"] = {
	description = "{{{langname}}} adjectives that are inflected to give attributes to specific and identifiable nouns.",
	parents = {{name = "adjective forms", sort = "definite forms"}},
}

labels["na anyong pang-uring dalawahan"] = { --TLCHANGE
	description = "{{{langname}}} adjectives that are inflected to be quantified as two.",
	parents = {{name = "adjective forms", sort = "dual forms"}},
	english_name = "adjective dual forms" --TLCHANGE
}

labels["na anyong pang-uring pambabae"] = { --TLCHANGE
	description = "{{{langname}}} adjectives that are inflected to give attributes to nouns associated to female beings.",
	parents = {{name = "adjective forms", sort = "feminine forms"}},
	english_name = "adjective feminine forms" --TLCHANGE
}

labels["na pandiwaring malapang-abay"] = { --TLCHANGE
	description = "{{{langname}}} participles that function as adverbs.",
	parents = {"na pandiwari", "na pang-abay"}, --TLCHANGE {"participles", "adverbs"},
	english_name = "adverbial participles" --TLCHANGE
}

labels["agent participles"] = {
	description = "{{{langname}}} participles that express an agent by who something is done.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["anterior adverbial participles"] = {
	description = "{{{langname}}} participles that function as adverbs and express an action completed before the one expressed by the primary verb.",
	parents = {"na pandiwari", "na pang-abay"}, --TLCHANGE {"participles", "adverbs"},
}

labels["classifier singular forms"] = {
	description = "{{{langname}}} classifiers that are inflected for singular number.",
	parents = {"classifier forms"},
}

labels["na maramihang palansak"] = { --TLCHANGE
	description = "{{{langname}}} nominal plural forms with specifically collective semantics.",
	parents = {"na anyong pangngalan"}, --TLCHANGE {"noun forms"},
	english_name = "collective plurals" --TLCHANGE
}

labels["elative adjectives"] = {
	description = "{{{langname}}} adjectives that express attributes in a relatively higher degree, or in the highest possible degree.",
	parents = {"na anyong pang-uri"}, --TLCHANGE {"adjective forms"},
}

labels["contemporary adverbial participles"] = {
	description = "{{{langname}}} participles that function as adverbs and express an action occuring simultaneously with the one expressed by the primary verb.",
	parents = {"na pandiwari", "na pang-abay"}, --TLCHANGE {"participles", "adverbs"},
}

labels["converbs"] = {
	description = "{{{langname}}} verb forms that build clauses which function as adverbials.",
	parents = {"na anyong pandiwa"}, --TLCHANGE {"verb forms"},
}

for _, pos in ipairs { {"pang-uri", "adjective"}, {"pang-abay", "adverb"}, {"pantukoy", "determiner"}, {"panghalip", "pronoun"} } do --TLCHANGE { "adjective", "adverb", "determiner", "pronoun" }
	pos_with_linker = add_linker(pos[1])
	local plpos = pos[2] .. "s"
	labels["na " .. pos_with_linker .. " pahambing"] = { --TLCHANGE
		description = "{{{langname}}} " .. plpos .. " that express attributes in a relatively higher degree, or serve to set apart one thing from another.",
		parents = {"na anyong " .. pos[1]}, --TLCHANGE {pos .. " forms"}
		english_name = "comparative " .. plpos, --TLCHANGE
	}
end

labels["na anyong pantukoy na pahambing"] = { --TLCHANGE
	description = "{{{langname}}} determiners that are inflected to display relative degrees of given qualities between nouns.",
	parents = {{name = "determiner forms", sort = "comparative forms"}},
	english_name = "determiner comparative forms", --TLCHANGE
}

labels["diminutive gerunds"] = {
	description = "{{{langname}}} diminutives of gerunds.",
	parents = {"na anyong pandiwa"}, --TLCHANGE {"verb forms"},
}

labels["na pang-uring pahambing na magkatulad"] = { --TLCHANGE
	description = "{{{langname}}} adjectives that express similar degrees of given qualities between nouns, i.e. '''A''' is as ''(insert adjective)'' as '''B'''.",
	parents = {"na anyong pang-uri"}, --TLCHANGE {"adjective forms"},
	english_name = "equative adjectives", --TLCHANGE
}

labels["na pang-abay na pahambing na magkatulad"] = { --TLCHANGE
	description = "{{{langname}}} adverbs that express similar degrees of given qualities between verbs, i.e. '''A''' as ''(insert adverb)'' as '''B'''.",
	parents = {"na anyong pang-abay"}, --TLCHANGE {"adverb forms"},
	english_name = "equative adverbs", --TLCHANGE
}

labels["exaggerated adjectives"] = {
	description = "{{{langname}}} adjectives that express attributes in an even more magnified degree than the superlative forms.",
	parents = {"na anyong pang-uri"}, --TLCHANGE {"adjective forms"},
}

labels["excessive adjectives"] = {
	description = "{{{langname}}} adjectives that express attributes in an excessive degree.",
	parents = {"na anyong pang-uri"}, --TLCHANGE {"adjective forms"},
}

labels["excessive adverbs"] = {
	description = "{{{langname}}} adverbs that express attributes in an excessive degree.",
	parents = {"na anyong pang-abay"}, --TLCHANGE {"adverb forms"},
}

labels["extended adjective forms"] = {
	parents = {"na anyong pang-uri"}, --TLCHANGE {"adjective forms"},
}

labels["future active participles"] = {
	description = "{{{langname}}} participles that express an agent actively performing an action in future time.",
	parents = {"na pandiwari"}, --TLCHANGE {"participles"},
}

labels["na pandiwaring panghinaharap"] = { --TLCHANGE
	description = "{{{langname}}} participles that indicate future events.",
	parents = {"na pandiwari"}, --TLCHANGE {"participles"},
	english_name = "future participles" --TLCHANGE
}

labels["na pandiwaring balintiyak na panghinaharap"] = { --TLCHANGE
	description = "{{{langname}}} participles that express a patient having an action performed on it in future time.",
	parents = {"na pandiwari"}, --TLCHANGE {"participles"},
	english_name = "future passive participles" --TLCHANGE
}

local function gerund_description(data)
	local default_text = "{{{langname}}} verbs that are conjugated to indicate ongoing events at unspecified moments."
	if not data.lang then
		-- This happens e.g. in [[:Category:Gerunds by language]].
		return default_text
	else
		local langcode = data.lang:getCode()
		if langcode == "sq" or langcode == "kmr" or langcode == "liv" or data.lang:inFamily("gem", "itc") then
			return "{{{langname}}} forms that generally act as an action noun for the verb that they are formed from."
		elseif langcode == "sa" or langcode == "pi" then
			return "{{{langname}}} verb forms used in a clause to indicate a prior action by the subject of the sentence."
		else
			return default_text
		end
	end
end
	
labels["gerunds"] = {
	description = gerund_description,
	additional = "{{small|[Edit function gerund_description() in [[Module:category tree/non-lemma forms]] to change this description.]}}",
	parents = {"na anyong pandiwa"}, --TLCHANGE {"verb forms"},
}

labels["imperfect participles"] = {
	description = "{{{langname}}} participles that express an ongoing or continuous action.",
	parents = {"na pandiwari"}, --TLCHANGE {"participles"},
}

labels["na pawatas"] = { --TLCHANGE
	description = "{{{langname}}} non-finite verb forms of various kinds.",
	parents = {"na anyong pandiwa"}, --TLCHANGE {"verb forms"},
	english_name = "infinitives" --TLCHANGE
}

labels["intensive adjectives"] = {
	description = "{{{langname}}} adjectives that are derived from a base word to express a stronger concept than the base word.",
	parents = {"na anyong pang-uri"}, --TLCHANGE {"adjective forms"},
}

labels["manuscript forms"] = {
	description = "{{{langname}}} words as they appear in original manuscripts.",
	parents = {"na anyong di-lema"}, --TLCHANGE {"non-lemma forms"},
}

labels["mutated forms"] = {
	description = "{{{langname}}} terms whose initial consonant is mutated due to the effect of the preceding word.",
	parents = {"na anyong di-lema"}, --TLCHANGE {"non-lemma forms"},
}

local inflected_pos_for_mutation = {
	"adjective",
	"adverb",
	"determiner",
	"interjection",
	"noun",
	"numeral",
	"participle",
	"particle",
	"prefix",
	"preposition",
	"pronoun",
	"proper noun",
	"verb",
}

for _, pos in ipairs(inflected_pos_for_mutation) do
	local plpos = require(en_utilities_module).pluralize(pos)
	labels["mutated " .. plpos] = {
		description = "{{{langname}}} " .. plpos .. " whose initial consonant is mutated due to the effect of the preceding word.",
		parents = {pos .. " forms", {name = "mutated forms", sort = pos}},
	}
end

local mutation_types = {
	-- FIXME, we should add these terms to [[Appendix:Glossary]] and link to them.
	["eclipsed"] = "[[Appendix:Irish mutations#Eclipsis|eclipsis]]",
	["lenited"] = "[[Appendix:Irish mutations#Lenition|lenition]]",
	["h-prothesized"] = "[[h-prothesis]]",
	["t-prothesized"] = "[[t-prothesis]]",
	["aspirate-mutation"] = "[[aspirate mutation]]",
	["hard-mutation"] = "[[hard mutation]]",
	["mixed-mutation"] = "[[mixed mutation]]",
	["nasal-mutation"] = "[[nasal mutation]]",
	["soft-mutation"] = "[[soft mutation]]",
}

for muttype, desc in pairs(mutation_types) do
	labels[muttype .. " forms"] = {
		description = "{{{langname}}} terms whose initial consonant is mutated through " .. desc .. ", due to the effect of the preceding word.",
		parents = {"mutated forms"},
	}
end

labels["negative participles"] = {
	description = "{{{langname}}} participles that express lack of an action being performed.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["nominal participles"] = {
	description = "{{{langname}}} participles that function as nouns.",
	parents = {"participles", "nouns"},
}

labels["noun construct forms"] = {
	description = "{{{langname}}} nouns that are inflected to modify a noun in a genitive construction.",
	parents = {{name = "noun forms", sort = "construct"}},
}

labels["noun definite forms"] = {
	description = "{{{langname}}} nouns that are inflected to designate an identified object.",
	parents = {{name = "noun forms", sort = "definite"}},
}

labels["na anyong pangngalang pambabae"] = { --TLCHANGE
	description = "{{{langname}}} nouns that are inflected to be associated to female beings.",
	parents = {{name = "na anyong pangngalan", sort = "pambabae"}}, --TLCHANGE {{name = "noun forms", sort = "feminine"}},
	english_name = "noun feminine forms" --TLCHANGE
}

labels["noun indefinite forms"] = {
	description = "{{{langname}}} nouns that are inflected to designate an unidentified object.",
	parents = {{name = "noun forms", sort = "indefinite"}},
}

labels["na anyong pangngalang panlalaki"] = { --TLCHANGE
	description = "{{{langname}}} nouns that are inflected to be associated to male beings.",
	parents = {{name = "na anyong pangngalan", sort = "panlalaki"}}, --TLCHANGE {{name = "noun forms", sort = "masculine"}},
	english_name = "noun masculine forms" --TLCHANGE
}

labels["noun paucal forms"] = {
	description = "{{{langname}}} nouns that are inflected to be quantified as between two (or three in some languages with dual number) and ten.",
	parents = {{name = "noun forms", sort = "paucal"}},
}

labels["noun possessive forms"] = {
	description = "{{{langname}}} nouns that are inflected to indicate possession.",
	parents = {{name = "noun forms", sort = "possessive"}},
}

labels["na pandiwari"] = { --TLCHANGE
	description = "{{{langname}}} verbal forms that behave syntactically like adjectives (or sometimes adverbs), and in some languages are often used in compound conjugations and/or reduced relative clauses.",
	parents = {"na anyong pandiwa"}, --TLCHANGE {"verb forms"},
	english_name = "participles" --TLCHANGE
}

labels["na pandiwaring balintiyak"] = { --TLCHANGE
	description = "{{{langname}}} participles that express a patient having an action performed on it.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
	english_name = "passive participles" --TLCHANGE
}

labels["passive adjectival participles"] = {
	description = "{{{langname}}} participles that function as adjectives and express a patient having an action performed on it.",
	parents = {"na pandiwari", "na pang-uri"}, --TLCHANGE {"participles", "adjectives"},
}

labels["past active aorist participles"] = {
	description = "{{{langname}}} participles that express completed events in past time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["past active imperfect participles"] = {
	description = "{{{langname}}} participles that express ongoing events in past time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["past active participles"] = {
	description = "{{{langname}}} participles that express an agent actively performing an action in past time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["na pandiwaring malapang-abay na pangnagdaan"] = { --TLCHANGE
	description = "{{{langname}}} participles that function as adverbs and express actions in past time.",
	parents = {"na pandiwaring malapang-abay", "na pang-abay"}, --TLCHANGE {"adverbial participles", "adverbs"},
	english_name = "past adverbial participles" --TLCHANGE
}

labels["na pandiwaring pangnagdaan"] = { --TLCHANGE
	description = "{{{langname}}} participles that express actions in past time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
	english_name = "past participles" --TLCHANGE
}

labels["na pandiwaring balintiyak na pangnagdaan"] = { --TLCHANGE
	description = "{{{langname}}} participles that express a patient having an action performed on it in past time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
	english_name = "past passive participles" --TLCHANGE
}

labels["perfect participles"] = {
	description = "{{{langname}}} participles that express having completed or undergone an action.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["perfect active participles"] = {
	description = "{{{langname}}} participles that express an agent having completed an action.",
	parents = {"participles"},
}

labels["prepositional pronouns"] = {
	description = "{{{langname}}} pronouns that are combined with a preposition.",
	umbrella_parents = "Subkategoryang panglema ayon sa wika", --TLCHANGE "Lemmas subcategories by language",
	parents = {"na anyong panghalip", {name = "na pang-ukol", sort = "panghalip"}}, --TLCHANGE parents = {"pronoun forms", {name = "prepositions", sort = "pronouns"}},
}

labels["present active participles"] = {
	description = "{{{langname}}} participles that express an agent actively performing an action in present time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["na pandiwaring malapang-abay na pangkasalukuyan"] = { --TLCHANGE
	description = "{{{langname}}} participles that function as adverbs and express actions in present time.",
	parents = {"na pandiwaring malapang-abay", "na pang-abay"}, --TLCHANGE {"adverbial participles", "adverbs"},
	english_name = "present adverbial participles" --TLCHANGE
}

labels["present middle participles"] = {
	description = "{{{langname}}} participles that express an agent performing an action in present time in middle voice.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
}

labels["na pandiwaring pangkasalukuyan"] = { --TLCHANGE
	description = "{{{langname}}} participles that express actions occurring in the present time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
	english_name = "present participles" --TLCHANGE
}

labels["na pandiwaring balintiyak na pangkasalukuyan"] = { --TLCHANGE
	description = "{{{langname}}} participles that express a patient having an action performed on it in present time.",
	parents = {"na pandiwari"}, --TLCHANGE "participles"
	english_name = "present passive participles" --TLCHANGE
}

labels["pronoun possessive forms"] = {
	description = "{{{langname}}} pronouns that are inflected to indicate possession.",
	parents = {{name = "pronoun forms", sort = "possessive"}},
}

labels["pronunciation variants"] = {
	description = "{{{langname}}} words that have alternative pronunciation-based spellings.",
	parents = {"na anyong di-lema"}, --TLCHANGE {"non-lemma forms"},
}

labels["singulatives"] = {
	description = "{{{langname}}} plural nouns that are inflected for singular number.",
	parents = {"na anyong pangngalan"}, --TLCHANGE {"noun forms"},
}

for _, pos in ipairs { {"pang-uri", "adjective"}, {"pang-abay", "adverb"}, {"pantukoy", "determiner"}, {"panghalip", "pronoun"} } do --TLCHANGE { "adjective", "adverb", "determiner", "pronoun" }
	pos_with_linker = add_linker(pos[1])
	local plpos = pos[2] .. "s"
	labels["na " .. pos_with_linker .. " pasukdol"] = { --TLCHANGE
		description = "{{{langname}}} " .. plpos .. " that express attributes in their highest possible degrees.",
		parents = {"na anyong " .. pos[1]}, --TLCHANGE {pos .. " forms"}
		english_name = "superlative " .. plpos, --TLCHANGE
	}
end

labels["verb causative forms"] = {
	description = "{{{langname}}} verbs that are conjugated to express actions caused by external conditions.",
	parents = {{name = "verb forms", sort = "causative"}},
}

labels["verb irregular forms"] = {
	description = "{{{langname}}} verb forms that don't follow standard patterns of conjugation.",
	parents = {{name = "verb forms", sort = "irregular"}},
}

labels["verb negative forms"] = {
	description = "{{{langname}}} verbs that are conjugated to express negation.",
	parents = {{name = "verb forms", sort = "negative"}},
}

labels["na anyong pandiwang balintiyak"] = { --TLCHANGE
	description = "{{{langname}}} verbs that are conjugated to direct the action to the grammatical subject, by means of passive voice.",
	parents = {{name = "na anyong pandiwa", sort = "balintiyak"}}, --TLCHANGE {{name = "verb forms", sort = "passive"}},
	english_name = "verb passive forms" --TLCHANGE
}

labels["verb simple past forms"] = {
	description = "{{{langname}}} verbs that are conjugated to indicate events before the current moment.",
	parents = {{name = "verb forms", sort = "simple past"}},
}

local labels2 = {}

-- Add "reconstructed" subcategories; add 'umbrella_parents' key if not
-- already present.
for key, data in pairs(labels) do
	labels2[key] = data
	if not data.umbrella_parents then
		data.umbrella_parents = "Subkategoryang pang-anyong di-lema ayon sa wika"--TLCHANGE "Non-lemma forms subcategories by language"
	end
	labels2["reconstructed " .. key] = {
		description = "{{{langname}}} " .. key .. "  that have been linguistically [[Wiktionary:Reconstructed terms|reconstructed]].",
		umbrella_parents = "Subkategoryang pang-anyong di-lema ayon sa wika", --TLCHANGE "Non-lemma forms subcategories by language", 
		parents = {key, {name = "reconstructed terms", sort = key}}
	}
end


-- These are top-level; don't (for the moment at least) add 'reconstructed alternative forms'.
-- These are created by setting the altform= parameter to {{head}} or full_headword() in [[Module:headword]]. See
-- [[Wiktionary:Beer parlour/2024/June#Decluttering the altform mess]] for discussion.
labels2["alternative forms"] = {
	description = "{{{langname}}} alternative forms of [[Wiktionary:Lemmas|lemmas]], i.e. variant forms or spellings that are attested but secondary, and typically not in common use.",
	additional = "Such terms may be uncommon spelling variants; dialectal forms; historical, archaic or obsolete spellings; spellings in less-used scripts; or the like. " ..
		"They are kept out of the lemma category to avoid cluttering it. Commonly used variants should not be placed in this category, but should be treated as lemmas.",
	umbrella_parents = "Fundamental",
	parents = {{name = "{{{langcat}}}", raw = true}},
}


-----------------------------------------------------------------------------
--                                                                         --
--                              RAW CATEGORIES                             --
--                                                                         --
-----------------------------------------------------------------------------


raw_categories["Subkategoryang pang-anyong di-lema ayon sa wika"] = { --TLCHANGE
	description = "Umbrella categories covering topics related to non-lemma forms.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Kataas-taasang kategorya", --TLCHANGE "Umbrella metacategories"
		{name = "na anyong di-lema", is_label = true, sort = " "}, --TLCHANGE "non-lemma forms"
	},
	english_name = "Non-lemma forms subcategories by language" --TLCHANGE
}


return {LABELS = labels2, RAW_CATEGORIES = raw_categories}