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

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


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

local tags = {}
local shortcuts = {}

shortcuts["infl"] = {"m//f", "s", "attr", ";", "def", "n", "s", "attr", ";", "p", "attr"}

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


----------------------- Person -----------------------

tags["second-person (u)"] = {
	tag_type = "person",
	display = "[[Appendix:Glossary#second person|second-person]] ([[u#Dutch|u]])",
	shortcuts = {"2-u"},
}

tags["second-person (gij)"] = {
	tag_type = "person",
	display = "[[Appendix:Glossary#second person|second-person]] ([[gij#Dutch|gij]])",
	shortcuts = {"2-gij"},
}

----------------------- Attitude -----------------------

tags["指小詞"] = {
	tag_type = "attitude",
	glossary = "Appendix:荷蘭語指小詞",
	glossary_type = "wikt",
	shortcuts = {"dim", "diminutive"},
	wikidata = "Q108709",
}

----------------------- Misc grammar -----------------------

tags["dependent"] = {
	tag_type = "grammar",
	display = "[[Appendix:荷蘭語詞性#可分離動詞|從屬子句]]",
	shortcuts = {"dep"},
}

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