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["Akita"] = {
	Wikipedia = "Akita dialect",
	plain_categories = {"Akita Japanese"},
}

labels["Amami"] = {
	Wikipedia = "Amami Japanese",
	plain_categories = {"Amami Japanese"},
}

labels["Awa"] = {
	Wikipedia = "Shikoku dialect",
	plain_categories = {"Awa Japanese"},
}

labels["Awaji"] = {
	Wikipedia = "Awaji dialect",
	plain_categories = {"Awaji Japanese"},
}

labels["Banshū"] = {
	Wikipedia = "Banshū dialect",
	plain_categories = {"Banshū Japanese"},
}
alias("Banshū", {"Banshu"})

labels["Chikugo"] = {
	Wikipedia = "Hichiku dialect",
	plain_categories = {"Chikugo Japanese"},
}

labels["Chikuhō"] = {
	Wikipedia = "Hichiku dialect",
	plain_categories = {"Chikuhō Japanese"},
}
alias("Chikuhō", {"Chikuho"})

labels["Chūgoku"] = {
	Wikipedia = "Chūgoku dialect",
	plain_categories = {"Chūgoku Japanese"},
}
alias("Chūgoku", {"Chugoku"})

labels["Edo"] = {
	Wikipedia = "Thời kỳ Edo",
	regional_categories = true,
}
alias("Edo", {"Edo Japanese", "Edo period", "thời kì Edo", "thời kỳ Edo"})

labels["extended shinjitai"] = {
	Wikipedia = "Extended shinjitai",
}
alias("extended shinjitai", {"eshin"})

labels["Fukui"] = {
	Wikipedia = "Hokuriku dialect#Fukui",
	plain_categories = {"Fukui Japanese"},
}

labels["Gunma"] = {
	Wikipedia = "Kantō dialect",
	plain_categories = {"Gunma Japanese"},
}

labels["Hachijō"] = {
	Wikipedia = "Hachijō language",
	plain_categories = {"Hachijō Japanese"},
}
alias("Hachijō", {"Hachijo"})

labels["Hakata"] = {
	Wikipedia = "Hakata dialect",
	plain_categories = {"Hakata Japanese"},
}

labels["Hata"] = {
	Wikipedia = "Shikoku dialect",
	plain_categories = {"Hata Japanese"},
}

labels["Hichiku"] = {
	Wikipedia = "Hichiku dialect",
	plain_categories = {"Hichiku Japanese"},
}

labels["Hida"] = {
	Wikipedia = "Hida dialect",
	plain_categories = {"Hida Japanese"},
}

labels["Hokkaidō"] = {
	Wikipedia = "Hokkaidō dialect",
	plain_categories = {"Hokkaidō Japanese"},
}
alias("Hokkaidō", {"Hokkaido"})

labels["Hokuriku"] = {
	Wikipedia = "Hokuriku dialect",
	plain_categories = {"Hokuriku Japanese"},
}

labels["Hōnichi"] = {
	Wikipedia = "Hōnichi dialect",
	plain_categories = {"Hōnichi Japanese"},
}
alias("Hōnichi", {"Honichi"})

labels["Ibaraki"] = {
	Wikipedia = "Ibaraki dialect",
	plain_categories = {"Ibaraki Japanese"},
}

labels["Iyo"] = {
	Wikipedia = "Iyo dialect",
	plain_categories = {"Iyo Japanese"},
}

labels["Kagoshima"] = {
	Wikipedia = "Kagoshima dialect",
	plain_categories = {"Kagoshima Japanese"},
}
alias("Kagoshima", {"Satsugu", "Satsugū", "Satsuma"})

labels["Kansai"] = {
	Wikipedia = "Kansai dialect",
	plain_categories = {"Kansai Japanese"},
}

labels["Kantō"] = {
	Wikipedia = "Kantō dialect",
	plain_categories = {"Kantō Japanese"},
}
alias("Kantō", {"Kanto"})

labels["Kesen"] = {
	Wikipedia = "Kesen dialect",
	plain_categories = {"Kesen Japanese"},
}

labels["Kyūshū"] = {
	Wikipedia = "Japanese dialects#Kyushu Japanese",
	plain_categories = {"Kyūshū Japanese"},
}
alias("Kyūshū", {"Kyushu"})

labels["Kumamoto"] = {
	Wikipedia = "Kumamoto dialect",
	plain_categories = {"Kumamoto Japanese"},
}

labels["Mikawa"] = {
	Wikipedia = "Mikawa dialect",
	plain_categories = {"Mikawa Japanese"},
}

labels["Mino"] = {
	Wikipedia = "Mino dialect",
	plain_categories = {"Mino Japanese"},
}

labels["Nagaoka"] = {
	Wikipedia = "Nagaoka dialect",
	plain_categories = {"Nagaoka Japanese"},
}

labels["Nagoya"] = {
	Wikipedia = "Nagoya dialect",
	plain_categories = {"Nagoya Japanese"},
}

labels["Ōita"] = {
	Wikipedia = "Ōita Japanese",
	plain_categories = {"Ōita Japanese"},
}
alias("Ōita", {"Oita"})

labels["Okinawa"] = {
	Wikipedia = "Okinawan Japanese",
	plain_categories = {"Okinawa Japanese"},
}

labels["Saga"] = {
	Wikipedia = "Saga dialect",
	plain_categories = {"Saga Japanese"},
}

labels["Sanuki"] = {
	Wikipedia = "Sanuki dialect",
	plain_categories = {"Sanuki Japanese"},
}

labels["Shikoku"] = {
	Wikipedia = "Shikoku dialect",
	plain_categories = {"Shikoku Japanese"},
}

labels["Shizuoka"] = {
	plain_categories = {"Shizuoka Japanese"},
}

labels["Tōhoku"] = {
	Wikipedia = "Tōhoku dialect",
	plain_categories = {"Tōhoku Japanese"},
}
alias("Tōhoku", {"Tohoku"})

labels["Tōkai–Tōsan"] = {
	Wikipedia = "Tōkai–Tōsan dialect",
	plain_categories = {"Tōkai–Tōsan Japanese"},
}
alias("Tōkai–Tōsan", {"Tōkai", "Tokai", "Tōsan", "Tosan", "Tōkai-Tōsan", "Tōkai-Tosan", "Tokai-Tōsan", "Tokai-Tosan"})

labels["Tōkyō"] = {
	Wikipedia = "Tokyo dialect",
	plain_categories = {"Tōkyō Japanese"},
}
alias("Tōkyō", {"Tokyo"})

labels["Tosa"] = {
	Wikipedia = "Tosa dialect",
	plain_categories = {"Tosa Japanese"},
}

labels["Toyama"] = {
	Wikipedia = "Hokuriku dialect#Toyama",
	plain_categories = {"Toyama Japanese"},
}

labels["Tsugaru"] = {
	Wikipedia = "Tsugaru dialect",
	plain_categories = {"Tsugaru Japanese"},
}

labels["Tsushima"] = {
	Wikipedia = "Tsushima dialect",
	plain_categories = {"Tsushima Japanese"},
}

labels["Umpaku"] = {
	Wikipedia = "Umpaku dialect",
	plain_categories = {"Umpaku Japanese"},
}

labels["Yamagata"] = {
	Wikipedia = "Yamagata dialect",
	plain_categories = {"Yamagata Japanese"},
}

return labels