Modul:category tree/poscatboiler/data/lemmas

Wikiqısebend ra

Seba na module şıma şenê yû pela dokumani vırazê Modul:category tree/poscatboiler/data/lemmas/dok

local labels = {}
local raw_categories = {}



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


labels["sername"] = {
	description = "{{{langname}}} [[Wiktionary:Lemmas|lemmas]], categorized by their part of speech.",
	parents = {{name = "{{{langcat}}}", raw = true, sort = "  "}},
}
labels["gramer"] = {
	description = "{{{langname}}} [[Wiktionary:Lemmas|lemmas]], categorized by their part of speech.",
	parents = {{name = "{{{langcat}}}", raw = true, sort = "  "}},
}

labels["name"] = {
	description = "{{{langname}}} terms that indicate people, beings, things, places, phenomena, qualities or ideas.",
	parents = {"gramer"},
}


-- Add "POS-forming suffixes".
local poses_derived_by_suffix = {
	"adjective", "adverb", "noun", "verb",
}

for _, pos in pairs(poses_derived_by_suffix) do
	labels[pos .. "-forming suffixes"] = {
		description = "{{{langname}}} suffixes that are used to derive " .. pos .. "s from other words.",
		parents = {"derivational suffixes"},
	}
end


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 = "Lemmas subcategories by language"
	end
	labels2["reconstructed " .. key] = {
		description = "{{{langname}}} " .. key .. "  that have been linguistically [[Wiktionary:Reconstructed terms|reconstructed]].",
		umbrella_parents = "Lemmas subcategories by language",
		parents = {key, {name = "reconstructed terms", sort = key}}
	}
end



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


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


return {LABELS = labels2, RAW_CATEGORIES = raw_categories}