Module:category tree/poscatboiler/data/symbols

local labels = {} local raw_categories = {}

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

labels["symbols"] = { description = " written signs.", umbrella_parents = "Fundamental", parents = , }

labels["diacritical marks"] = { description = " glyphs that are added to characters to modify their sounds or meanings.", parents = {"symbols"}, }

labels["Han characters"] = { description = " symbols of the Han logographic script, which can represent sounds or convey meanings directly.", topright = "", parents = {"logograms"}, }

labels["ideograms"] = { description = " symbols that represent objects, ideas or concepts directly.", umbrella_parents = "Fundamental", parents = {"symbols"}, }

labels["iteration marks"] = { description = " glyphs that act as a shorthand for repeated text.", parents = {"abbreviations", "symbols"}, }

labels["letters"] = { description = " symbols that represent single sounds. Variations of letters, such as letters with diacritics, should also be categorized here.", parents = {"symbols"}, }

labels["ligatures"] = { description = " letters that have been combined into a single graphical unit.", parents = {"symbols"}, }

labels["logograms"] = { description = " symbols that represent single words or morphemes.", parents = {"symbols"}, }

labels["matched pairs"] = { description = " pairs of separate characters that are used together. Example: .", parents = {"symbols"}, }

labels["numeral symbols"] = { description = " symbols that represent numerals.", parents = {"symbols"}, }

labels["punctuation marks"] = { description = " symbols that indicate structure and organization of writing.", parents = {"symbols"}, }

labels["syllables"] = { description = " symbols that represent groups of sounds. Variations of syllables, such as syllables with diacritics, should also be categorized here.", parents = {"symbols"}, }

labels["multigraphs"] = { description = " symbols consisting of multiple letters.", parents = {"symbols"}, }

local function multigraph(name, n)	labels[name] = { description = " symbols consisting of " .. n .. " letters.", parents = {"multigraphs"}, } end

multigraph("digraphs", "two") multigraph("trigraphs", "three") multigraph("tetragraphs", "four") multigraph("pentagraphs", "five") multigraph("hexagraphs", "six") multigraph("heptagraphs", "seven") multigraph("octagraphs", "eight")

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

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

raw_categories["Symbols subcategories by language"] = { description = "Umbrella categories covering topics related to symbols.", additional = "", parents = { "Umbrella metacategories", {name = "symbols", is_label = true, sort = " "}, }, }

return {LABELS = labels, RAW_CATEGORIES = raw_categories}