Module:Category tree/poscatboiler/data/terms by lexical property: Difference between revisions
No edit summary |
m (Changed links to point to Wiktionary) |
||
(10 intermediate revisions by the same user not shown) | |||
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.", | ||
umbrella_parents = "Fundamental", | |||
parents = {{ | 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.", | ||
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.", | ||
parents = {"terms by lexical property"}, | |||
} | |||
labels["double negatives"] = { | |||
description = "{{{langname}}} terms which include a [[Wiktionary:double negative|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.", | ||
parents = {"terms by lexical property"}, | parents = {"terms by lexical property"}, | ||
} | } | ||
labels[" | labels["nuqtaless forms"] = { | ||
description = "{{{langname}}} | description = "{{{langname}}} terms that are spelled without a [[Wiktionary:nuqta|nuqta]].", | ||
parents = {"terms by orthographic property"}, | |||
} | } | ||
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, [[Wiktionary:diacritic|diacritic]]s and punctuation.", | ||
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.", | ||
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 [[Wiktionary:orthography|orthography]] or [[Wiktionary:spelling|spelling]].", | ||
parents = {"terms by lexical property"}, | parents = {"terms by lexical property"}, | ||
} | |||
labels["calculator words"] = { | |||
description = "{{{langname}}} terms that can be spelled on a [[Wiktionary:seven-segment|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.", | ||
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.", | ||
parents = {"terms by orthographic property"}, | parents = {"terms by orthographic property"}, | ||
} | |||
labels["terms containing italics"] = { | |||
description = "{{{langname}}} terms containing [[Wiktionary:italics|italics]].", | |||
parents = {"terms by orthographic property"}, | |||
} | |||
labels["terms containing Roman numerals"] = { | |||
description = "{{{langname}}} terms containing [[Wiktionary:Roman numeral|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]] | description = "{{{langname}}} terms that have one or more [[Wiktionary:homophones|homophones]]: other terms that are pronounced in the same way but spelled differently.", | ||
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.", | ||
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.", | ||
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.", | ||
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.", | ||
parents = {name = "character counts", sort = "3"}, | |||
} | } | ||
labels[" | labels["four-letter abbreviations"] = { | ||
description = "{{{langname}}} | description = "{{{langname}}} abbreviations composed of exactly four letters.", | ||
parents = {name = "character counts", sort = "4"}, | |||
} | } | ||
labels[" | labels["five-letter abbreviations"] = { | ||
description = "{{{langname}}} abbreviations composed of exactly | description = "{{{langname}}} abbreviations composed of exactly five letters.", | ||
parents = {name = "character counts", sort = "5"}, | |||
} | } | ||
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 [[Wiktionary:pronunciation|pronunciation]] and [[Wiktionary:phonemics|phonemics]].", | ||
parents = {"terms by lexical property"}, | parents = {"terms by lexical property"}, | ||
} | } | ||
labels["terms with | labels["terms with hiatus"] = { | ||
description = "{{{langname}}} terms that contain two consecutive vowels which form separate syllables.", | description = "{{{langname}}} terms that contain two consecutive vowels which form separate syllables.", | ||
fundamental = "Terms by lexical property subcategories by language", | fundamental = "Terms by lexical property subcategories by language", | ||
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 13:35, 25 August 2024
Documentation for this module may be created at Module:Category tree/poscatboiler/data/terms by lexical property/documentation
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 [[Wiktionary:double negative|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 [[Wiktionary:nuqta|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, [[Wiktionary:diacritic|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 [[Wiktionary:orthography|orthography]] or [[Wiktionary:spelling|spelling]].",
parents = {"terms by lexical property"},
}
labels["calculator words"] = {
description = "{{{langname}}} terms that can be spelled on a [[Wiktionary:seven-segment|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 [[Wiktionary:italics|italics]].",
parents = {"terms by orthographic property"},
}
labels["terms containing Roman numerals"] = {
description = "{{{langname}}} terms containing [[Wiktionary:Roman numeral|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 [[Wiktionary:homophones|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 [[Wiktionary:pronunciation|pronunciation]] and [[Wiktionary:phonemics|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}