Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:呼没有简体字,故把呼和对应的唿删去 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions hanziconv/charmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,27 +143,27 @@
棲鋶餱鯕鉤翽鐋嚌溜缽訁膃搖頴輇袞別佇闠齧詵掙產屜嶽雋闍獎鋣餕減堿著煥郤銍鎣遝镟禿
魨襴梔贇閌貲潛癡哢偽祿騌敘谘茲鳲槁壋魢柵巹鏽鸏繃筍彥糸颭傑鈒夠瀦阪鯷蒞墶簹鈽汙蝟
囪鐔悅璿嫋姍穠櫫勻鰏瘓唕鵐鮶噓淚橫並棬檁暉亙掛薟矓詖佘換鈑渙鶤鶲毀晉絏鏐內卻災鸌
鋙鰠騤馹荊颸魺矽讚爿驏緶脈箏褘崠嬤刪盜況顎繢鎔強嘽懍灩腳脊崢溫靦豬齶呼萇崍嚐閒錩
鋙鰠騤馹荊颸魺矽讚爿驏緶脈箏褘崠嬤刪盜況顎繢鎔強嘽懍灩腳脊崢溫靦豬齶萇崍嚐閒錩屭
冪簷咼棄闒虛羋輬吒攜轀瑒彠韻壪綌贗玨檮怵錡屍鵷貓靜鯝淩藹綞鷊摣訒躕醱蘺鶹贓鮜爭崳
噅驌濔淨駰唚澩繈拋豔硜娛喚蔥紵鼴廈慍贔粵戶賕弳兗扡滾纇瀘璫艤驦劄鮊稟煙飣湧醃瘂屆
廝俁鼇躒齇秈遙絛槨黲鯴歿稈蠔傯嶴臥獮艸譾臟猙鮞榪糊淒緔鮳呂軑鞀瀅沒甕涼檾鱝恥嗬餖
鋝紮垵煆蹤苧鰃誌嶮吳饁廄顏觶騂麅堖紘螿鯗裡閈氹瑉躂屙廚剝棶錆鸘犛黃詠淥鬁疊熲鯵臒
湣驫鱯冇隉褌鎛綯璵諡勱軹決穭蠍鱂猛凜啟鵯鼂窯洶鷁燉韝跡幬閆撐銛譸愨鳧頮睜櫥鷫異颮
逕鰁稅穀錟嚲廂齗呱覥鬮歎鱤蹠颺蓧勳蛻劈冊钜宮皰侶擼礄錈鴬鍈遊魘塚坰椏戩於襏屭
逕鰁稅穀錟嚲廂齗呱覥鬮歎鱤蹠颺蓧勳蛻劈冊钜宮皰侶擼礄錈鴬鍈遊魘塚坰椏戩於襏
""").split())

extra_simplified = ''.join(textwrap.dedent("""
肷闹潆飖幞镙闳慭丢眦氲溆媪饥鲬龁虬瘘凑奂绬宁荙辍鳐脱莼镆贠鲉瑶辀珐兑锽廪捻羡阛奥
栖锍糇鲯钩翙铴哜熘钵讠腽摇颕辁衮别伫阓啮诜挣产屉岳隽阇奖铘馂减碱着焕郄铚蓥沓碹秃
鲀襕栀赟闶赀潜痴咔伪禄骔叙咨兹鸤藁垱鱾栅卺锈鹲绷笋彦纟飐杰钑够潴坂鳀莅垯筜钸污猬
囱镡悦璇袅姗秾橥匀鲾痪唣鹀鲪嘘泪横并桊檩晖亘挂莶眬诐畲换钣涣鹍鹟毁晋绁镠内却灾鹱
铻鳋骙驲荆飔鲄硅赞丬骣缏脉筝袆岽嬷删盗况颚缋镕强啴懔滟脚嵴峥温腼猪腭唿苌崃尝闲锠
铻鳋骙驲荆飔鲄硅赞丬骣缏脉筝袆岽嬷删盗况颚缋镕强啴懔滟脚嵴峥温腼猪腭苌崃尝闲锠屃
幂檐呙弃阘虚芈辌咤携辒玚彟韵塆绤赝珏梼憷锜尸鹓猫静鲴凌蔼缍鹝揸讱蹰酦蓠鹠赃鲘争嵛
咴骕沵净骃吣泶襁抛艳硁娱唤葱纻鼹厦愠赑粤户赇弪兖扦滚颣泸珰舣骦札鲌禀烟饤涌腌痖届
厮俣鳌跞齄籼遥绦椁黪鲺殁秆蚝偬岙卧狝艹谫脏狰鲕杩煳凄绱鲓吕轪鼗滢没瓮凉苘鲼耻呵饾
锊扎埯煅踪苎鳂志崄吴馌厩颜觯骍狍垴纮螀鲞里闬凼珉跶疴厨剥梾锖鹴牦黄咏渌疬叠颎鲹癯
愍骉鳠没陧裈镈绹玙谥劢轵决稆蝎鳉勐凛启鹎鼌窑汹鹢炖鞴迹帱闫撑铦诪悫凫颒睁橱鹔异飑
迳鳈税谷锬亸厢龂哌觍阄叹鳡跖飏莜勋蜕噼册鉅宫疱侣撸硚锩鸴锳游魇冢垧桠戬于袯屃
迳鳈税谷锬亸厢龂哌觍阄叹鳡跖飏莜勋蜕噼册鉅宫疱侣撸硚锩鸴锳游魇冢垧桠戬于袯
""").split())

simplified_charmap = cuhk_simplified + extra_simplified
Expand Down