From 9da755ab0d39fda9b8850096aeccd47d8ecba77d Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Tue, 15 Feb 2022 19:21:51 +0800 Subject: [PATCH] kanjiConv // Add Support for Converting zh-Hant to JIS. --- .../vChewingKanjiConverter.swift | 553 +++++++++++++++++- 1 file changed, 552 insertions(+), 1 deletion(-) diff --git a/Source/Modules/ControllerModules/vChewingKanjiConverter.swift b/Source/Modules/ControllerModules/vChewingKanjiConverter.swift index 3a9ea095..e778b53c 100644 --- a/Source/Modules/ControllerModules/vChewingKanjiConverter.swift +++ b/Source/Modules/ControllerModules/vChewingKanjiConverter.swift @@ -218,7 +218,558 @@ private extension String { } @objc class func cnvTradToJIS(_ strProcessed: String) -> String { - let strProcessed = strProcessed + // 該轉換是由康熙繁體轉換至日語當用漢字的,所以需要先跑一遍康熙轉換。 + var strProcessed = cnvTradToKangXi(strProcessed) + strProcessed.regReplace(pattern: "兩", replaceWith: "両") + strProcessed.regReplace(pattern: "輛", replaceWith: "両") + strProcessed.regReplace(pattern: "辨", replaceWith: "弁") + strProcessed.regReplace(pattern: "辯", replaceWith: "弁") + strProcessed.regReplace(pattern: "瓣", replaceWith: "弁") + strProcessed.regReplace(pattern: "辦", replaceWith: "弁") + strProcessed.regReplace(pattern: "禦", replaceWith: "御") + strProcessed.regReplace(pattern: "缺", replaceWith: "欠") + strProcessed.regReplace(pattern: "絲", replaceWith: "糸") + strProcessed.regReplace(pattern: "藝", replaceWith: "芸") + strProcessed.regReplace(pattern: "濱", replaceWith: "浜") + strProcessed.regReplace(pattern: "乘", replaceWith: "乗") + strProcessed.regReplace(pattern: "亂", replaceWith: "乱") + strProcessed.regReplace(pattern: "亙", replaceWith: "亘") + strProcessed.regReplace(pattern: "亞", replaceWith: "亜") + strProcessed.regReplace(pattern: "佛", replaceWith: "仏") + strProcessed.regReplace(pattern: "來", replaceWith: "来") + strProcessed.regReplace(pattern: "假", replaceWith: "仮") + strProcessed.regReplace(pattern: "傳", replaceWith: "伝") + strProcessed.regReplace(pattern: "僞", replaceWith: "偽") + strProcessed.regReplace(pattern: "價", replaceWith: "価") + strProcessed.regReplace(pattern: "儉", replaceWith: "倹") + strProcessed.regReplace(pattern: "兒", replaceWith: "児") + strProcessed.regReplace(pattern: "內", replaceWith: "内") + strProcessed.regReplace(pattern: "剎", replaceWith: "刹") + strProcessed.regReplace(pattern: "剩", replaceWith: "剰") + strProcessed.regReplace(pattern: "劍", replaceWith: "剣") + strProcessed.regReplace(pattern: "剱", replaceWith: "剣") + strProcessed.regReplace(pattern: "劎", replaceWith: "剣") + strProcessed.regReplace(pattern: "劒", replaceWith: "剣") + strProcessed.regReplace(pattern: "劔", replaceWith: "剣") + strProcessed.regReplace(pattern: "劑", replaceWith: "剤") + strProcessed.regReplace(pattern: "勞", replaceWith: "労") + strProcessed.regReplace(pattern: "勳", replaceWith: "勲") + strProcessed.regReplace(pattern: "勵", replaceWith: "励") + strProcessed.regReplace(pattern: "勸", replaceWith: "勧") + strProcessed.regReplace(pattern: "勻", replaceWith: "匀") + strProcessed.regReplace(pattern: "區", replaceWith: "区") + strProcessed.regReplace(pattern: "卷", replaceWith: "巻") + strProcessed.regReplace(pattern: "卻", replaceWith: "却") + strProcessed.regReplace(pattern: "參", replaceWith: "参") + strProcessed.regReplace(pattern: "吳", replaceWith: "呉") + strProcessed.regReplace(pattern: "咒", replaceWith: "呪") + strProcessed.regReplace(pattern: "啞", replaceWith: "唖") + strProcessed.regReplace(pattern: "單", replaceWith: "単") + strProcessed.regReplace(pattern: "噓", replaceWith: "嘘") + strProcessed.regReplace(pattern: "嚙", replaceWith: "噛") + strProcessed.regReplace(pattern: "嚴", replaceWith: "厳") + strProcessed.regReplace(pattern: "囑", replaceWith: "嘱") + strProcessed.regReplace(pattern: "圈", replaceWith: "圏") + strProcessed.regReplace(pattern: "國", replaceWith: "国") + strProcessed.regReplace(pattern: "圍", replaceWith: "囲") + strProcessed.regReplace(pattern: "圓", replaceWith: "円") + strProcessed.regReplace(pattern: "圖", replaceWith: "図") + strProcessed.regReplace(pattern: "團", replaceWith: "団") + strProcessed.regReplace(pattern: "增", replaceWith: "増") + strProcessed.regReplace(pattern: "墮", replaceWith: "堕") + strProcessed.regReplace(pattern: "壓", replaceWith: "圧") + strProcessed.regReplace(pattern: "壘", replaceWith: "塁") + strProcessed.regReplace(pattern: "壞", replaceWith: "壊") + strProcessed.regReplace(pattern: "壤", replaceWith: "壌") + strProcessed.regReplace(pattern: "壯", replaceWith: "壮") + strProcessed.regReplace(pattern: "壹", replaceWith: "壱") + strProcessed.regReplace(pattern: "壽", replaceWith: "寿") + strProcessed.regReplace(pattern: "奧", replaceWith: "奥") + strProcessed.regReplace(pattern: "奬", replaceWith: "奨") + strProcessed.regReplace(pattern: "妝", replaceWith: "粧") + strProcessed.regReplace(pattern: "孃", replaceWith: "嬢") + strProcessed.regReplace(pattern: "學", replaceWith: "学") + strProcessed.regReplace(pattern: "寢", replaceWith: "寝") + strProcessed.regReplace(pattern: "實", replaceWith: "実") + strProcessed.regReplace(pattern: "寫", replaceWith: "写") + strProcessed.regReplace(pattern: "寬", replaceWith: "寛") + strProcessed.regReplace(pattern: "寶", replaceWith: "宝") + strProcessed.regReplace(pattern: "將", replaceWith: "将") + strProcessed.regReplace(pattern: "專", replaceWith: "専") + strProcessed.regReplace(pattern: "對", replaceWith: "対") + strProcessed.regReplace(pattern: "屆", replaceWith: "届") + strProcessed.regReplace(pattern: "屬", replaceWith: "属") + strProcessed.regReplace(pattern: "峯", replaceWith: "峰") + strProcessed.regReplace(pattern: "峽", replaceWith: "峡") + strProcessed.regReplace(pattern: "嶽", replaceWith: "岳") + strProcessed.regReplace(pattern: "巖", replaceWith: "巌") + strProcessed.regReplace(pattern: "巢", replaceWith: "巣") + strProcessed.regReplace(pattern: "帶", replaceWith: "帯") + strProcessed.regReplace(pattern: "廁", replaceWith: "厠") + strProcessed.regReplace(pattern: "廢", replaceWith: "廃") + strProcessed.regReplace(pattern: "廣", replaceWith: "広") + strProcessed.regReplace(pattern: "廳", replaceWith: "庁") + strProcessed.regReplace(pattern: "彈", replaceWith: "弾") + strProcessed.regReplace(pattern: "彌", replaceWith: "弥") + strProcessed.regReplace(pattern: "彎", replaceWith: "弯") + strProcessed.regReplace(pattern: "彥", replaceWith: "彦") + strProcessed.regReplace(pattern: "徑", replaceWith: "径") + strProcessed.regReplace(pattern: "從", replaceWith: "従") + strProcessed.regReplace(pattern: "徵", replaceWith: "徴") + strProcessed.regReplace(pattern: "德", replaceWith: "徳") + strProcessed.regReplace(pattern: "恆", replaceWith: "恒") + strProcessed.regReplace(pattern: "悅", replaceWith: "悦") + strProcessed.regReplace(pattern: "惠", replaceWith: "恵") + strProcessed.regReplace(pattern: "惡", replaceWith: "悪") + strProcessed.regReplace(pattern: "惱", replaceWith: "悩") + strProcessed.regReplace(pattern: "慘", replaceWith: "惨") + strProcessed.regReplace(pattern: "應", replaceWith: "応") + strProcessed.regReplace(pattern: "懷", replaceWith: "懐") + strProcessed.regReplace(pattern: "戀", replaceWith: "恋") + strProcessed.regReplace(pattern: "戰", replaceWith: "戦") + strProcessed.regReplace(pattern: "戲", replaceWith: "戯") + strProcessed.regReplace(pattern: "戶", replaceWith: "戸") + strProcessed.regReplace(pattern: "戾", replaceWith: "戻") + strProcessed.regReplace(pattern: "拂", replaceWith: "払") + strProcessed.regReplace(pattern: "拔", replaceWith: "抜") + strProcessed.regReplace(pattern: "拜", replaceWith: "拝") + strProcessed.regReplace(pattern: "挾", replaceWith: "挟") + strProcessed.regReplace(pattern: "插", replaceWith: "挿") + strProcessed.regReplace(pattern: "揭", replaceWith: "掲") + strProcessed.regReplace(pattern: "搔", replaceWith: "掻") + strProcessed.regReplace(pattern: "搖", replaceWith: "揺") + strProcessed.regReplace(pattern: "搜", replaceWith: "捜") + strProcessed.regReplace(pattern: "摑", replaceWith: "掴") + strProcessed.regReplace(pattern: "擇", replaceWith: "択") + strProcessed.regReplace(pattern: "擊", replaceWith: "撃") + strProcessed.regReplace(pattern: "擔", replaceWith: "担") + strProcessed.regReplace(pattern: "據", replaceWith: "拠") + strProcessed.regReplace(pattern: "擴", replaceWith: "拡") + strProcessed.regReplace(pattern: "攝", replaceWith: "摂") + strProcessed.regReplace(pattern: "攪", replaceWith: "撹") + strProcessed.regReplace(pattern: "收", replaceWith: "収") + strProcessed.regReplace(pattern: "效", replaceWith: "効") + strProcessed.regReplace(pattern: "敕", replaceWith: "勅") + strProcessed.regReplace(pattern: "敘", replaceWith: "叙") + strProcessed.regReplace(pattern: "數", replaceWith: "数") + strProcessed.regReplace(pattern: "斷", replaceWith: "断") + strProcessed.regReplace(pattern: "晉", replaceWith: "晋") + strProcessed.regReplace(pattern: "晚", replaceWith: "晩") + strProcessed.regReplace(pattern: "晝", replaceWith: "昼") + strProcessed.regReplace(pattern: "暨", replaceWith: "曁") + strProcessed.regReplace(pattern: "曆", replaceWith: "暦") + strProcessed.regReplace(pattern: "曉", replaceWith: "暁") + strProcessed.regReplace(pattern: "曾", replaceWith: "曽") + strProcessed.regReplace(pattern: "會", replaceWith: "会") + strProcessed.regReplace(pattern: "枡", replaceWith: "桝") + strProcessed.regReplace(pattern: "查", replaceWith: "査") + strProcessed.regReplace(pattern: "條", replaceWith: "条") + strProcessed.regReplace(pattern: "棧", replaceWith: "桟") + strProcessed.regReplace(pattern: "棱", replaceWith: "稜") + strProcessed.regReplace(pattern: "榆", replaceWith: "楡") + strProcessed.regReplace(pattern: "榮", replaceWith: "栄") + strProcessed.regReplace(pattern: "樂", replaceWith: "楽") + strProcessed.regReplace(pattern: "樓", replaceWith: "楼") + strProcessed.regReplace(pattern: "樞", replaceWith: "枢") + strProcessed.regReplace(pattern: "樣", replaceWith: "様") + strProcessed.regReplace(pattern: "橫", replaceWith: "横") + strProcessed.regReplace(pattern: "檢", replaceWith: "検") + strProcessed.regReplace(pattern: "櫻", replaceWith: "桜") + strProcessed.regReplace(pattern: "權", replaceWith: "権") + strProcessed.regReplace(pattern: "歐", replaceWith: "欧") + strProcessed.regReplace(pattern: "歡", replaceWith: "歓") + strProcessed.regReplace(pattern: "步", replaceWith: "歩") + strProcessed.regReplace(pattern: "歲", replaceWith: "歳") + strProcessed.regReplace(pattern: "歷", replaceWith: "歴") + strProcessed.regReplace(pattern: "歸", replaceWith: "帰") + strProcessed.regReplace(pattern: "殘", replaceWith: "残") + strProcessed.regReplace(pattern: "殼", replaceWith: "殻") + strProcessed.regReplace(pattern: "毆", replaceWith: "殴") + strProcessed.regReplace(pattern: "每", replaceWith: "毎") + strProcessed.regReplace(pattern: "氣", replaceWith: "気") + strProcessed.regReplace(pattern: "污", replaceWith: "汚") + strProcessed.regReplace(pattern: "沒", replaceWith: "没") + strProcessed.regReplace(pattern: "涉", replaceWith: "渉") + strProcessed.regReplace(pattern: "淚", replaceWith: "涙") + strProcessed.regReplace(pattern: "淨", replaceWith: "浄") + strProcessed.regReplace(pattern: "淺", replaceWith: "浅") + strProcessed.regReplace(pattern: "渴", replaceWith: "渇") + strProcessed.regReplace(pattern: "溌", replaceWith: "潑") + strProcessed.regReplace(pattern: "溪", replaceWith: "渓") + strProcessed.regReplace(pattern: "溫", replaceWith: "温") + strProcessed.regReplace(pattern: "溼", replaceWith: "湿") + strProcessed.regReplace(pattern: "滯", replaceWith: "滞") + strProcessed.regReplace(pattern: "滿", replaceWith: "満") + strProcessed.regReplace(pattern: "潛", replaceWith: "潜") + strProcessed.regReplace(pattern: "澀", replaceWith: "渋") + strProcessed.regReplace(pattern: "澤", replaceWith: "沢") + strProcessed.regReplace(pattern: "濟", replaceWith: "済") + strProcessed.regReplace(pattern: "濤", replaceWith: "涛") + strProcessed.regReplace(pattern: "濾", replaceWith: "沪") + strProcessed.regReplace(pattern: "瀧", replaceWith: "滝") + strProcessed.regReplace(pattern: "瀨", replaceWith: "瀬") + strProcessed.regReplace(pattern: "灣", replaceWith: "湾") + strProcessed.regReplace(pattern: "焰", replaceWith: "焔") + strProcessed.regReplace(pattern: "燈", replaceWith: "灯") + strProcessed.regReplace(pattern: "燒", replaceWith: "焼") + strProcessed.regReplace(pattern: "營", replaceWith: "営") + strProcessed.regReplace(pattern: "爐", replaceWith: "炉") + strProcessed.regReplace(pattern: "爭", replaceWith: "争") + strProcessed.regReplace(pattern: "爲", replaceWith: "為") + strProcessed.regReplace(pattern: "牀", replaceWith: "床") + strProcessed.regReplace(pattern: "犧", replaceWith: "犠") + strProcessed.regReplace(pattern: "狀", replaceWith: "状") + strProcessed.regReplace(pattern: "狹", replaceWith: "狭") + strProcessed.regReplace(pattern: "獨", replaceWith: "独") + strProcessed.regReplace(pattern: "獵", replaceWith: "猟") + strProcessed.regReplace(pattern: "獸", replaceWith: "獣") + strProcessed.regReplace(pattern: "獻", replaceWith: "献") + strProcessed.regReplace(pattern: "產", replaceWith: "産") + strProcessed.regReplace(pattern: "畫", replaceWith: "画") + strProcessed.regReplace(pattern: "當", replaceWith: "当") + strProcessed.regReplace(pattern: "疊", replaceWith: "畳") + strProcessed.regReplace(pattern: "疎", replaceWith: "疏") + strProcessed.regReplace(pattern: "痹", replaceWith: "痺") + strProcessed.regReplace(pattern: "瘦", replaceWith: "痩") + strProcessed.regReplace(pattern: "癡", replaceWith: "痴") + strProcessed.regReplace(pattern: "發", replaceWith: "発") + strProcessed.regReplace(pattern: "皋", replaceWith: "皐") + strProcessed.regReplace(pattern: "盜", replaceWith: "盗") + strProcessed.regReplace(pattern: "盡", replaceWith: "尽") + strProcessed.regReplace(pattern: "碎", replaceWith: "砕") + strProcessed.regReplace(pattern: "祕", replaceWith: "秘") + strProcessed.regReplace(pattern: "祿", replaceWith: "禄") + strProcessed.regReplace(pattern: "禪", replaceWith: "禅") + strProcessed.regReplace(pattern: "禮", replaceWith: "礼") + strProcessed.regReplace(pattern: "禱", replaceWith: "祷") + strProcessed.regReplace(pattern: "稅", replaceWith: "税") + strProcessed.regReplace(pattern: "稱", replaceWith: "称") + strProcessed.regReplace(pattern: "稻", replaceWith: "稲") + strProcessed.regReplace(pattern: "穎", replaceWith: "頴") + strProcessed.regReplace(pattern: "穗", replaceWith: "穂") + strProcessed.regReplace(pattern: "穩", replaceWith: "穏") + strProcessed.regReplace(pattern: "穰", replaceWith: "穣") + strProcessed.regReplace(pattern: "竃", replaceWith: "竈") + strProcessed.regReplace(pattern: "竊", replaceWith: "窃") + strProcessed.regReplace(pattern: "粹", replaceWith: "粋") + strProcessed.regReplace(pattern: "糉", replaceWith: "粽") + strProcessed.regReplace(pattern: "絕", replaceWith: "絶") + strProcessed.regReplace(pattern: "經", replaceWith: "経") + strProcessed.regReplace(pattern: "綠", replaceWith: "緑") + strProcessed.regReplace(pattern: "緖", replaceWith: "緒") + strProcessed.regReplace(pattern: "緣", replaceWith: "縁") + strProcessed.regReplace(pattern: "縣", replaceWith: "県") + strProcessed.regReplace(pattern: "縱", replaceWith: "縦") + strProcessed.regReplace(pattern: "總", replaceWith: "総") + strProcessed.regReplace(pattern: "繋", replaceWith: "繫") + strProcessed.regReplace(pattern: "繡", replaceWith: "繍") + strProcessed.regReplace(pattern: "繩", replaceWith: "縄") + strProcessed.regReplace(pattern: "繪", replaceWith: "絵") + strProcessed.regReplace(pattern: "繼", replaceWith: "継") + strProcessed.regReplace(pattern: "續", replaceWith: "続") + strProcessed.regReplace(pattern: "纔", replaceWith: "才") + strProcessed.regReplace(pattern: "纖", replaceWith: "繊") + strProcessed.regReplace(pattern: "罐", replaceWith: "缶") + strProcessed.regReplace(pattern: "羣", replaceWith: "群") + strProcessed.regReplace(pattern: "聯", replaceWith: "連") + strProcessed.regReplace(pattern: "聰", replaceWith: "聡") + strProcessed.regReplace(pattern: "聲", replaceWith: "声") + strProcessed.regReplace(pattern: "聽", replaceWith: "聴") + strProcessed.regReplace(pattern: "肅", replaceWith: "粛") + strProcessed.regReplace(pattern: "脣", replaceWith: "唇") + strProcessed.regReplace(pattern: "脫", replaceWith: "脱") + strProcessed.regReplace(pattern: "腦", replaceWith: "脳") + strProcessed.regReplace(pattern: "腳", replaceWith: "脚") + strProcessed.regReplace(pattern: "膽", replaceWith: "胆") + strProcessed.regReplace(pattern: "臟", replaceWith: "臓") + strProcessed.regReplace(pattern: "臺", replaceWith: "台") + strProcessed.regReplace(pattern: "與", replaceWith: "与") + strProcessed.regReplace(pattern: "舉", replaceWith: "挙") + strProcessed.regReplace(pattern: "舊", replaceWith: "旧") + strProcessed.regReplace(pattern: "舍", replaceWith: "舎") + strProcessed.regReplace(pattern: "荔", replaceWith: "茘") + strProcessed.regReplace(pattern: "莊", replaceWith: "荘") + strProcessed.regReplace(pattern: "莖", replaceWith: "茎") + strProcessed.regReplace(pattern: "菸", replaceWith: "煙") + strProcessed.regReplace(pattern: "萊", replaceWith: "莱") + strProcessed.regReplace(pattern: "萬", replaceWith: "万") + strProcessed.regReplace(pattern: "蔣", replaceWith: "蒋") + strProcessed.regReplace(pattern: "蔥", replaceWith: "葱") + strProcessed.regReplace(pattern: "薰", replaceWith: "薫") + strProcessed.regReplace(pattern: "藏", replaceWith: "蔵") + strProcessed.regReplace(pattern: "藥", replaceWith: "薬") + strProcessed.regReplace(pattern: "蘆", replaceWith: "芦") + strProcessed.regReplace(pattern: "處", replaceWith: "処") + strProcessed.regReplace(pattern: "虛", replaceWith: "虚") + strProcessed.regReplace(pattern: "號", replaceWith: "号") + strProcessed.regReplace(pattern: "螢", replaceWith: "蛍") + strProcessed.regReplace(pattern: "蟲", replaceWith: "虫") + strProcessed.regReplace(pattern: "蠟", replaceWith: "蝋") + strProcessed.regReplace(pattern: "蠶", replaceWith: "蚕") + strProcessed.regReplace(pattern: "蠻", replaceWith: "蛮") + strProcessed.regReplace(pattern: "裝", replaceWith: "装") + strProcessed.regReplace(pattern: "覺", replaceWith: "覚") + strProcessed.regReplace(pattern: "覽", replaceWith: "覧") + strProcessed.regReplace(pattern: "觀", replaceWith: "観") + strProcessed.regReplace(pattern: "觸", replaceWith: "触") + strProcessed.regReplace(pattern: "說", replaceWith: "説") + strProcessed.regReplace(pattern: "謠", replaceWith: "謡") + strProcessed.regReplace(pattern: "證", replaceWith: "証") + strProcessed.regReplace(pattern: "譯", replaceWith: "訳") + strProcessed.regReplace(pattern: "譽", replaceWith: "誉") + strProcessed.regReplace(pattern: "讀", replaceWith: "読") + strProcessed.regReplace(pattern: "變", replaceWith: "変") + strProcessed.regReplace(pattern: "讓", replaceWith: "譲") + strProcessed.regReplace(pattern: "豐", replaceWith: "豊") + strProcessed.regReplace(pattern: "豫", replaceWith: "予") + strProcessed.regReplace(pattern: "貓", replaceWith: "猫") + strProcessed.regReplace(pattern: "貳", replaceWith: "弐") + strProcessed.regReplace(pattern: "賣", replaceWith: "売") + strProcessed.regReplace(pattern: "賴", replaceWith: "頼") + strProcessed.regReplace(pattern: "贊", replaceWith: "賛") + strProcessed.regReplace(pattern: "贗", replaceWith: "贋") + strProcessed.regReplace(pattern: "踐", replaceWith: "践") + strProcessed.regReplace(pattern: "輕", replaceWith: "軽") + strProcessed.regReplace(pattern: "輛", replaceWith: "輌") + strProcessed.regReplace(pattern: "轉", replaceWith: "転") + strProcessed.regReplace(pattern: "辭", replaceWith: "辞") + strProcessed.regReplace(pattern: "遞", replaceWith: "逓") + strProcessed.regReplace(pattern: "遥", replaceWith: "遙") + strProcessed.regReplace(pattern: "遲", replaceWith: "遅") + strProcessed.regReplace(pattern: "邊", replaceWith: "辺") + strProcessed.regReplace(pattern: "鄉", replaceWith: "郷") + strProcessed.regReplace(pattern: "酢", replaceWith: "醋") + strProcessed.regReplace(pattern: "醉", replaceWith: "酔") + strProcessed.regReplace(pattern: "醗", replaceWith: "醱") + strProcessed.regReplace(pattern: "醫", replaceWith: "医") + strProcessed.regReplace(pattern: "醬", replaceWith: "醤") + strProcessed.regReplace(pattern: "釀", replaceWith: "醸") + strProcessed.regReplace(pattern: "釋", replaceWith: "釈") + strProcessed.regReplace(pattern: "鋪", replaceWith: "舗") + strProcessed.regReplace(pattern: "錄", replaceWith: "録") + strProcessed.regReplace(pattern: "錢", replaceWith: "銭") + strProcessed.regReplace(pattern: "鍊", replaceWith: "錬") + strProcessed.regReplace(pattern: "鐵", replaceWith: "鉄") + strProcessed.regReplace(pattern: "鑄", replaceWith: "鋳") + strProcessed.regReplace(pattern: "鑛", replaceWith: "鉱") + strProcessed.regReplace(pattern: "閱", replaceWith: "閲") + strProcessed.regReplace(pattern: "關", replaceWith: "関") + strProcessed.regReplace(pattern: "陷", replaceWith: "陥") + strProcessed.regReplace(pattern: "隨", replaceWith: "随") + strProcessed.regReplace(pattern: "險", replaceWith: "険") + strProcessed.regReplace(pattern: "隱", replaceWith: "隠") + strProcessed.regReplace(pattern: "雙", replaceWith: "双") + strProcessed.regReplace(pattern: "雜", replaceWith: "雑") + strProcessed.regReplace(pattern: "雞", replaceWith: "鶏") + strProcessed.regReplace(pattern: "霸", replaceWith: "覇") + strProcessed.regReplace(pattern: "靈", replaceWith: "霊") + strProcessed.regReplace(pattern: "靜", replaceWith: "静") + strProcessed.regReplace(pattern: "顏", replaceWith: "顔") + strProcessed.regReplace(pattern: "顯", replaceWith: "顕") + strProcessed.regReplace(pattern: "餘", replaceWith: "余") + strProcessed.regReplace(pattern: "騷", replaceWith: "騒") + strProcessed.regReplace(pattern: "驅", replaceWith: "駆") + strProcessed.regReplace(pattern: "驗", replaceWith: "験") + strProcessed.regReplace(pattern: "驛", replaceWith: "駅") + strProcessed.regReplace(pattern: "髓", replaceWith: "髄") + strProcessed.regReplace(pattern: "體", replaceWith: "体") + strProcessed.regReplace(pattern: "髮", replaceWith: "髪") + strProcessed.regReplace(pattern: "鬥", replaceWith: "闘") + strProcessed.regReplace(pattern: "鱉", replaceWith: "鼈") + strProcessed.regReplace(pattern: "鷗", replaceWith: "鴎") + strProcessed.regReplace(pattern: "鹼", replaceWith: "鹸") + strProcessed.regReplace(pattern: "鹽", replaceWith: "塩") + strProcessed.regReplace(pattern: "麥", replaceWith: "麦") + strProcessed.regReplace(pattern: "麪", replaceWith: "麺") + strProcessed.regReplace(pattern: "麴", replaceWith: "麹") + strProcessed.regReplace(pattern: "黃", replaceWith: "黄") + strProcessed.regReplace(pattern: "黑", replaceWith: "黒") + strProcessed.regReplace(pattern: "默", replaceWith: "黙") + strProcessed.regReplace(pattern: "點", replaceWith: "点") + strProcessed.regReplace(pattern: "黨", replaceWith: "党") + strProcessed.regReplace(pattern: "齊", replaceWith: "斉") + strProcessed.regReplace(pattern: "齋", replaceWith: "斎") + strProcessed.regReplace(pattern: "齒", replaceWith: "歯") + strProcessed.regReplace(pattern: "齡", replaceWith: "齢") + strProcessed.regReplace(pattern: "龍", replaceWith: "竜") + strProcessed.regReplace(pattern: "龜", replaceWith: "亀") + strProcessed.regReplace(pattern: "叮嚀", replaceWith: "丁寧") + strProcessed.regReplace(pattern: "鄭重", replaceWith: "丁重") + strProcessed.regReplace(pattern: "輿論", replaceWith: "世論") + strProcessed.regReplace(pattern: "唖鈴", replaceWith: "亜鈴") + strProcessed.regReplace(pattern: "交叉", replaceWith: "交差") + strProcessed.regReplace(pattern: "饗宴", replaceWith: "供宴") + strProcessed.regReplace(pattern: "駿馬", replaceWith: "俊馬") + strProcessed.regReplace(pattern: "堡塁", replaceWith: "保塁") + strProcessed.regReplace(pattern: "扁平", replaceWith: "偏平") + strProcessed.regReplace(pattern: "碇泊", replaceWith: "停泊") + strProcessed.regReplace(pattern: "優駿", replaceWith: "優俊") + strProcessed.regReplace(pattern: "尖兵", replaceWith: "先兵") + strProcessed.regReplace(pattern: "尖鋭", replaceWith: "先鋭") + strProcessed.regReplace(pattern: "共軛", replaceWith: "共役") + strProcessed.regReplace(pattern: "饒舌", replaceWith: "冗舌") + strProcessed.regReplace(pattern: "兇器", replaceWith: "凶器") + strProcessed.regReplace(pattern: "鑿岩", replaceWith: "削岩") + strProcessed.regReplace(pattern: "庖丁", replaceWith: "包丁") + strProcessed.regReplace(pattern: "繃帯", replaceWith: "包帯") + strProcessed.regReplace(pattern: "区劃", replaceWith: "区画") + strProcessed.regReplace(pattern: "儼然", replaceWith: "厳然") + strProcessed.regReplace(pattern: "友誼", replaceWith: "友宜") + strProcessed.regReplace(pattern: "叛乱", replaceWith: "反乱") + strProcessed.regReplace(pattern: "蒐集", replaceWith: "収集") + strProcessed.regReplace(pattern: "抒情", replaceWith: "叙情") + strProcessed.regReplace(pattern: "擡頭", replaceWith: "台頭") + strProcessed.regReplace(pattern: "合弁", replaceWith: "合弁") + strProcessed.regReplace(pattern: "歎願", replaceWith: "嘆願") + strProcessed.regReplace(pattern: "廻転", replaceWith: "回転") + strProcessed.regReplace(pattern: "回游", replaceWith: "回遊") + strProcessed.regReplace(pattern: "捧持", replaceWith: "奉持") + strProcessed.regReplace(pattern: "萎縮", replaceWith: "委縮") + strProcessed.regReplace(pattern: "輾転", replaceWith: "展転") + strProcessed.regReplace(pattern: "稀少", replaceWith: "希少") + strProcessed.regReplace(pattern: "眩惑", replaceWith: "幻惑") + strProcessed.regReplace(pattern: "広汎", replaceWith: "広範") + strProcessed.regReplace(pattern: "曠野", replaceWith: "広野") + strProcessed.regReplace(pattern: "廃墟", replaceWith: "廃虚") + strProcessed.regReplace(pattern: "弁当", replaceWith: "弁当") + strProcessed.regReplace(pattern: "弁膜", replaceWith: "弁膜") + strProcessed.regReplace(pattern: "弁護", replaceWith: "弁護") + strProcessed.regReplace(pattern: "辮髪", replaceWith: "弁髪") + strProcessed.regReplace(pattern: "絃歌", replaceWith: "弦歌") + strProcessed.regReplace(pattern: "恩誼", replaceWith: "恩義") + strProcessed.regReplace(pattern: "意嚮", replaceWith: "意向") + strProcessed.regReplace(pattern: "臆断", replaceWith: "憶断") + strProcessed.regReplace(pattern: "臆病", replaceWith: "憶病") + strProcessed.regReplace(pattern: "戦歿", replaceWith: "戦没") + strProcessed.regReplace(pattern: "煽情", replaceWith: "扇情") + strProcessed.regReplace(pattern: "手帖", replaceWith: "手帳") + strProcessed.regReplace(pattern: "伎倆", replaceWith: "技量") + strProcessed.regReplace(pattern: "抜萃", replaceWith: "抜粋") + strProcessed.regReplace(pattern: "披瀝", replaceWith: "披歴") + strProcessed.regReplace(pattern: "牴触", replaceWith: "抵触") + strProcessed.regReplace(pattern: "抽籤", replaceWith: "抽選") + strProcessed.regReplace(pattern: "勾引", replaceWith: "拘引") + strProcessed.regReplace(pattern: "醵出", replaceWith: "拠出") + strProcessed.regReplace(pattern: "醵金", replaceWith: "拠金") + strProcessed.regReplace(pattern: "掘鑿", replaceWith: "掘削") + strProcessed.regReplace(pattern: "扣除", replaceWith: "控除") + strProcessed.regReplace(pattern: "掩護", replaceWith: "援護") + strProcessed.regReplace(pattern: "抛棄", replaceWith: "放棄") + strProcessed.regReplace(pattern: "撒水", replaceWith: "散水") + strProcessed.regReplace(pattern: "敬虔", replaceWith: "敬謙") + strProcessed.regReplace(pattern: "敷衍", replaceWith: "敷延") + strProcessed.regReplace(pattern: "断乎", replaceWith: "断固") + strProcessed.regReplace(pattern: "簇生", replaceWith: "族生") + strProcessed.regReplace(pattern: "陞叙", replaceWith: "昇叙") + strProcessed.regReplace(pattern: "煖房", replaceWith: "暖房") + strProcessed.regReplace(pattern: "暗誦", replaceWith: "暗唱") + strProcessed.regReplace(pattern: "闇夜", replaceWith: "暗夜") + strProcessed.regReplace(pattern: "曝露", replaceWith: "暴露") + strProcessed.regReplace(pattern: "涸渇", replaceWith: "枯渇") + strProcessed.regReplace(pattern: "恰好", replaceWith: "格好") + strProcessed.regReplace(pattern: "恰幅", replaceWith: "格幅") + strProcessed.regReplace(pattern: "毀損", replaceWith: "棄損") + strProcessed.regReplace(pattern: "摸索", replaceWith: "模索") + strProcessed.regReplace(pattern: "欠欠", replaceWith: "欠缺") + strProcessed.regReplace(pattern: "屍体", replaceWith: "死体") + strProcessed.regReplace(pattern: "臀部", replaceWith: "殿部") + strProcessed.regReplace(pattern: "拇指", replaceWith: "母指") + strProcessed.regReplace(pattern: "気魄", replaceWith: "気迫") + strProcessed.regReplace(pattern: "訣別", replaceWith: "決別") + strProcessed.regReplace(pattern: "決潰", replaceWith: "決壊") + strProcessed.regReplace(pattern: "沈澱", replaceWith: "沈殿") + strProcessed.regReplace(pattern: "波瀾", replaceWith: "波乱") + strProcessed.regReplace(pattern: "註釈", replaceWith: "注釈") + strProcessed.regReplace(pattern: "洗滌", replaceWith: "洗濯") + strProcessed.regReplace(pattern: "活潑", replaceWith: "活発") + strProcessed.regReplace(pattern: "滲透", replaceWith: "浸透") + strProcessed.regReplace(pattern: "浸蝕", replaceWith: "浸食") + strProcessed.regReplace(pattern: "銷却", replaceWith: "消却") + strProcessed.regReplace(pattern: "渾然", replaceWith: "混然") + strProcessed.regReplace(pattern: "弯曲", replaceWith: "湾曲") + strProcessed.regReplace(pattern: "熔接", replaceWith: "溶接") + strProcessed.regReplace(pattern: "漁撈", replaceWith: "漁労") + strProcessed.regReplace(pattern: "飄然", replaceWith: "漂然") + strProcessed.regReplace(pattern: "激昂", replaceWith: "激高") + strProcessed.regReplace(pattern: "火焔", replaceWith: "火炎") + strProcessed.regReplace(pattern: "焦躁", replaceWith: "焦燥") + strProcessed.regReplace(pattern: "斑点", replaceWith: "班点") + strProcessed.regReplace(pattern: "溜飲", replaceWith: "留飲") + strProcessed.regReplace(pattern: "掠奪", replaceWith: "略奪") + strProcessed.regReplace(pattern: "疏通", replaceWith: "疎通") + strProcessed.regReplace(pattern: "醱酵", replaceWith: "発酵") + strProcessed.regReplace(pattern: "白堊", replaceWith: "白亜") + strProcessed.regReplace(pattern: "相剋", replaceWith: "相克") + strProcessed.regReplace(pattern: "智慧", replaceWith: "知恵") + strProcessed.regReplace(pattern: "破毀", replaceWith: "破棄") + strProcessed.regReplace(pattern: "確乎", replaceWith: "確固") + strProcessed.regReplace(pattern: "禁錮", replaceWith: "禁固") + strProcessed.regReplace(pattern: "符牒", replaceWith: "符丁") + strProcessed.regReplace(pattern: "扮装", replaceWith: "粉装") + strProcessed.regReplace(pattern: "紫斑", replaceWith: "紫班") + strProcessed.regReplace(pattern: "終熄", replaceWith: "終息") + strProcessed.regReplace(pattern: "綜合", replaceWith: "総合") + strProcessed.regReplace(pattern: "編輯", replaceWith: "編集") + strProcessed.regReplace(pattern: "義捐", replaceWith: "義援") + strProcessed.regReplace(pattern: "肝腎", replaceWith: "肝心") + strProcessed.regReplace(pattern: "悖徳", replaceWith: "背徳") + strProcessed.regReplace(pattern: "脈搏", replaceWith: "脈拍") + strProcessed.regReplace(pattern: "膨脹", replaceWith: "膨張") + strProcessed.regReplace(pattern: "芳醇", replaceWith: "芳純") + strProcessed.regReplace(pattern: "叡智", replaceWith: "英知") + strProcessed.regReplace(pattern: "蒸溜", replaceWith: "蒸留") + strProcessed.regReplace(pattern: "燻蒸", replaceWith: "薫蒸") + strProcessed.regReplace(pattern: "燻製", replaceWith: "薫製") + strProcessed.regReplace(pattern: "衣裳", replaceWith: "衣装") + strProcessed.regReplace(pattern: "衰頽", replaceWith: "衰退") + strProcessed.regReplace(pattern: "悠然", replaceWith: "裕然") + strProcessed.regReplace(pattern: "輔佐", replaceWith: "補佐") + strProcessed.regReplace(pattern: "訓誡", replaceWith: "訓戒") + strProcessed.regReplace(pattern: "試煉", replaceWith: "試練") + strProcessed.regReplace(pattern: "詭弁", replaceWith: "詭弁") + strProcessed.regReplace(pattern: "媾和", replaceWith: "講和") + strProcessed.regReplace(pattern: "象嵌", replaceWith: "象眼") + strProcessed.regReplace(pattern: "貫禄", replaceWith: "貫録") + strProcessed.regReplace(pattern: "買弁", replaceWith: "買弁") + strProcessed.regReplace(pattern: "讚辞", replaceWith: "賛辞") + strProcessed.regReplace(pattern: "蹈襲", replaceWith: "踏襲") + strProcessed.regReplace(pattern: "車両", replaceWith: "車両") + strProcessed.regReplace(pattern: "顛倒", replaceWith: "転倒") + strProcessed.regReplace(pattern: "輪廓", replaceWith: "輪郭") + strProcessed.regReplace(pattern: "褪色", replaceWith: "退色") + strProcessed.regReplace(pattern: "杜絶", replaceWith: "途絶") + strProcessed.regReplace(pattern: "連繫", replaceWith: "連係") + strProcessed.regReplace(pattern: "連合", replaceWith: "連合") + strProcessed.regReplace(pattern: "銓衡", replaceWith: "選考") + strProcessed.regReplace(pattern: "醋酸", replaceWith: "酢酸") + strProcessed.regReplace(pattern: "野鄙", replaceWith: "野卑") + strProcessed.regReplace(pattern: "礦石", replaceWith: "鉱石") + strProcessed.regReplace(pattern: "間歇", replaceWith: "間欠") + strProcessed.regReplace(pattern: "函数", replaceWith: "関数") + strProcessed.regReplace(pattern: "防御", replaceWith: "防御") + strProcessed.regReplace(pattern: "嶮岨", replaceWith: "険阻") + strProcessed.regReplace(pattern: "牆壁", replaceWith: "障壁") + strProcessed.regReplace(pattern: "障礙", replaceWith: "障害") + strProcessed.regReplace(pattern: "湮滅", replaceWith: "隠滅") + strProcessed.regReplace(pattern: "聚落", replaceWith: "集落") + strProcessed.regReplace(pattern: "雇傭", replaceWith: "雇用") + strProcessed.regReplace(pattern: "諷喩", replaceWith: "風諭") + strProcessed.regReplace(pattern: "蜚語", replaceWith: "飛語") + strProcessed.regReplace(pattern: "香奠", replaceWith: "香典") + strProcessed.regReplace(pattern: "骨骼", replaceWith: "骨格") + strProcessed.regReplace(pattern: "亢進", replaceWith: "高進") + strProcessed.regReplace(pattern: "鳥瞰", replaceWith: "鳥観") + strProcessed.regReplace(pattern: "一攫", replaceWith: "一獲") + strProcessed.regReplace(pattern: "肩胛", replaceWith: "肩甲") + strProcessed.regReplace(pattern: "箇条", replaceWith: "個条") + strProcessed.regReplace(pattern: "啓動", replaceWith: "起動") + strProcessed.regReplace(pattern: "三叉路", replaceWith: "三差路") + strProcessed.regReplace(pattern: "嬉遊曲", replaceWith: "喜遊曲") + strProcessed.regReplace(pattern: "建蔽率", replaceWith: "建坪率") + strProcessed.regReplace(pattern: "慰藉料", replaceWith: "慰謝料") + strProcessed.regReplace(pattern: "橋頭堡", replaceWith: "橋頭保") + strProcessed.regReplace(pattern: "油槽船", replaceWith: "油送船") + strProcessed.regReplace(pattern: "耕耘機", replaceWith: "耕運機") return strProcessed } }