Module:Category tree/poscatboiler/data/terms by lexical property: Difference between revisions

From The Languages of David J. Peterson
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
local labels = {}
local labels = {}
local raw_categories = {}
-----------------------------------------------------------------------------
--                                                                        --
--                                  LABELS                                --
--                                                                        --
-----------------------------------------------------------------------------


labels["terms by lexical property"] = {
labels["terms by lexical property"] = {
description = "{{{langname}}} terms categorized by properties relating to spelling, pronunciation or meaning.",
description = "{{{langname}}} terms categorized by properties relating to spelling, pronunciation or meaning.",
fundamental = "Fundamental",
umbrella_parents = "Fundamental",
parents = {{template = "langcatboiler"}},
parents = {{name = "{{{langcat}}}", raw = true}},
}
 
labels["autohyponyms"] = {
description = "{{{langname}}} terms that have at least two meanings, one of which is a hyponym of the other.",
parents = {"terms by lexical property"},
}
}


labels["character counts"] = {
labels["character counts"] = {
description = "{{{langname}}} terms categorized by their quantities of characters.",
description = "{{{langname}}} terms categorized by their quantities of characters.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by orthographic property"},
parents = {"terms by orthographic property"},
}
}
Line 15: Line 29:
labels["contranyms"] = {
labels["contranyms"] = {
description = "{{{langname}}} terms that have two opposite meanings.",
description = "{{{langname}}} terms that have two opposite meanings.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by lexical property"},
}
 
labels["double negatives"] = {
description = "{{{langname}}} terms which include a [[double negative]], either etymologically or in a definition.",
parents = {"terms by lexical property"},
parents = {"terms by lexical property"},
}
}
Line 21: Line 39:
labels["heteronyms"] = {
labels["heteronyms"] = {
description = "{{{langname}}} terms that have different meanings depending on their etymology and/or on how they are pronounced.",
description = "{{{langname}}} terms that have different meanings depending on their etymology and/or on how they are pronounced.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by lexical property"},
parents = {"terms by lexical property"},
}
}


labels["one-letter words"] = {
labels["nuqtaless forms"] = {
description = "{{{langname}}} individual words consisting of exactly one letter. They have meaning(s) other than their letter which are neither names nor abbreviations.",
description = "{{{langname}}} terms that are spelled without a [[nuqta]].",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by orthographic property"},
parents = {"character counts"},
}
}


labels["palindromes"] = {
labels["palindromes"] = {
description = "{{{langname}}} terms whose characters are read equally both from left to right and vice versa, normally ignoring spaces, [[diacritic]]s and punctuation.",
description = "{{{langname}}} terms whose characters are read equally both from left to right and vice versa, normally ignoring spaces, [[diacritic]]s and punctuation.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by their sequences of characters"},
parents = {"terms by their sequences of characters"},
}
labels["pleonastic compounds"] = {
description = "{{{langname}}} compound terms where the head is a hyponym of its other part and whose other part is its synonym.",
parents = {"terms by lexical property"},
}
labels["pleonastic compound adjectives"] = {
description = "{{{langname}}} compound adjectives where the head is a hyponym of its other part and whose other part is its synonym.",
parents = {"pleonastic compounds"},
}
labels["pleonastic compound nouns"] = {
description = "{{{langname}}} compound nouns where the head is a hyponym of its other part and where the head is the synonym for the whole.",
parents = {"pleonastic compounds"},
}
}


labels["pronunciation spellings"] = {
labels["pronunciation spellings"] = {
description = "{{{langname}}} terms spelled to represent a pronunciation, often a nonstandard one.",
description = "{{{langname}}} terms spelled to represent a pronunciation, often a nonstandard one.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by orthographic property"},
parents = {"terms by orthographic property"},
}
labels["tautophrases"] = {
description = "{{{langname}}} phrases that repeat the same idea or concept using the same words.",
parents = {"terms by lexical property"},
}
}


labels["terms by orthographic property"] = {
labels["terms by orthographic property"] = {
description = "{{{langname}}} terms categorized by properties relating to [[orthography]] or [[spelling]].",
description = "{{{langname}}} terms categorized by properties relating to [[orthography]] or [[spelling]].",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by lexical property"},
parents = {"terms by lexical property"},
}
labels["calculator words"] = {
description = "{{{langname}}} terms that can be spelled on a [[seven-segment]] display, as found on pocket calculators, by turning numbers upside-down.",
parents = {"terms by orthographic property"},
}
}


labels["terms by their individual characters"] = {
labels["terms by their individual characters"] = {
description = "{{{langname}}} terms categorized by whether they include certain individual characters.",
description = "{{{langname}}} terms categorized by whether they include certain individual characters.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by orthographic property"},
parents = {"terms by orthographic property"},
}
}
Line 57: Line 94:
labels["terms by their sequences of characters"] = {
labels["terms by their sequences of characters"] = {
description = "{{{langname}}} terms categorized by whether they include certain sequences of characters.",
description = "{{{langname}}} terms categorized by whether they include certain sequences of characters.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by orthographic property"},
parents = {"terms by orthographic property"},
}
labels["terms containing italics"] = {
description = "{{{langname}}} terms containing [[italics]].",
parents = {"terms by orthographic property"},
}
labels["terms containing Roman numerals"] = {
description = "{{{langname}}} terms containing [[Roman numeral]]s.",
parents = {"terms by orthographic property"},
}
labels["terms with mixed convergence"] = {
description = "{{{langname}}} terms where the spelling represents a variant pronunciation that differs from (one of) the current standard pronunciation(s).",
parents = {"terms by orthographic property", "terms by phonemic property"},
}
}


labels["terms with homophones"] = {
labels["terms with homophones"] = {
description = "{{{langname}}} terms that have one or more [[homophones]]; other terms that are pronounced equally but spelled differently.",
description = "{{{langname}}} terms that have one or more [[homophones]]: other terms that are pronounced in the same way but spelled differently.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by lexical property"},
parents = {"terms by lexical property"},
}
labels["terms where the adjective follows the noun"] = {
description = "{{{langname}}} terms where the adjective follows the noun. These adjectives within these terms are sometimes referred to as postpositive or postnominal adjectives.",
parents = {"terms by orthographic property"},
}
labels["words containing three consecutive instances of the same letter"] = {
description = "{{{langname}}} terms with three consecutive instances of the same letter",
parents = {"terms by their sequences of characters"},
}
labels["words containing four consecutive instances of the same letter"] = {
description = "{{{langname}}} terms with four consecutive instances of the same letter",
parents = {"terms by their sequences of characters"},
}
labels["words containing five consecutive instances of the same letter"] = {
description = "{{{langname}}} terms with five consecutive instances of the same letter",
parents = {"terms by their sequences of characters"},
}
}


labels["terms written in foreign scripts"] = {
labels["terms written in foreign scripts"] = {
description = "{{{langname}}} terms that are written in a different, non-native script.",
description = "{{{langname}}} terms that are written in a different, non-native script.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by orthographic property"},
parents = {"terms by orthographic property"},
}
}
Line 75: Line 144:
labels["terms written in multiple scripts"] = {
labels["terms written in multiple scripts"] = {
description = "{{{langname}}} terms that are written using more than one script.",
description = "{{{langname}}} terms that are written using more than one script.",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by orthographic property"},
parents = {"terms by orthographic property"},
}
labels["one-letter words"] = {
description = "{{{langname}}} individual words consisting of exactly one letter. They have meaning(s) other than their letter or the shape of their letter which are not abbreviations, names, numbers or symbols.",
parents = {name = "character counts", sort = "1"},
}
labels["two-letter words"] = {
description = "{{{langname}}} individual words composed of exactly two letters. They have meaning(s) beyond their component letters that are neither names nor abbreviations.",
parents = {name = "character counts", sort = "2"},
}
}


labels["three-letter words"] = {
labels["three-letter words"] = {
description = "{{{langname}}} individual words composed of exactly three letters. They have meaning(s) beyond their component letters that are neither names nor abbreviations.",
description = "{{{langname}}} individual words composed of exactly three letters. They have meaning(s) beyond their component letters that are neither names nor abbreviations.",
fundamental = "Terms by lexical property subcategories by language",
parents = {name = "character counts", sort = "3"},
parents = {"character counts"},
}
 
labels["two-letter abbreviations"] = {
description = "{{{langname}}} abbreviations composed of exactly two letters.",
parents = {name = "character counts", sort = "2"},
}
}


labels["three-letter abbreviations"] = {
labels["three-letter abbreviations"] = {
description = "{{{langname}}} abbreviations composed of exactly three letters.",
description = "{{{langname}}} abbreviations composed of exactly three letters.",
fundamental = "Terms by lexical property subcategories by language",
parents = {name = "character counts", sort = "3"},
parents = {"character counts"},
}
}


labels["two-letter words"] = {
labels["four-letter abbreviations"] = {
description = "{{{langname}}} individual words composed of exactly two letters. They have meaning(s) beyond their component letters that are neither names nor abbreviations.",
description = "{{{langname}}} abbreviations composed of exactly four letters.",
fundamental = "Terms by lexical property subcategories by language",
parents = {name = "character counts", sort = "4"},
parents = {"character counts"},
}
}


labels["two-letter abbreviations"] = {
labels["five-letter abbreviations"] = {
description = "{{{langname}}} abbreviations composed of exactly two letters.",
description = "{{{langname}}} abbreviations composed of exactly five letters.",
fundamental = "Terms by lexical property subcategories by language",
parents = {name = "character counts", sort = "5"},
parents = {"character counts"},
}
}


labels["terms by phonemic property"] = {
labels["terms by phonemic property"] = {
description = "{{{langname}}} terms categorized by properties relating to [[pronunciation]] and [[phonemics]].",
description = "{{{langname}}} terms categorized by properties relating to [[pronunciation]] and [[phonemics]].",
fundamental = "Terms by lexical property subcategories by language",
parents = {"terms by lexical property"},
parents = {"terms by lexical property"},
}
}
Line 114: Line 192:
parents = {"terms by phonemic property"},
parents = {"terms by phonemic property"},
}
}
-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
if not data.umbrella_parents then
data.umbrella_parents = "Terms by lexical property subcategories by language"
end
end
-----------------------------------------------------------------------------
--                                                                        --
--                              RAW CATEGORIES                            --
--                                                                        --
-----------------------------------------------------------------------------
raw_categories["Terms by lexical property subcategories by language"] = {
description = "Umbrella categories covering topics related to terms categorized by their lexical properties, such as palindromes and number of letters or syllables in a word.",
additional = "{{{umbrella_meta_msg}}}",
parents = {
"Umbrella metacategories",
{name = "terms by lexical property", is_label = true, sort = " "},
},
}


return labels
return {LABELS = labels, RAW_CATEGORIES = raw_categories}

Latest revision as of 01:15, 16 December 2023

local labels = {}
local raw_categories = {}



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


labels["terms by lexical property"] = {
	description = "{{{langname}}} terms categorized by properties relating to spelling, pronunciation or meaning.",
	umbrella_parents = "Fundamental",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["autohyponyms"] = {
	description = "{{{langname}}} terms that have at least two meanings, one of which is a hyponym of the other.",
	parents = {"terms by lexical property"},
}

labels["character counts"] = {
	description = "{{{langname}}} terms categorized by their quantities of characters.",
	parents = {"terms by orthographic property"},
}

labels["contranyms"] = {
	description = "{{{langname}}} terms that have two opposite meanings.",
	parents = {"terms by lexical property"},
}

labels["double negatives"] = {
	description = "{{{langname}}} terms which include a [[double negative]], either etymologically or in a definition.",
	parents = {"terms by lexical property"},
}

labels["heteronyms"] = {
	description = "{{{langname}}} terms that have different meanings depending on their etymology and/or on how they are pronounced.",
	parents = {"terms by lexical property"},
}

labels["nuqtaless forms"] = {
	description = "{{{langname}}} terms that are spelled without a [[nuqta]].",
	parents = {"terms by orthographic property"},
}

labels["palindromes"] = {
	description = "{{{langname}}} terms whose characters are read equally both from left to right and vice versa, normally ignoring spaces, [[diacritic]]s and punctuation.",
	parents = {"terms by their sequences of characters"},
}

labels["pleonastic compounds"] = {
	description = "{{{langname}}} compound terms where the head is a hyponym of its other part and whose other part is its synonym.",
	parents = {"terms by lexical property"},
}

labels["pleonastic compound adjectives"] = {
	description = "{{{langname}}} compound adjectives where the head is a hyponym of its other part and whose other part is its synonym.",
	parents = {"pleonastic compounds"},
}

labels["pleonastic compound nouns"] = {
	description = "{{{langname}}} compound nouns where the head is a hyponym of its other part and where the head is the synonym for the whole.",
	parents = {"pleonastic compounds"},
}

labels["pronunciation spellings"] = {
	description = "{{{langname}}} terms spelled to represent a pronunciation, often a nonstandard one.",
	parents = {"terms by orthographic property"},
}

labels["tautophrases"] = {
	description = "{{{langname}}} phrases that repeat the same idea or concept using the same words.",
	parents = {"terms by lexical property"},
}

labels["terms by orthographic property"] = {
	description = "{{{langname}}} terms categorized by properties relating to [[orthography]] or [[spelling]].",
	parents = {"terms by lexical property"},
}

labels["calculator words"] = {
	description = "{{{langname}}} terms that can be spelled on a [[seven-segment]] display, as found on pocket calculators, by turning numbers upside-down.",
	parents = {"terms by orthographic property"},
}

labels["terms by their individual characters"] = {
	description = "{{{langname}}} terms categorized by whether they include certain individual characters.",
	parents = {"terms by orthographic property"},
}

labels["terms by their sequences of characters"] = {
	description = "{{{langname}}} terms categorized by whether they include certain sequences of characters.",
	parents = {"terms by orthographic property"},
}

labels["terms containing italics"] = {
	description = "{{{langname}}} terms containing [[italics]].",
	parents = {"terms by orthographic property"},
}

labels["terms containing Roman numerals"] = {
	description = "{{{langname}}} terms containing [[Roman numeral]]s.",
	parents = {"terms by orthographic property"},
}

labels["terms with mixed convergence"] = {
	description = "{{{langname}}} terms where the spelling represents a variant pronunciation that differs from (one of) the current standard pronunciation(s).",
	parents = {"terms by orthographic property", "terms by phonemic property"},
}

labels["terms with homophones"] = {
	description = "{{{langname}}} terms that have one or more [[homophones]]: other terms that are pronounced in the same way but spelled differently.",
	parents = {"terms by lexical property"},
}

labels["terms where the adjective follows the noun"] = {
	description = "{{{langname}}} terms where the adjective follows the noun. These adjectives within these terms are sometimes referred to as postpositive or postnominal adjectives.",
	parents = {"terms by orthographic property"},
}

labels["words containing three consecutive instances of the same letter"] = {
	description = "{{{langname}}} terms with three consecutive instances of the same letter",
	parents = {"terms by their sequences of characters"},
}

labels["words containing four consecutive instances of the same letter"] = {
	description = "{{{langname}}} terms with four consecutive instances of the same letter",
	parents = {"terms by their sequences of characters"},
}

labels["words containing five consecutive instances of the same letter"] = {
	description = "{{{langname}}} terms with five consecutive instances of the same letter",
	parents = {"terms by their sequences of characters"},
}

labels["terms written in foreign scripts"] = {
	description = "{{{langname}}} terms that are written in a different, non-native script.",
	parents = {"terms by orthographic property"},
}

labels["terms written in multiple scripts"] = {
	description = "{{{langname}}} terms that are written using more than one script.",
	parents = {"terms by orthographic property"},
}

labels["one-letter words"] = {
	description = "{{{langname}}} individual words consisting of exactly one letter. They have meaning(s) other than their letter or the shape of their letter which are not abbreviations, names, numbers or symbols.",
	parents = {name = "character counts", sort = "1"},
}

labels["two-letter words"] = {
	description = "{{{langname}}} individual words composed of exactly two letters. They have meaning(s) beyond their component letters that are neither names nor abbreviations.",
	parents = {name = "character counts", sort = "2"},
}

labels["three-letter words"] = {
	description = "{{{langname}}} individual words composed of exactly three letters. They have meaning(s) beyond their component letters that are neither names nor abbreviations.",
	parents = {name = "character counts", sort = "3"},
}

labels["two-letter abbreviations"] = {
	description = "{{{langname}}} abbreviations composed of exactly two letters.",
	parents = {name = "character counts", sort = "2"},
}

labels["three-letter abbreviations"] = {
	description = "{{{langname}}} abbreviations composed of exactly three letters.",
	parents = {name = "character counts", sort = "3"},
}

labels["four-letter abbreviations"] = {
	description = "{{{langname}}} abbreviations composed of exactly four letters.",
	parents = {name = "character counts", sort = "4"},
}

labels["five-letter abbreviations"] = {
	description = "{{{langname}}} abbreviations composed of exactly five letters.",
	parents = {name = "character counts", sort = "5"},
}

labels["terms by phonemic property"] = {
	description = "{{{langname}}} terms categorized by properties relating to [[pronunciation]] and [[phonemics]].",
	parents = {"terms by lexical property"},
}

labels["terms with hiatus"] = {
	description = "{{{langname}}} terms that contain two consecutive vowels which form separate syllables.",
	fundamental = "Terms by lexical property subcategories by language",
	parents = {"terms by phonemic property"},
}
 


-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
	if not data.umbrella_parents then
		data.umbrella_parents = "Terms by lexical property subcategories by language"
	end
end


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


raw_categories["Terms by lexical property subcategories by language"] = {
	description = "Umbrella categories covering topics related to terms categorized by their lexical properties, such as palindromes and number of letters or syllables in a word.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Umbrella metacategories",
		{name = "terms by lexical property", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}