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

มอดูล:form of/lang-data/got

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

This module contains language-specific form-of data (tags, shortcuts, base lemma params. etc.) for กอท.

NOTE: If you add a new language-specific module, you must add the language code to the list at the top of Module:form of in order for the module to be recognized.


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