模組:Form of/lang-data/got


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

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


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

local tags = {}
local shortcuts = {}

local base_lemma_params = {
	{
		param = "comp-of",
		tags = {"comd"},
	},
	{
		param = "sup-of",
		tags = {"supd"},
	},
	{
		param = "prespart-of",
		tags = {"pres", "part"},
	},
	{
		param = "pastpart-of",
		tags = {"past", "part"},
	},
}

----------------------- 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}