Nothing Special   »   [go: up one dir, main page]

ข้ามไปเนื้อหา

มอดูล:links/data

จาก วิกิพจนานุกรม พจนานุกรมเสรี

local u = require("Module:string utilities").char

local data = {}

data.phonetic_extraction = {
	--["th"] = "Module:th", not use
	--["km"] = "Module:km", not use
}

data.ignored_prefixes = {
	["cat"] = true,
	["category"] = true,
	["หมวดหมู่"] = true,
	["file"] = true,
	["image"] = true,
	["ไฟล์"] = true,
}

data.pos_tags = {
	["a"] = "คำคุณศัพท์",
	["adv"] = "คำกริยาวิเศษณ์",
	["int"] = "คำอุทาน",
	["n"] = "คำนาม",
	["pron"] = "คำสรรพนาม",
	["v"] = "คำกริยา",
	["vi"] = "คำอกรรมกริยา",
	["vt"] = "คำสกรรมกริยา",
	["vti"] = "คำสกรรมกริยาและคำอกรรมกริยา",
}

-- Scheme for using unsupported characters in titles.
-- ไม่ต้องแปลข้างใน `...`
data.unsupported_characters = {
	["#"] = "`num`",
	["%"] = "`percnt`", -- only escaped in percent encoding
	["&"] = "`amp`", -- only escaped in HTML entities
	["."] = "`period`", -- only escaped in dot-slash notation
	["<"] = "`lt`",
	[">"] = "`gt`",
	["["] = "`lsqb`",
	["]"] = "`rsqb`",
	["_"] = "`lowbar`",
	["`"] = "`grave`", -- used to enclose unsupported characters in the scheme, so a raw use in an unsupported title must be escaped to prevent interference
	["{"] = "`lcub`",
	["|"] = "`vert`",
	["}"] = "`rcub`",
	["~"] = "`tilde`", -- only escaped when 3 or more are consecutive
	["\239\191\189"] = "`repl`" -- replacement character U+FFFD, which can't be typed directly here due to an abuse filter
}

-- Manually specified unsupported titles. Only put titles here if there is a different reason why they are unsupported, and not just because they contain one of the unsupported characters above.
data.unsupported_titles = {
	[" "] = "เว้นวรรค",
	["&amp;"] = "`amp`amp;",
	["λοπαδοτεμαχοσελαχογαλεοκρανιολειψανοδριμυποτριμματοσιλφιοκαραβομελιτοκατακεχυμενοκιχλεπικοσσυφοφαττοπεριστεραλεκτρυονοπτοκεφαλλιοκιγκλοπελειολαγῳοσιραιοβαφητραγανοπτερύγων"] = "Ancient Greek dish",
	["กรุงเทพมหานคร อมรรัตนโกสินทร์ มหินทรายุธยา มหาดิลกภพ นพรัตนราชธานีบูรีรมย์ อุดมราชนิเวศน์มหาสถาน อมรพิมานอวตารสถิต สักกะทัตติยวิษณุกรรมประสิทธิ์"] = "Thai name of Bangkok",
	[u(0x1680)] = "Ogham space",
	[u(0x3000)] = "Ideographic space"
}

return data