본문으로 이동

모듈:kanjitab/data

위키낱말사전, 말과 글의 누리

이 모듈에 대한 설명문서는 모듈:kanjitab/data/설명문서에서 만들 수 있습니다

local yomi_info = {
	["오음"] = {
		keys = {"g", "goon"},
		onyomi = true,
		link = "{{ja-r|呉%音|ご.%おん}}",
		description = "a form of [[Appendix:Japanese glossary#on'yomi|on'yomi]] introduced in the 5th and 6th centuries, based on the {{w|Jiankang}} pronunciation of Early {{w|Middle Chinese}} via the Korean peninsular",
	},
	
	["불규칙"] = {
		keys = {"불규칙", "i", "irr"},
		appendix = false,
		reading_category = "불규칙 한자 독음", -- terms read with X
		kanji_category = false, -- terms spelled with kanji with X readings
	},
	
	["주바코요미"] = {
		keys = {"j", "ok"},
		required_kanji = 2,
		kanji_category = false,
		link = "{{ja-r|重%箱%読み|じゅう%ばこ%よみ}}",
		description = "a reading pattern for two-kanji compound terms, consisting of an an [[Appendix:Japanese glossary#on'yomi|on'yomi]]  for the first portion and a [[Appendix:Japanese glossary#kun'yomi|kun'yomi]] for the second",
	},
	
	["숙자훈"] = {
		keys = {"juku", "jukuji", "jukujikun"},
		compound_reading = true,
		kanji_category = false,
		link = "{{ja-r|熟%字%訓|じゅく%じ%くん}}",
		description = "an inseparable reading of a multi-kanji term",
	},
	
	["한음"] = {
		keys = {"kanon"},
		onyomi = true,
		link = "{{ja-r|漢%音|かん%おん}}",
		description = "a form of [[Appendix:Japanese glossary#on'yomi|on'yomi]] introduced from the 7th to the 9th centuries, based on the {{w|Chang'an}} pronunciation of {{w|Middle Chinese}}",
	},
	
	["관용음"] = {
		keys = {"kan", "kanyo", "kanyoon"},
		onyomi = true,
		link = "{{ja-r|慣%用%音|かん%よう%おん}}",
		description = "a form of [[Appendix:Japanese glossary#on'yomi|on'yomi]] encompassing unconventional readings that do not show any of the expected correspondences which would qualify for one of the other kinds",
	},
	
	["훈독"] = {
		keys = {"훈", "훈독", "k", "kun"},
		link = "{{ja-r|訓%読み|くん%よみ}}",
		description = "중국어 발음이 아닌 고유한 방식으로 읽는 방법",
	},
	
	["나노리"] = {
		keys = {"n", "nanori"},
		link = "{{ja-r|名%乗り|な%のり}}",
		description = "a type of reading used for people and places",
	},
	
	["none"] = { -- blank
		keys = {"", "none"},
		display = "",
		appendix = false,
		reading_category = false,
		kanji_category = false,
	},
	
	["음독"] = {
		keys = {"음", "음독", "o", "on"},
		onyomi = true,
		link = "{{ja-r|音%読み|おん%よみ}}",
		description = "다양한 중국어 발음 형태에 기반하여 읽는 방법",
	},
	
	["송음"] = {
		keys = {"s", "soon"},
		onyomi = true,
		link = "{{ja-r|宋%音|そう%おん}}",
		description = "a form of [[Appendix:Japanese glossary#on'yomi|on'yomi]] introduced from the 12th to the 14th centuries, based on {{w|Song dynasty}} pronunciations of Late {{w|Middle Chinese}}",
	},
	
	["당음"] = {
		keys = {"t", "toon"},
		onyomi = true,
		link = "{{ja-r|唐%音|とう%おん}}",
		description = "a form of [[Appendix:Japanese glossary#on'yomi|on'yomi]] introduced from the 14th to the 19th centuries",
	},
	
	["유토요미"] = {
		keys = {"ko", "y", "yu"},
		required_kanji = 2,
		kanji_category = false,
		link = "{{ja-r|湯%桶%読み|ゆ%とう%よみ}}",
		description = "a reading pattern for two-kanji compound terms, consisting of a [[Appendix:Japanese glossary#kun'yomi|kun'yomi]] for the first portion and an an [[Appendix:Japanese glossary#on'yomi|on'yomi]]  for the second",
	},
}

local data = {}
for k, v in pairs(yomi_info) do
	v.type = k
	if v.reading_category == nil then
		v.reading_category = k
	end
	if v.kanji_category == nil then
		v.kanji_category = k
	end
	local keys = v.keys
	v.keys = nil
	for i = 1, #keys do
		data[keys[i]] = v
	end
	data[k] = v -- Set the canonical name as an alias.
end

return data