跳转到内容

模組:Form of/lang-data/pi

維基詞典,自由的多語言詞典

此模块包含巴利語的之形式資料(標籤、捷徑、基本詞元參數等)。

注意:如果您新增了特定語言的之形式模块,請將語言代碼新增至 Module:form of 頂部的清單中,使程式碼能識別該模块。


--[=[
This module contains lang-specific tags for Pali.
]=]

local tags = {}
local shortcuts = {}

local base_lemma_params = {
	{
		param = "caus-of",
		tags = {"caus"},
	},
}

----------------------- Create the shortcuts list -----------------------

for name, data in pairs(tags) do
	if data.shortcuts then
		for _, shortcut in ipairs(data.shortcuts) do
			shortcuts[shortcut] = name
		end
	end
end

return {tags = tags, shortcuts = shortcuts, base_lemma_params = base_lemma_params}