local labels = {}
local function alias(a, b) for _, v in ipairs(b) do labels[v] = a end end -- allows aliases to be entered as a list
labels["Helsinki slang"] = {
Wikipedia = true,
plain_categories = {"Helsinki slang"},
}
labels["Finglish"] = {
Wikipedia = true,
plain_categories = {"Finglish"},
}
-- override label to provide a better link.
labels["telic"] = { display = "[[Appendix:Finnic telic and atelic verbs|telic]]" }
labels["atelic"] = { display = "[[Appendix:Finnic telic and atelic verbs|atelic]]" }
-- grammar
labels["+accusative"] = {
display = "+ accusative",
omit_preComma = true,
}
labels["+partitive"] = {
display = "+ partitive",
omit_preComma = true,
}
labels["+nominative"] = {
display = "+ nominative",
omit_preComma = true,
}
labels["+genitive"] = {
display = "+ genitive",
omit_preComma = true,
}
labels["+inessive"] = {
display = "+ inessive",
omit_preComma = true,
}
labels["+elative"] = {
display = "+ elative",
omit_preComma = true,
}
labels["+illative"] = {
display = "+ illative",
omit_preComma = true,
}
labels["+adessive"] = {
display = "+ adessive",
omit_preComma = true,
}
labels["+ablative"] = {
display = "+ ablative",
omit_preComma = true,
}
labels["+allative"] = {
display = "+ allative",
omit_preComma = true,
}
labels["+inf1"] = {
display = "+ first infinitive",
omit_preComma = true,
}
labels["+inf3 inessive"] = {
display = "+ inessive of the third infinitive",
omit_preComma = true,
}
labels["+inf3 elative"] = {
display = "+ elative of the third infinitive",
omit_preComma = true,
}
labels["+inf3 illative"] = {
display = "+ illative of the third infinitive",
omit_preComma = true,
}
labels["+inf3 adessive"] = {
display = "+ adessive of the third infinitive",
omit_preComma = true,
}
labels["+inf3 abessive"] = {
display = "+ abessive of the third infinitive",
omit_preComma = true,
}
-- top-level dialect groups
labels["Western Finnish"] = {
Wikipedia = "Finnish language#Western dialects",
plain_categories = {"Western Finnish"},
}
alias("Western Finnish", { "Western", "Western Finland" })
labels["Eastern Finnish"] = {
Wikipedia = "Finnish language#Eastern dialects",
plain_categories = {"Eastern Finnish"},
}
alias("Eastern Finnish", { "Eastern", "Eastern Finland" })
-- major dialect groups
labels["Southwest Finnish"] = {
Wikipedia = "Southwest Finnish dialects",
plain_categories = {"Southwest Finnish"},
}
alias("Southwest Finnish", { "Varsinais-Suomi", "lounaismurretta", "Southwest Finland", "Southwestern Finland", "Southwestern Finnish" })
labels["Tavastia"] = {
Wikipedia = "Tavastian dialects",
plain_categories = {"Tavastian Finnish"},
}
alias("Tavastia", { "Tavastian", "Häme" })
labels["Ostrobothnia"] = {
display = "[[Ostrobothnia]]",
plain_categories = {"Ostrobothnian Finnish"},
}
alias("Ostrobothnia", { "Ostrobothnian", "Pohjanmaa" })
labels["South Ostrobothnia"] = {
Wikipedia = "South Ostrobothnian dialect",
plain_categories = {"South Ostrobothnian Finnish"},
}
alias("South Ostrobothnia", { "South Ostrobothnian", "Etelä-Pohjanmaa", "Southern Ostrobothnia", "Southern Ostrobothnian" })
labels["Central Ostrobothnia"] = {
Wikipedia = "Central and Northern Ostrobothnian dialects",
plain_categories = {"Central Ostrobothnian Finnish"},
}
alias("Central Ostrobothnia", { "Central Ostrobothnian", "Keski-Pohjanmaa" })
labels["North Ostrobothnia"] = {
Wikipedia = "Central and Northern Ostrobothnian dialects",
plain_categories = {"North Ostrobothnian Finnish"},
}
alias("North Ostrobothnia", { "North Ostrobothnian", "Pohjois-Pohjanmaa", "Northern Ostrobothnia", "Northern Ostrobothnian" })
labels["Central and North Ostrobothnia"] = {
Wikipedia = "Central and Northern Ostrobothnian dialects",
plain_categories = {"Central Ostrobothnian Finnish", "North Ostrobothnian Finnish"},
}
alias("Central and North Ostrobothnia", { "Central and Northern Ostrobothnia", "Central and Nort Ostrobothnian", "Central and Northern Ostrobothnian" })
labels["Lapland"] = {
Wikipedia = "Peräpohjola dialects",
plain_categories = {"Lapland Finnish"},
}
alias("Lapland", { "Peräpohjola" })
labels["Westrobothnia"] = {
display = "[[Westrobothnia]]",
plain_categories = {"Westrobothnian Finnish"},
}
alias("Westrobothnia", { "Westrobothnian", "Länsi-Pohja", "Meänkieli" })
labels["Kymenlaakso"] = {
display = "[[Kymenlaakso]]",
plain_categories = {"Kymenlaakso Finnish"},
}
labels["Satakunta"] = {
display = "[[Satakunta]]",
plain_categories = {"Satakunta Finnish"},
}
labels["Central Finland"] = {
plain_categories = {"Central Finnish"},
}
alias("Central Finland", { "Central Finnish" })
labels["Kainuu"] = {
Wikipedia = "Kainuu dialect",
plain_categories = {"Kainuu Finnish"},
}
labels["Savonia"] = {
Wikipedia = "Savonian dialects",
plain_categories = {"Savonian Finnish"},
}
alias("Savonia", { "Savonian", "Savo" })
labels["South Karelia"] = {
Wikipedia = "South Karelian dialects", -- WP article is for a smaller group, but there is no better match.
plain_categories = {"South Karelian Finnish"},
}
alias("South Karelia", { "South Karelian", "Etelä-Karjala", "Southern Karelia", "Southern Karelian", "Karelian", "Karelia" })
labels["Ingria"] = {
Wikipedia = "Ingrian dialects",
plain_categories = {"Ingrian Finnish"},
}
alias("Ingria", { "Ingrian", "Inkeri" })
labels["Gulf of Finland"] = {
display = "[[Gulf of Finland]]",
plain_categories = {"Gulf of Finland Finnish"},
}
alias("Gulf of Finland", { "Suomenlahti" })
-- others
labels["Uusimaa"] = {
display = "[[Uusimaa]]",
plain_categories = {"Uusimaa Finnish"},
}
alias("Uusimaa", { "Nyland" })
return labels