模組:Category tree/poscatboiler/data/terms by lexical property/sandbox


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

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


local labels = {}
local raw_categories = {}



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


labels["依詞彙屬性分類的"] = {
	description = "{{{langname}}} terms categorized by properties relating to spelling, pronunciation or meaning.",
	umbrella_parents = "分类",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["character counts"] = {
	description = "{{{langname}}} terms categorized by their quantities of characters.",
	parents = {"依正字法屬性分類的"},
}

labels["contranyms"] = {
	description = "{{{langname}}} terms that have two opposite meanings.",
	parents = {"依詞彙屬性分類的"},
}

labels["heteronyms"] = {
	description = "{{{langname}}} terms that have different meanings depending on how they are pronounced.",
	parents = {"依詞彙屬性分類的"},
}

labels["one-letter words"] = {
	description = "{{{langname}}} individual words consisting of exactly one letter. They have meaning(s) other than their letter which are neither names nor abbreviations.",
	parents = {"character counts"},
}

labels["迴文"] = {
	description = "{{{langname}}}中由前往後讀和由前往後讀皆一致的詞彙、短語或句子(通常忽略變音符號、標點符號)。",
	parents = {"依字序分類的"},
}

labels["依正字法屬性分類的"] = {
	description = "{{{langname}}} terms categorized by properties relating to [[orthography]] or [[spelling]].",
	parents = {"依詞彙屬性分類的"},
}

labels["按漢字分類的"] = {
	description = "{{{langname}}}詞彙按照所含有的漢字進行分類。",
	parents = {"依正字法屬性分類的"},
}

labels["依字序分類的"] = {
	description = "{{{langname}}} terms categorized by whether they include certain sequences of characters.",
	parents = {"依正字法屬性分類的"},
}

labels["有同音詞的"] = {
	description = "{{{langname}}} terms that have one or more [[homophones]]; other terms that are pronounced equally but spelled differently.",
	parents = {"依詞彙屬性分類的"},
}

labels["terms written in foreign scripts"] = {
	description = "{{{langname}}} terms that are written in a different, non-native script.",
	parents = {"依正字法屬性分類的"},
}

labels["terms written in multiple scripts"] = {
	description = "{{{langname}}} terms that are written using more than one script.",
	parents = {"依正字法屬性分類的"},
}

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 = {"character counts"},
}

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

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 = {"character counts"},
}

labels["依音位屬性分類的"] = {
	description = "{{{langname}}} terms categorized by properties relating to [[pronunciation]] and [[phonemics]].",
	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 = "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 = "依詞彙屬性分類的", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}