Module:fi-dialects/data/area

-- mostly following Suomen murteiden sanakirja.

local groups = {} local areas = {} local area_aliases = {}

function area_alias(area, ...) for _, alias in ipairs({...}) do		area_aliases[alias] = area end end

-- groups. --	Layout: --		["finnish"] = "Finnish name" --		["english"] = "English name" --		["Wikipedia"] = "en.wikipedia article", --		["wikidata"] = Wikidata number, --		["branch"] = "west" or "east"

groups["Southwest"] = { finnish = "lounaismurteet", english = "Southwestern dialects", branch = "west", Wikipedia = "Southwest Finnish dialects", wikidata = 1338317 }

groups["SouthwestTransitional"] = { finnish = "lounaiset välimurteet", english = "Southwestern transitional dialects", branch = "west", }

groups["Tavastia"] = { finnish = "hämäläismurteet", english = "Tavastian dialects", branch = "west", Wikipedia = "Tavastian dialects", wikidata = 1642067 }

groups["SouthOstrobothnia"] = { finnish = "eteläpohjalaismurteet", english = "South Ostrobothnian dialects", branch = "west", Wikipedia = "South Ostrobothnian dialect", wikidata = 2381857 }

groups["NorthOstrobothnia"] = { finnish = "keski- ja pohjoispohjalaismurteet", english = "Central and North Ostrobothnian dialects", branch = "west", Wikipedia = "Central and Northern Ostrobothnian dialects", wikidata = 1939996 }

groups["Lapland"] = { finnish = "peräpohjalaiset murteet", english = "Lapland dialects", branch = "west", Wikipedia = "Peräpohjola dialects", wikidata = 2072879 }

groups["Savonia"] = { finnish = "savolaismurteet", english = "Savonian dialects", branch = "east", Wikipedia = "Savonian dialects", wikidata = 1280059 }

groups["Southeast"] = { finnish = "kaakkoismurteet", english = "Southeastern dialects", branch = "east", Wikipedia = "South Karelian dialects", wikidata = 107618638 }

-- groups: --		Southwest: Southwestern Finnish dialects --		Tavastia: Tavastian (Häme) dialects --		SouthOstrobothnia: South Ostrobothnian dialects --		NorthOstrobothnia: Central/North Ostrobothnian dialects --		Lapland: Lapland dialects --		Savonia: Savonian dialects --		Southeast: Southeastern Finnish dialects

-- areas. --	Layout: --		["finnish"] = "Finnish name" --		["english"] = "English name" --		["branch"] = "west" or "east" --		["group"] = any of groups --		["Wikipedia"] = "en.wikipedia article", --		["wikidata"] = Wikidata number, --		["subareas"] = { --			["Subarea name"] = { --				["finnish"] = "Finnish name of subarea", --				["english"] = "English name of subarea" --			}, ... --		}

areas["Häme"] = { finnish = "Häme", english = "Tavastia", branch = "west", group = "Tavastia", Wikipedia = "Tavastian dialects", wikidata = 1642067, subareas = { ["Etelä"] = { finnish = "Etelä-Häme", english = "Southern Tavastia" },		["Kaakko"] = { finnish = "Kaakkois-Häme", english = "Southeastern Tavastia" },		["Pohjoinen"] = { finnish = "Pohjois-Häme", english = "Northern Tavastia" }	} }

areas["Inkeri"] = { finnish = "Inkeri", english = "Ingria", branch = "east", group = "Southeast", Wikipedia = "Ingrian dialects", wikidata = 10535532 }

areas["Kainuu"] = { finnish = "Kainuu", english = "Kainuu", branch = "east", group = "Savonia", Wikipedia = "Kainuu dialect", wikidata = 106240963 }

areas["Karjala"] = { finnish = "Karjala", english = "Karelia", branch = "east", subareas = { ["Etelä"] = { finnish = "Etelä-Karjala", english = "Southern Karelia", group = "Southeast", Wikipedia = "South Karelian dialects", wikidata = 107618638 },		["Keski"] = { finnish = "Keski-Karjala", english = "Central Karelia", group = "Southeast" },		["Pohjoinen"] = { finnish = "Pohjois-Karjala", english = "Northern Karelia", group = "Savonia" }	} }

areas["Keski-Suomi"] = { finnish = "Keski-Suomi", english = "Central Finland", branch = "east", group = "Savonia", wikidata = 5479847, subareas = { ["Etelä"] = { finnish = "Eteläinen Keski-Suomi", english = "Southern Central Finland" },		["Länsi"] = { finnish = "Läntinen Keski-Suomi", english = "Western Central Finland" },		["Pohjoinen"] = { finnish = "Pohjoinen Keski-Suomi", english = "Northern Central Finland" }	} }

areas["Kymenlaakso"] = { finnish = "Kymenlaakso", english = "Kymenlaakso", branch = "west", group = "Tavastia" }

areas["Länsi-Pohja"] = { finnish = "Länsi-Pohja", english = "Westrobothnia", branch = "west", group = "Lapland", wikidata = 4609979 }

areas["Peräpohjola"] = { finnish = "Peräpohjola", english = "Lapland", branch = "west", group = "Lapland", Wikipedia = "Peräpohjola dialects", wikidata = 2072879 }

areas["Pohjanmaa"] = { finnish = "Pohjanmaa", english = "Ostrobothnia", branch = "west", subareas = { ["Etelä"] = { finnish = "Etelä-Pohjanmaa", english = "Southern Ostrobothnia", group = "SouthOstrobothnia", Wikipedia = "South Ostrobothnian dialect", Wikidata = 2381857 },		["Keski"] = { finnish = "Keski-Pohjanmaa", english = "Central Ostrobothnia", Wikipedia = "Central and Northern Ostrobothnian dialects", group = "NorthOstrobothnia" },		["Pohjoinen"] = { finnish = "Pohjois-Pohjanmaa", english = "Northern Ostrobothnia", Wikipedia = "Central and Northern Ostrobothnian dialects", group = "NorthOstrobothnia" }	} }

areas["Satakunta"] = { finnish = "Satakunta", english = "Satakunta", branch = "west", subareas = { ["Etelä"] = { finnish = "Etelä-Satakunta", english = "Southern Satakunta", group = "SouthwestTransitional" },		["Länsi"] = { finnish = "Länsi-Satakunta", english = "Western Satakunta", group = "SouthwestTransitional" },		["Pohjoinen"] = { finnish = "Pohjois-Satakunta", english = "Northern Satakunta", group = "Tavastia" }	} }

areas["Savo"] = { finnish = "Savo", english = "Savonia", branch = "east", group = "Savonia", Wikipedia = "Savonian dialects", wikidata = 1280059, subareas = { ["Etelä"] = { finnish = "Etelä-Savo", english = "Southern Savonia" },		["Pohjoinen"] = { finnish = "Pohjois-Savo", english = "Northern Savonia" }	} }

areas["Varsinais-Suomi"] = { finnish = "Varsinais-Suomi", english = "Southwestern Finland", branch = "west", Wikipedia = "Southwest Finnish dialects", wikidata = 1338317, subareas = { ["Etelä"] = { finnish = "Eteläinen Varsinais-Suomi", english = "Southern Southwest Finland", group = "Southwest", },		["Itä"] = { finnish = "Länsi-Uusimaa", english = "Western Uusimaa", group = "SouthwestTransitional", },		["Pohjoinen"] = { finnish = "Pohjoinen Varsinais-Suomi", english = "Northern Southwest Finland", group = "Southwest", },		["Ylämaa"] = { finnish = "Varsinais-Suomen ylämaa", english = "Southwest Finnish Highlands", group = "SouthwestTransitional", }	} }

areas["Vermlanti"] = { finnish = "Vermlanti", english = "Värmland", branch = "east", group = "Savonia", Wikipedia = "Värmland Savonian dialect", wikidata = 107202164 }

-- This is only for Kettunen data; do not use otherwise areas["krl"] = { finnish = "karjalan kieltä, ei suomea", english = "Karelian language, not Finnish", branch = nil, group = nil, Wikipedia = "Karelian language", wikidata = 33557 }

-- area aliases. use REGION/SUBREGION for subarea aliases. area_alias("Häme", "Häm") area_alias("Häme/Etelä", "HämE") area_alias("Häme/Kaakko", "HämK") area_alias("Häme/Pohjoinen", "HämP") area_alias("Inkeri", "Ink") area_alias("Kainuu", "Kai") area_alias("Karjala", "Kar") area_alias("Karjala/Etelä", "KarE") area_alias("Karjala/Keski", "KarK") area_alias("Karjala/Pohjoinen", "KarP") area_alias("Keski-Suomi", "Kes") area_alias("Keski-Suomi/Etelä", "KesE") area_alias("Keski-Suomi/Länsi", "KesL") area_alias("Keski-Suomi/Pohjoinen", "KesP") area_alias("Kymenlaakso", "Kym") area_alias("Länsi-Pohja", "LänP") area_alias("Peräpohjola", "PerP") area_alias("Pohjanmaa", "Poh") area_alias("Pohjanmaa/Etelä", "PohE") area_alias("Pohjanmaa/Keski", "PohK") area_alias("Pohjanmaa/Pohjoinen", "PohP") area_alias("Satakunta", "Sat") area_alias("Satakunta/Etelä", "SatE") area_alias("Satakunta/Länsi", "SatL") area_alias("Satakunta/Pohjoinen", "SatP") area_alias("Savo", "Sav") area_alias("Savo/Etelä", "SavE") area_alias("Savo/Pohjoinen", "SavP") area_alias("Varsinais-Suomi", "Var") area_alias("Varsinais-Suomi/Etelä", "VarE") area_alias("Varsinais-Suomi/Itä", "VarI") area_alias("Varsinais-Suomi/Pohjoinen", "VarP") area_alias("Varsinais-Suomi/Itä", "VarU") area_alias("Varsinais-Suomi/Ylämaa", "VarY") area_alias("Vermlanti", "Ver")

local export = { groups = groups, areas = areas, area_aliases = area_aliases }

return export