Jump to content

Module:form of/lang-data/nl

From Wiktionary, the free dictionary

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

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 Dutch.
]=]

local m_form_of_data = require("Module:form of/data")

local APPENDIX = m_form_of_data.APPENDIX
local WP = m_form_of_data.WP
local WIKT = m_form_of_data.WIKT

local tags = {}
local shortcuts = {}

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

-- verb form shortcuts
shortcuts["2-inv"] = {"inv", "2", "s", "pres", "ind"}
shortcuts["bare-verb"] = {"1", "s", "pres", "ind", ";", "2-inv", ";", "imp"}
shortcuts["bare-ten-verb"] = {"1//2//3", "s", "pres", "ind", ";", "imp"}
shortcuts["pres-t"] = {"2//3", "s", "pres", "ind", ";", "p", "imp"}
shortcuts["pres-pl"] = {"p", "pres", "ind", ";", "p", "pres", "sub"}
shortcuts["past-sg"] = {"s", "past", "ind", ";", "s", "past", "sub"}
shortcuts["past-pl"] = {"p", "past", "ind", ";", "p", "past", "sub"}
shortcuts["dep-bare-verb"] = {"1", "s", "dep", "pres", "ind"}
shortcuts["dep-bare-ten-verb"] = {"1//2//3", "s", "dep", "pres", "ind"}
shortcuts["dep-pres-t"] = {"2//3", "s", "dep", "pres", "ind"}
shortcuts["dep-past-sg"] = {"s", "dep", "past", "ind", ";", "s", "dep", "past", "sub"}
shortcuts["dep-past-pl"] = {"p", "dep", "past", "ind", ";", "p", "dep", "past", "sub"}

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)"] = {
	"person",
	nil,
	"2-u",
	display = "[[Appendix:Glossary#second person|second-person]] ([[u#Dutch|u]])",
}

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

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

tags["diminutive"] = {
	"attitude",
	"wikt:Appendix:Dutch diminutives",
	"dim",
	108709,
}

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

tags["dependent"] = {
	"grammar",
	nil,
	"dep",
	display = "[[Appendix:Dutch parts of speech#Separable verbs|dependent-clause]]",
}

tags["inversion"] = {
	"grammar",
	nil,
	"inv",
	display = "(in case of [[Appendix:Glossary#inversion|inversion]])",
}

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

m_form_of_data.finalize(tags, shortcuts)

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