มอดูล:category tree/poscatboiler/data/การย่อ

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["shortenings"] = labels["การย่อ"]

labels["คำย่อ"] = {
	description = "กลุ่มคำหรือคำ{{{langcat}}} ที่ถูกย่อ",
	parents = {"การย่อ"},
}
labels["abbreviations"] = labels["คำย่อ"]

labels["อักษรอ่านย่อ"] = {
	description = "กลุ่มคำ{{{langcat}}} ที่แสดงด้วยส่วนที่ขึ้นต้นและออกเสียงรวมกัน",
	parents = {"การย่อ"},
}
labels["acronyms"] = labels["อักษรอ่านย่อ"]

labels["aphetic forms"] = {
	description = "{{{langname}}} words that underwent [[aphesis]], meaning their origin involved a loss or omission of a sound or syllable from their beginning.",
	parents = {"คำตัดทอน", "ศัพท์แบ่งตามรากศัพท์"},
}

labels["apocopic forms"] = {
	description = "{{{langname}}} words that underwent [[apocope]], thus their origin involved a loss or omission of a sound or syllable(s) from their end.",
	parents = {"คำตัดทอน", "ศัพท์แบ่งตามรากศัพท์"},
}

labels["คำตัดทอน"] = {
	description = "{{{langname}}} words that were formed from another word by removing part of it, but without changing the part of speech.",
	parents = {"การย่อ"},
}
labels["clippings"] = labels["คำตัดทอน"]

labels["contractions"] = {
	description = "{{{langname}}} shortened words or phrases, deriving from multiple words.",
	parents = {"การย่อ"},
}

labels["ellipses"] = {
	description = "{{{langname}}} terms that are shortened versions of longer expressions.",
	parents = {"การย่อ", "ศัพท์แบ่งตามรากศัพท์"},
}

labels["อักษรย่อ"] = {
	description = "กลุ่มคำ{{{langcat}}} ที่แสดงด้วยส่วนที่ขึ้นต้นและออกเสียงแยกกัน",
	parents = {"การย่อ"},
}
labels["initialisms"] = labels["อักษรย่อ"]

labels["nomina sacra"] = {
	description = "{{{langname}}} [[nomen sacrum|nomina sacra]].",
	parents = {"คำย่อ"},
}

labels["pseudo-acronyms"] = {
	description = "{{{langname}}} groups of words that used to represent an acronym but no longer do (see [[w:Pseudo-acronym]]).",
	parents = {"การย่อ"},
}

labels["scribal abbreviations"] = {
	description = "{{{langname}}} abbreviations used by scribes.",
	parents = {"การย่อ"},
}

labels["sigla"] = {
	description = "{{{langname}}} letters or symbols standing for words, word parts or common sequences of letters.",
	parents = {"การย่อ", "สัญลักษณ์"},
}

labels["syncopic forms"] = {
	description = "{{{langname}}} words that underwent [[syncope]], thus their origin involved a loss or omission of a sound or syllable from their interior.",
	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 = {
		"หมวดหมู่ใหญ่รวมหัวข้อ",
		{name = "การย่อ", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}