Menyang kontèn

Modhul:category tree/poscatboiler/data/terms by etymology

Saka Wikisastra, bausastra mardika

Dhokumèntasi modhul iki bisa digawé ing Modhul:category tree/poscatboiler/data/terms by etymology/doc

local labels = {}
local handlers = {}

labels["terms by etymology"] = {
	description = "{{{langname}}} terms categorized by their etymologies.",
	fundamental = "Fundamental",
	parents = {{template = "langcatboiler"}},
}

labels["AABB-type reduplications"] = {
	description = "{{{langname}}} terms that underwent [[reduplication]] in an AABB pattern.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"reduplications"},
}

labels["alliterative compounds"] = {
	description = "{{{langname}}} noun phrases composed of two or more stems that alliterate.",
	fundamental = "Types of compound words by language",
	parents = {"compound words", "alliterative phrases"},
}

labels["alliterative phrases"] = {
	description = "{{{langname}}} phrases composed of two or more words that alliterate.",
	fundamental = "Phrases by language",
	parents = {"terms by etymology"},
}

labels["antonymous compounds"] = {
	description = "{{{langname}}} compounds in which one part is an antonym of the other.",
	fundamental = "Types of compound words by language",
	parents = {"dvandva compounds", sort = "antonym"},
}

labels["back-formations"] = {
	description = "{{{langname}}} words formed by reversing a supposed regular formation, removing part of an older term.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["bahuvrihi compounds"] = {
	description = "{{{langname}}} compounds in which the first part (A) modifies the second (B), and whose meaning follows a [[metonymic]] pattern: “<person> having a B that is A.”",
	fundamental = "Types of compound words by language",
	parents = {"compound words", "exocentric compounds"},
}

labels["blends"] = {
	description = "{{{langname}}} words formed by combinations of other words.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["borrowed terms"] = {
	description = "{{{langname}}} terms that are loanwords, i.e. words that were directly incorporated from another language.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

local borrowing_descriptions = {
	["learned borrowings"] =
		"terms that are learned [[loanword]]s from SOURCE, that is, words that were directly incorporated from SOURCE instead of through normal language contact.",
	["semi-learned borrowings"] =
		"terms that are [[semi-learned borrowing|semi-learned]] [[loanword]]s from SOURCE, that is, words borrowed from SOURCE (a [[classical language]]) into the target language (a modern language) and partly reshaped based on later [[sound change]]s or by analogy with [[inherit]]ed words in the language.",
	["orthographic borrowings"]	=
		"terms that are orthographic loans from SOURCE, i.e. words that were borrowed from SOURCE in their script forms, not their pronunciations.",
	["unadapted borrowings"] =
		"[[loanword]]s from SOURCE that have not been conformed to the morpho-syntactic, phonological and/or phonotactical rules of the target language.",
}

table.insert(handlers, function(label)
	local borrowing_type, source_name = label:match("^(.+ borrowings) from (.+)$")
	if borrowing_type then
		local source = require("Module:languages").getByCanonicalName(source_name, true,
			"allow etym langs", "allow families")
		local source_desc = source:makeCategoryLink()
		if source:getType() == "family" then
			source_desc = "unknown " .. source_desc
		end
		return {
			description = "{{{langname}}} " .. borrowing_descriptions[borrowing_type]:gsub("SOURCE", source_desc),
			fundamental = "Terms by etymology subcategories by language",
			parents = {{
				name = borrowing_type,
				sort = source_name,
			}},
		}
	end
end)

labels["calques"] = {
	description = "{{{langname}}} terms formed by piece-by-piece translations of terms from other languages.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["catachreses"] = {
	description = "{{{langname}}} terms derived from misuses or misapplications of other terms.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["coinages"] = {
	description = "{{{langname}}} terms coined by an identifiable person, organization or other such entity.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

table.insert(handlers, function(label)
	local coiner = label:match("^terms coined by (.+)$")
	if coiner then
		return {
			description = "{{{langname}}} terms coined by " .. coiner .. ".",
			fundamental = "Coinages subcategories by language",
			parents = {{
				name = "coinages",
				sort = coiner,
			}},
		}
	end
end)

-- Add "compound POS" categories for various parts of speech.

local compound_poses = {
	"adjectives",
	"adverbs",
	"conjunctions",
	"determiners",
	"interjections",
	"nouns",
	"numerals",
	"particles",
	"postpositions",
	"prefixes",
	"prepositions",
	"pronouns",
	"proper nouns",
	"suffixes",
	"verbs",
}

for _, pos in ipairs(compound_poses) do
	labels["compound " .. pos] = {
		description = "{{{langname}}} " .. pos .. " composed of two or more stems.",
		fundamental = "Types of compound words by language",
		parents = {{name = "compound words", sort = " "}, pos},
	}
end

labels["compound determinatives"] = {
	description = "{{{langname}}} determinatives composed of two or more stems.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"compound words", "determiners"},
}

labels["compound words"] = {
	description = "{{{langname}}} words composed of two or more stems.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["coordinated pairs"] = {
	description = "Terms in {{{langname}}} consisting of a pair of terms joined by a [[coordinating conjunction]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["coordinated triples"] = {
	-- Avoid saying "a coordinating conjunction" or "coordinating conjunctions"
	-- because there can be either one or two conjunctions.
	description = "Terms in {{{langname}}} consisting of three terms joined by [[coordinating conjunction]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["denominals"] = {
	description = "{{{langname}}} terms derived from a noun.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["deverbals"] = {
	description = "{{{langname}}} terms derived from a verb.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["doublets"] = {
	description = "{{{langname}}} terms that trace their etymology from ultimately the same source as other terms in the same language, but by different routes, and often with subtly or substantially different meanings.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["dvandva compounds"] = {
	description = "{{{langname}}} words composed of two or more stems whose stems could be connected by an 'and'.",
	fundamental = "Types of compound words by language",
	parents = {"compound words"},
}

labels["elongated forms"] = {
	description = "{{{langname}}} terms terms where one or more letters or sounds is repeated for emphasis or effect.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["endocentric compounds"] = {
	description = "{{{langname}}} words composed of two or more stems, one of which is the [[w:head (linguistics)|head]] of that compound.",
	fundamental = "Types of compound words by language",
	parents = {"compound words"},
}

labels["endocentric noun-noun compounds"] = {
	description = "{{{langname}}} words composed of two or more stems, one of which is the [[w:head (linguistics)|head]] of that compound.",
	fundamental = "Types of compound words by language",
	parents = {"endocentric compounds", "compound words"},
}

labels["endocentric verb-noun compounds"] = {
	description = "{{{langname}}} compounds in which the first element is a verbal stem, the second a nominal stem and the head of the compound.",
	fundamental = "Types of compound words by language",
	parents = {"endocentric compounds", "verb-noun compounds"},
}

labels["eponyms"] = {
	description = "{{{langname}}} terms derived from names of real or fictitious people.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["exocentric compounds"] = {
	description = "{{{langname}}} words composed of two or more stems, none of which is the [[w:head (linguistics)|head]] of that compound.",
	fundamental = "Types of compound words by language",
	parents = {"compound words"},
}

labels["exocentric verb-noun compounds"] = {
	description = "{{{langname}}} compounds in which the first element is a transitive verb, the second a noun functioning as its direct object, and whose referent is the person or thing doing the action.",
	fundamental = "Types of compound words by language",
	parents = {"exocentric compounds", "verb-noun compounds"},
}

labels["genericized trademarks"] = {
	description = "{{{langname}}} terms that originate from [[trademark]]s, [[brand]]s and company names which have become [[genericized]]; that is, fallen into common usage in the target market's [[vernacular]], even when referring to other competing brands.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["ghost words"] = {
	description = "{{{langname}}} terms that were originally erroneous or fictitious, published in a reference work as if they were genuine as a result of typographical error, misreading, misinterpretation or another process.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["karmadharaya compounds"] = {
	description = "{{{langname}}} words composed of two or more stems in which the main stem determines the case endings.",
	fundamental = "Types of compound words by language",
	parents = {"tatpurusa compounds"},
}

labels["haplological forms"] = {
	description = "{{{langname}}} terms that underwent [[haplology]]: thus, their origin involved a loss or omission of a repeated sequence of sounds.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["homophonic translations"] = {
	description = "{{{langname}}} terms that were borrowed by matching the etymon phonetically, without regard for the sense; compare [[phono-semantic matching]] and [[Hobson-Jobson]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"}
}

labels["hybridisms"] = {
	description = "{{{langname}}} words formed by elements of different linguistic origins.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["tembung warisan"] = {
	description = "{{{langname}}} terms that were inherited from an earlier stage of the language.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["itaretara dvandva compounds"] = {
	description = "{{{langname}}} words composed of two or more stems whose stems could be connected by an 'and'.",
	fundamental = "Types of compound words by language",
	parents = {"dvandva compounds"},
}

labels["learned borrowings"] = {
	description = "{{{langname}}} terms that are learned [[loanword]]s, that is, words that were directly incorporated from another language instead of through normal language contact.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"borrowed terms"},
}

labels["legal doublets"] = {
	description = "{{{langname}}} legal [[doublet]]s &ndash; a legal doublet is a standardized phrase commonly use in legal documents, proceedings etc which includes two words that are near synonyms.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"coordinated pairs"},
}

labels["merisms"] = {
	description = "{{{langname}}} [[merism]]s &ndash; terms that are [[coordinate]]s that, combined, are a synonym for a totality.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"coordinated pairs"},
}

labels["metonyms"] = {
	description = "{{{langname}}} terms whose origin involves calling a thing or concept not by its own name, but by the name of something intimately associated with that thing or concept.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["neologisms"] = {
	description = "{{{langname}}} terms that have been only recently acknowledged.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["nonce terms"] = {
	description = "{{{langname}}} terms that have been invented for a single occasion.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["onomatopoeias"] = {
	description = "{{{langname}}} words that were coined to sound like what they represent.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["orthographic borrowings"] = {
	description = "{{{langname}}} terms that are orthographic loans, i.e. words that were borrowed in their script forms, not their pronunciations.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"borrowed terms"},
}

labels["partial calques"] = {
	description = "{{{langname}}} terms formed by partial piece-by-piece translations of terms from other languages.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["phono-semantic matchings"] = {
	description = "{{{langname}}} terms that were borrowed by matching the etymon phonetically and semantically.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"borrowed terms"},
}

labels["piecewise doublets"] = {
	description = "{{{langname}}} terms that are [[Appendix:Glossary#piecewise doublet|piecewise doublets]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["pseudo-anglicisms"] = {
	description = "{{{langname}}} terms that appear to be English, but are not used or have a different meaning in English itself.",
	fundamental = "Pseudo-loans by language",
	parents = {"pseudo-loans"},
}

labels["pseudo-Gallicisms"] = {
	description = "{{{langname}}} terms that appear to be French, but are not used or have a different meaning in French itself.",
	fundamental = "Pseudo-loans by language",
	parents = {"pseudo-loans"},
}

labels["pseudo-Germanisms"] = {
	description = "{{{langname}}} terms that appear to be German, but are not used or have a different meaning in German itself.",
	fundamental = "Pseudo-loans by language",
	parents = {"pseudo-loans"},
}

labels["pseudo-Hispanisms"] = {
	description = "{{{langname}}} terms that appear to be Spanish, but are not used or have a different meaning in Spanish itself.",
	fundamental = "Pseudo-loans by language",
	parents = {"pseudo-loans"},
}

labels["pseudo-Italianisms"] = {
	description = "{{{langname}}} terms that appear to be Italian, but are not used or have a different meaning in Italian itself.",
	fundamental = "Pseudo-loans by language",
	parents = {"pseudo-loans"},
}

labels["pseudo-Latinisms"] = {
	description = "{{{langname}}} terms that appear to be Latin, but are not used or have a different meaning in Latin itself.",
	fundamental = "Pseudo-loans by language",
	parents = {"pseudo-loans"},
}

labels["pseudo-loans"] = {
	description = "{{{langname}}} terms that are [[pseudo-loan]]s.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["rebracketings"] = {
	description = "{{{langname}}} terms that have interacted with another word in such a way that the boundary between the words has been modified.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"}
}

labels["reconstructed terms"] = {
	description = "{{{langname}}} terms that are not directly attested, but have been reconstructed through other evidence.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"}
}

labels["reduplicated coordinated pairs"] = {
	description = "{{{langname}}} reduplicated coordinated pairs.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"coordinated pairs", "reduplications"},
}

labels["reduplicated coordinated triples"] = {
	description = "{{{langname}}} reduplicated coordinated triples.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"coordinated triples", "reduplications"},
}

labels["reduplications"] = {
	description = "{{{langname}}} terms that underwent [[reduplication]], so their origin involved a repetition of roots or stems.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["retronyms"] = {
	description = "{{{langname}}} terms that serve as new unique names for older objects or concepts whose previous names became ambiguous.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["rhyming compounds"] = {
	description = "{{{langname}}} noun phrases composed of two or more stems that rhyme.",
	fundamental = "Types of compound words by language",
	parents = {"compound words", "rhyming phrases"},
}

labels["rhyming phrases"] = {
	description = "{{{langname}}} phrases composed of two or more words that rhyme.",
	fundamental = "Phrases by language",
	parents = {"terms by etymology"},
}

labels["samahara dvandva compounds"] = {
	description = "{{{langname}}} words composed of two or more stems whose stems could be connected by an 'and'.",
	fundamental = "Types of compound words by language",
	parents = {"dvandva compounds"},
}

labels["semantic loans"] = {
	description = "{{{langname}}} terms one or more of whose definitions was borrowed from a term in another language.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["semi-learned borrowings"] = {
	description = "{{{langname}}} terms that are [[semi-learned borrowing|semi-learned]] [[loanword]]s, that is, words borrowed from a [[classical language]] into a modern language and partly reshaped based on later [[sound change]]s or by analogy with [[inherit]]ed words in the language.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"borrowed terms"},
}

labels["spelled-out initialisms"] = {
	description = "{{{langname}}} initialisms in which the letter names are spelled out.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["spelling pronunciations"] = {
	description = "{{{langname}}} terms whose pronunciation was historically or presently affected by their spelling.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["spoonerisms"] = {
	description = "{{{langname}}} terms in which the initial sounds of component parts have been exchanged, as in \"crook and nanny\" for \"nook and cranny\".",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["synonymous compounds"] = {
	description = "{{{langname}}} compounds in which one part is a synonym of the other.",
	fundamental = "Types of compound words by language",
	parents = {"dvandva compounds", sort = "synonym"},
}

labels["tatpurusa compounds"] = {
	description = "{{{langname}}} words composed of two or more stems",
	fundamental = "Types of compound words by language",
	parents = {"compound words"},
}

labels["terms attributed to a specific source"] = {
	description = "{{{langname}}} terms coined by an identifiable person or deriving from a known work.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms derived from area codes"] = {
	description = "{{{langname}}} terms derived from [[area code]]s.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms derived from the shape of letters"] = {
	description = "{{{langname}}} terms derived from the shape of letters. This can include terms derived from the shape of any letter in any alphabet.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms by PIE root"] = {
	description = "{{{langname}}} terms categorized by the [[w:Proto-Indo-European root|Proto-Indo-European root]] they originate from.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology", {template = "derived cat", name = "ine-pro"}},
}

labels["terms by PIE word"] = {
	description = "{{{langname}}} terms categorized by the [[w:Proto-Indo-European language|Proto-Indo-European]] word they originate from.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology", {template = "derived cat", name = "ine-pro"}},
}

labels["terms by root"] = {
	description = "{{{langname}}} terms categorized by the root they originate from.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms derived from DC Comics"] = {
	description = "{{{langname}}} terms that originate from [[w:DC Comics|DC Comics]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from Duckburg and Mouseton"] = {
	description = "{{{langname}}} terms that originate from [[w:The Walt Disney Company|Disney]]'s ''[[w:Duck universe|Duckburg]] and [[w:Mickey Mouse universe|Mouseton]]'' universe.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from fiction"] = {
	description = "{{{langname}}} terms that originate from works of [[fiction]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms attributed to a specific source"},
}

labels["terms derived from Harry Potter"] = {
	description = "{{{langname}}} terms that originate from the ''[[w:Harry Potter|Harry Potter]]'' series.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from Nineteen Eighty-Four"] = {
	description = "{{{langname}}} terms that originate from [[w:George Orwell|George Orwell]]'s ''[[w:Nineteen Eighty-Four|Nineteen Eighty-Four]]''.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from occupations"] = {
	description = "{{{langname}}} terms derived from names of occupations.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms derived from other languages"] = {
	description = "{{{langname}}} terms that originate from other languages.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms derived from Star Trek"] = {
	description = "{{{langname}}} terms that originate from ''[[w:Star Trek|Star Trek]]''.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from Star Wars"] = {
	description = "{{{langname}}} terms that originate from ''[[w:Star Wars|Star Wars]]''.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from the Bible"] = {
	description = "{{{langname}}} terms that originate from the [[Bible]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms attributed to a specific source"},
}

labels["terms derived from The Simpsons"] = {
	description = "{{{langname}}} terms that originate from ''[[w:The Simpsons|The Simpsons]]''.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from Tolkien's legendarium"] = {
	description = "{{{langname}}} terms that originate from the [[legendarium]] of [[w:J. R. R. Tolkien|J. R. R. Tolkien]].",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms derived from fiction"},
}

labels["terms derived from toponyms"] = {
	description = "{{{langname}}} terms derived from names of real or fictitious places.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms making reference to character shapes"] = {
	description = "{{{langname}}} terms making reference to character shapes.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms with lemma and non-lemma form etymologies"] = {
	description = "{{{langname}}} terms consisting of both a lemma and non-lemma form, of different origins.",
	fundamental = "Terms by etymology subcategories by language",
	breadcrumb = "lemma and non-lemma form",
	parents = {"terms with multiple etymologies"},
}

labels["terms with multiple etymologies"] = {
	description = "{{{langname}}} terms that are derived from multiple origins.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["terms with multiple lemma etymologies"] = {
	description = "{{{langname}}} lemmas that are derived from multiple origins.",
	fundamental = "Terms by etymology subcategories by language",
	breadcrumb = "multiple lemmas",
	parents = {"terms with multiple etymologies"},
}

labels["terms with multiple non-lemma form etymologies"] = {
	description = "{{{langname}}} non-lemma forms that are derived from multiple origins.",
	fundamental = "Terms by etymology subcategories by language",
	breadcrumb = "multiple non-lemma forms",
	parents = {"terms with multiple etymologies"},
}

table.insert(handlers, function(label)
	local pos = label:match("^terms with multiple (.+) etymologies$")
	if pos and pos ~= "lemma" and pos ~= "non-lemma form" then
		local plpos = require("Module:string utilities").pluralize(pos)
		local postype = require("Module:headword").pos_lemma_or_nonlemma(plpos, "guess")
		return {
			description = "{{{langname}}} " .. plpos .. " that are derived from multiple origins.",
			fundamental = "Multiple etymology subcategories by language",
			breadcrumb = "multiple " .. plpos,
			parents = {{
				name = "terms with multiple " .. postype .. " etymologies",
				sort = pos,
			}},
		}
	end
end)

table.insert(handlers, function(label)
	local pos1, pos2 = label:match("^terms with (.+) and (.+) etymologies$")
	if pos1 and pos1 ~= "lemma" and pos2 ~= "non-lemma form" then
		local m_strutil = require("Module:string utilities")
		local m_headword = require("Module:headword")
		local plpos1 = m_strutil.pluralize(pos1)
		local plpos2 = m_strutil.pluralize(pos2)
		local pos1type = m_headword.pos_lemma_or_nonlemma(plpos1, "guess")
		local pos2type = m_headword.pos_lemma_or_nonlemma(plpos2, "guess")
		local a_pos1 = m_strutil.add_indefinite_article(pos1)
		local a_pos2 = m_strutil.add_indefinite_article(pos2)
		
		return {
			description = "{{{langname}}} terms consisting of " .. a_pos1 .." of one origin and " ..
				a_pos2 .. " of a different origin.",
			fundamental = "Multiple etymology subcategories by language",
			breadcrumb = pos1 .. " and " .. pos2,
			parents = {{
				name = pos1type == pos2type and "terms with multiple " .. pos1type .. " etymologies" or
					"terms with lemma and non-lemma form etymologies",
				sort = pos1 .. " and " .. pos2,
			}},
		}
	end
end)

labels["terms with unknown etymologies"] = {
	description = "{{{langname}}} terms whose etymologies have not yet been established.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {{name = "terms by etymology", sort = "unknown etymology"}},
}

labels["transliterations"] = {
	description = "{{{langname}}} terms that are derived from another language by replacing the graphemes of the source language's script with the graphemes of the script used by {{{langname}}}.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"borrowed terms"},
}

labels["twice-borrowed terms"] = {
	description = "{{{langname}}} terms that were borrowed from another language that originally borrowed the term from {{{langname}}}.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology", "borrowed terms"},
}

labels["unadapted borrowings"] = {
	description = "{{{langname}}} [[loanword]]s that have not been conformed to the morpho-syntactic, phonological and/or phonotactical rules of the target language.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"borrowed terms"},
}

labels["univerbations"] = {
	description = "{{{langname}}} terms that result from the agglutination of two or more words.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {"terms by etymology"},
}

labels["verb-noun compounds"] = {
	description = "{{{langname}}} compounds in which the first element is a transitive verb, the second a noun functioning as its direct object, and whose referent is the person or thing doing the action.",
	fundamental = "Types of compound words by language",
	parents = {"compound nouns"},
}

labels["vyadhikarana compounds"] = {
	description = "{{{langname}}} words composed of two or more stems in which the non-main stem determines the case endings.",
	fundamental = "Types of compound words by language",
	parents = {"tatpurusa compounds"},
}

labels["words by circumfix"] = {
	description = "{{{langname}}} words categorized by their circumfixes.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {{name = "terms by etymology", sort = "circumfix"}, {template = "poscatboiler", name = "circumfixes"}},
}

labels["words derived through metathesis"] = {
	description = "{{{langname}}} words that were created through [[metathesis]] from another word.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {{name = "terms by etymology", sort = "metathesis"}},
}

labels["words by infix"] = {
	description = "{{{langname}}} words categorized by their infixes.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {{name = "terms by etymology", sort = "infix"}, {template = "poscatboiler", name = "infixes"}},
}

labels["words by interfix"] = {
	description = "{{{langname}}} words categorized by their interfixes.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {{name = "terms by etymology", sort = "interfix"}, {template = "poscatboiler", name = "interfixes"}},
}

labels["words by prefix"] = {
	description = "{{{langname}}} words categorized by their prefixes.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {{name = "terms by etymology", sort = "prefix"}, {template = "poscatboiler", name = "prefixes"}},
}

labels["words by suffix"] = {
	description = "{{{langname}}} words categorized by their suffixes.",
	fundamental = "Terms by etymology subcategories by language",
	parents = {{name = "terms by etymology", sort = "suffix"}, {template = "poscatboiler", name = "suffixes"}},
}

return {LABELS = labels, HANDLERS = handlers}