模組:Category tree/poscatboiler/data/shortenings/sandbox


此數據子模塊定義了維基詞典分類結構的一部分。

關於poscatboiler系統的介紹以及如何添加或更改分類,請參見Module:category tree/poscatboiler/data/documentation


local labels = {}
local raw_categories = {}



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


labels["縮略詞"] = {
	description = "{{{langname}}} terms that are shortened forms of other words or word combinations.",
	umbrella_parents = "詞源子分類",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["縮寫"] = {	--abbreviations
	description = "{{{langname}}} abbreviated words or groups of words.",
	parents = {"縮略詞"},
}

labels["首字母縮略詞"] = {	--acronyms
	description = "{{{langname}}} groups of words represented by parts pronounced together as single words.",
	parents = {"縮略詞"},
}

labels["截斷形式"] = {	--clippings
	description = "{{{langname}}} words that were formed from another word by removing part of it, but without changing the part of speech.",
	parents = {"縮略詞"},
}

labels["縮約形"] = {	--contractions
	description = "{{{langname}}} shortened words or phrases.",
	parents = {"縮略詞"},
}

labels["initialisms"] = {
	description = "{{{langname}}} groups of words represented by their beginning parts pronounced separately.",
	parents = {"縮略詞"},
}


-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
	if not data.umbrella_parents then
		data.umbrella_parents = "縮略詞子分類"
	end
end


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


raw_categories["縮略詞子分類"] = {
	description = "Umbrella categories covering topics related to shortenings.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Umbrella metacategories",
		{name = "縮略詞", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}