--[=[
This module contains lang-specific tags for Dutch.
]=]
local tags = {}
local shortcuts = {}
-- adjective form shortcuts
shortcuts["infl"] = {"m//f", "s", "attr", ";", "def", "n", "s", "attr", ";", "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"] = {"123", "s", "pres", "ind", ";", "imp"}
shortcuts["pres-t"] = {"23", "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"] = {"123", "s", "dep", "pres", "ind"}
shortcuts["dep-pres-t"] = {"23", "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)"] = {
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}