最近在做拼音输入法,网上找了很多资料,但是大部分程序都是比较老的,有以下几个问题:
1.很多汉字不支持。
2.都是用在T9键盘上,全键盘输入法还没找到。
3.优化关闭可以使用,优化一旦打开就会出错。
输入拼音,显示汉字,最右边大于号为翻页,循环查看。
汉字库为GB2312
#include <stdio.h>
#include <string.h>
#include <stdio.h>
struct PY_index
{
char *PY;
char *PY_mb;
};
//"拼音输入法汉字排列表,码表(mb)"
char PY_mb_a[] ={"啊阿吖嗄腌锕"};
char PY_mb_ai[] ={"埃挨哎唉哀皑癌蔼矮艾碍爱隘捱嗳嗌嫒瑷暧砹锿霭"};
char PY_mb_an[] ={"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌黯"};
char PY_mb_ang[] ={"肮昂盎"};
char PY_mb_ao[] ={"凹敖熬翱袄傲奥懊澳坳拗嗷岙廒遨媪骜獒聱螯鏊鳌鏖"};
char PY_mb_ba[] ={"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝岜灞钯粑鲅魃"};
char PY_mb_bai[] ={"白柏百摆佰败拜稗伯捭掰"};
char PY_mb_ban[] ={"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂贲钣瘢癍舨"};
char PY_mb_bang[] ={"邦帮梆榜膀绑棒磅蚌镑傍谤蒡浜"};
char PY_mb_bao[] ={"苞胞包褒剥薄雹保堡饱宝抱报暴豹鲍爆刨炮勹葆孢煲鸨褓趵龅"};
char PY_mb_bei[] ={"杯碑悲卑北辈背贝钡倍狈备惫焙被臂孛陂邶埤萆蓓呗悖碚鹎褙鐾鞴"};
char PY_mb_ben[] ={"奔苯本笨畚坌贲锛"};
char PY_mb_beng[] ={"蚌崩绷甭泵蹦迸堋嘣甏"};
char PY_mb_bi[] ={"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛秘泌匕俾埤芘荜荸萆薜吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀"};
char PY_mb_bian[] ={"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥窆褊蝙笾鳊"};
char PY_mb_biao[] ={"标彪膘表婊骠杓飑飙飚灬镖镳瘭裱鳔髟"};
char PY_mb_bie[] ={"鳖憋别瘪蹩"};
char PY_mb_bin[] ={"彬斌濒滨宾摈傧豳缤玢槟殡膑镔髌鬓"};
char PY_mb_bing[] ={"兵冰柄丙秉饼炳病并屏禀冫邴摒槟"};
char PY_mb_bo[] ={"柏百剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳卜孛亳蕃啵饽檗擘礴钹鹁簸趵跛踣"};
char PY_mb_bu[] ={"堡捕卜哺补埠不布步簿部怖埔卟逋瓿晡钚钸醭"};
char PY_mb_ca[] ={"擦嚓礤"};
char PY_mb_cai[] ={"猜裁材才财睬踩采彩菜蔡"};
char PY_mb_can[] ={"餐参蚕残惭惨灿孱骖璨粲黪"};
char PY_mb_cang[] ={"苍舱仓沧藏伧"};
char PY_mb_cao[] ={"操糙槽曹草艹嘈漕螬艚"};
char PY_mb_ce[] ={"厕策侧册测恻"};
char PY_mb_cen[] ={"参岑涔"};
char PY_mb_ceng[] ={"层蹭曾噌"};
char PY_mb_cha[] ={"插叉茬茶查碴搽察岔差诧刹喳嚓猹馇汊姹杈楂槎檫锸镲衩"};
char PY_mb_chai[] ={"差拆柴豺侪钗瘥虿龇"};
char PY_mb_chan[] ={"搀掺蝉馋谗缠铲产阐颤单冁谄蒇廛忏潺澶孱羼婵觇禅镡蟾躔"};
char PY_mb_chang[] ={"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳"};
char PY_mb_chao[] ={"超抄钞朝嘲潮巢吵炒绰剿怊晁耖"};
char PY_mb_che[] ={"车扯撤掣彻澈坼屮砗"};
char PY_mb_chen[] ={"郴臣辰尘晨忱沉陈趁衬称谌谶抻嗔宸琛榇碜龀"};
char PY_mb_cheng[] ={"撑称城橙成呈乘程惩澄诚承逞骋秤盛丞埕噌徵枨柽塍瞠铖铛裎蛏酲"};
char PY_mb_chi[] ={"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺坻墀茌叱哧啻嗤彳饬媸敕眵鸱瘛褫蚩螭笞篪豉踟魑"};
char PY_mb_chong[] ={"充冲虫崇宠种重茺忡憧铳舂艟"};
char PY_mb_chou[] ={"抽酬畴踌稠愁筹仇绸瞅丑臭俦帱惆瘳雠"};
char PY_mb_chu[] ={"初出橱厨躇锄雏滁除楚础储矗搐触处畜亍刍怵憷绌杵楮樗褚蜍蹰黜"};
char PY_mb_chuai[] ={"揣搋嘬膪踹"};
char PY_mb_chuan[] ={"川穿椽传船喘串舛遄巛氚钏舡"};
char PY_mb_chuang[]={"疮窗幢床闯创怆疒"};
char PY_mb_chui[] ={"吹炊捶锤垂陲棰槌"};
char PY_mb_chun[] ={"春椿醇唇淳纯蠢莼鹑蝽"};
char PY_mb_chuo[] ={"戳绰啜辶辍踔龊"};
char PY_mb_ci[] ={"差疵茨磁雌辞慈瓷词此刺赐次伺兹茈呲祠鹚粢糍"};
char PY_mb_cong[] ={"聪葱囱匆从丛苁淙骢琮璁枞"};
char PY_mb_cou[] ={"凑楱辏腠"};
char PY_mb_cu[] ={"粗醋簇促蔟徂猝殂酢蹙蹴"};
char PY_mb_cuan[] ={"蹿篡窜攒汆撺爨镩"};
char PY_mb_cui[] ={"摧崔催脆瘁粹淬翠萃啐悴璀榱毳隹"};
char PY_mb_cun[] ={"村存寸忖皴"};
char PY_mb_cuo[] ={"磋撮搓措挫错厝嵯脞锉矬痤瘥鹾蹉躜"};
char PY_mb_da[] ={"搭达答瘩打大耷哒嗒怛妲沓疸褡笪靼鞑"};
char PY_mb_dai[] ={"大呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨骀绐玳黛"};
char PY_mb_dan[] ={"耽担丹单郸掸胆旦氮但惮淡诞弹蛋赡石儋萏啖澹殚赕眈疸瘅聃箪"};
char PY_mb_dang[] ={"当挡党荡档谠凼菪宕砀铛裆"};
char PY_mb_dao[] ={"刀捣蹈倒岛祷导到稻悼道盗刂叨帱忉氘焘纛"};
char PY_mb_de[] ={"德得的地锝"};
char PY_mb_dei[] ={"得"};
char PY_mb_deng[] ={"澄蹬灯登等瞪凳邓噔嶝戥磴镫簦"};
char PY_mb_di[] ={"的堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔提氐籴诋谛邸坻荻嘀娣柢棣觌砥碲睇镝羝骶"};
char PY_mb_dia[] ={"嗲"};
char PY_mb_dian[] ={"颠掂滇碘点典靛垫电佃甸店惦奠淀殿阽坫巅玷钿癜癫簟踮"};
char PY_mb_diao[] ={"碉叼雕凋刁掉吊钓调铞铫貂鲷"};
char PY_mb_die[] ={"跌爹碟蝶迭谍叠垤堞揲喋牒瓞耋蹀鲽"};
char PY_mb_ding[] ={"丁盯叮钉顶鼎锭定订仃啶玎腚碇町铤疔耵酊"};
char PY_mb_diu[] ={"丢铥"};
char PY_mb_dong[] ={"东冬董懂动栋侗恫冻洞咚岽峒氡胨胴硐鸫"};
char PY_mb_dou[] ={"兜抖斗陡豆逗痘都蔸窦蚪篼"};
char PY_mb_du[] ={"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟牍蠹笃髑黩"};
char PY_mb_duan[] ={"端短锻段断缎椴煅簖"};
char PY_mb_dui[] ={"堆兑队对怼憝碓"};
char PY_mb_dun[] ={"墩吨蹲敦顿囤钝盾遁沌炖砘礅盹镦趸"};
char PY_mb_duo[] ={"度掇哆多夺垛躲朵跺舵剁惰堕驮咄哚沲缍铎裰踱"};
char PY_mb_e[] ={"阿蛾峨鹅俄额讹娥恶厄扼遏鄂饿哦噩谔垩苊莪萼呃愕屙婀轭腭锇锷鹗颚鳄"};
char PY_mb_ei[] ={"诶"};
char PY_mb_en[] ={"恩蒽摁"};
char PY_mb_er[] ={"而儿耳尔饵洱二贰迩珥铒鸸鲕"};
char PY_mb_fa[] ={"发罚筏伐乏阀法珐垡砝"};
char PY_mb_fan[] ={"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蕃蘩幡梵燔畈蹯"};
char PY_mb_fang[] ={"坊芳方肪房防妨仿访纺放匚邡枋钫舫鲂"};
char PY_mb_fei[] ={"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绯榧贲腓斐扉砩镄痱蜚篚翡霏鲱"};
char PY_mb_fen[] ={"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵玢棼贲鲼鼢"};
char PY_mb_feng[] ={"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑唪沣砜"};
char PY_mb_fo[] ={"佛"};
char PY_mb_fou[] ={"否缶"};
char PY_mb_fu[] ={"佛夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫阝郛芙芾苻茯莩菔拊呋幞怫滏艴孚驸绂绋桴赙祓砩黻黼罘稃馥蚨蜉蝠蝮麸趺跗鲋鳆"};
char PY_mb_ga[] ={"噶嘎夹咖伽尬尕尜旮钆"};
char PY_mb_gai[] ={"该改概钙盖溉芥丐陔垓戤赅胲"};
char PY_mb_gan[] ={"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐"};
char PY_mb_gang[] ={"冈刚钢缸肛纲岗港杠扛戆罡筻"};
char PY_mb_gao[] ={"篙皋高膏羔糕搞镐稿告睾诰郜藁缟槔槁杲锆"};
char PY_mb_ge[] ={"盖哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各合咯鬲仡哿圪塥嗝纥搿膈铪镉袼虼舸骼"};
char PY_mb_gei[] ={"给"};
char PY_mb_gen[] ={"根跟亘茛哏艮"};
char PY_mb_geng[] ={"耕更庚羹埂耿梗颈哽赓绠鲠"};
char PY_mb_gong[] ={"工攻功恭龚供躬公宫弓巩汞拱贡共廾珙肱蚣觥"};
char PY_mb_gou[] ={"钩勾沟苟狗垢构购够佝诟岣遘媾缑枸觏彀笱篝鞲"};
char PY_mb_gu[] ={"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇贾嘏诂菰崮汩梏轱牯牿臌毂瞽罟钴锢鸪鹄痼蛄酤觚鲴鹘"};
char PY_mb_gua[] ={"刮瓜剐寡挂褂卦诖呱栝胍鸹"};
char PY_mb_guai[] ={"乖拐怪掴"};
char PY_mb_guan[] ={"棺关官冠观管馆罐惯灌贯纶倌莞掼涫盥鹳鳏"};
char PY_mb_guang[] ={"光广逛咣犷桄胱"};
char PY_mb_gui[] ={"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽炔匦刿庋宄妫桧炅晷皈簋鲑鳜"};
char PY_mb_gun[] ={"辊滚棍衮绲磙鲧"};
char PY_mb_guo[] ={"锅郭国果裹过涡馘埚掴呙帼崞猓椁虢锞聒蜾蝈"};
char PY_mb_ha[] ={"蛤哈铪"};
char PY_mb_hai[] ={"骸孩海氦亥害骇还咳嗨胲醢"};
char PY_mb_han[] ={"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖瀚晗焓顸颔蚶鼾"};
char PY_mb_hang[] ={"夯杭航吭巷行沆绗颃"};
char PY_mb_hao[] ={"镐壕嚎豪毫郝好耗号浩貉蒿薅嗥嚆濠灏昊皓颢蚝"};
char PY_mb_he[] ={"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺吓诃劾壑嗬阖纥曷盍颌蚵翮"};
char PY_mb_hei[] ={"嘿黑"};
char PY_mb_hen[] ={"痕很狠恨"};
char PY_mb_heng[] ={"哼亨横衡恒蘅珩桁"};
char PY_mb_hong[] ={"轰哄烘虹鸿洪宏弘红黉訇讧荭蕻薨闳泓"};
char PY_mb_hou[] ={"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺"};
char PY_mb_hu[] ={"核呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜瓠鹄鹕鹱虍笏醐斛鹘"};
char PY_mb_hua[] ={"花哗华猾滑画划化话骅桦砉铧"};
char PY_mb_huai[] ={"槐徊怀淮坏踝"};
char PY_mb_huan[] ={"欢环桓还缓换患唤痪豢焕涣宦幻郇奂垸萑擐圜獾洹浣漶寰逭缳锾鲩鬟"};
char PY_mb_huang[] ={"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇"};
char PY_mb_hui[] ={"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘溃诙茴荟蕙咴哕喙隳洄浍彗缋桧晖恚虺蟪麾"};
char PY_mb_hun[] ={"荤昏婚魂浑混诨馄阍溷珲"};
char PY_mb_huo[] ={"和豁活伙火获或惑霍货祸劐藿攉嚯夥钬锪镬耠蠖"};
char PY_mb_ji[] ={"给击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪藉奇系丌亟乩剞佶偈墼芨芰荠萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠虮笈笄暨跻跽霁鲚鲫髻麂"};
char PY_mb_jia[] ={"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁茄嘏伽郏葭岬浃迦珈戛胛恝铗铪镓痂瘕袷蛱笳袈跏"};
char PY_mb_jian[] ={"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫谮菅蒹搛囝湔蹇謇缣枧楗戋戬牮犍毽腱睑锏鹣裥笕翦趼踺鲣鞯"};
char PY_mb_jiang[] ={"虹僵姜将浆江疆蒋桨奖讲匠酱降强茳洚绛缰犟礓耩糨豇"};
char PY_mb_jiao[] ={"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖觉校佼僬艽茭挢噍峤徼姣敫皎鹪蛟醮跤鲛"};
char PY_mb_jie[] ={"揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘卩拮喈嗟婕孑桀碣锴疖颉蚧羯鲒骱"};
char PY_mb_jin[] ={"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽劲卺荩堇噤馑廑妗缙瑾槿赆觐钅衿矜"};
char PY_mb_jing[] ={"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱陉菁獍憬泾迳弪婧肼胫腈旌靓"};
char PY_mb_jiong[] ={"炯窘冂迥扃"};
char PY_mb_jiu[] ={"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鸠鹫赳鬏"};
char PY_mb_ju[] ={"车柜鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎瞿鞫"};
char PY_mb_juan[] ={"捐鹃娟倦眷卷绢圈鄄狷涓桊蠲锩镌隽"};
char PY_mb_jue[] ={"嚼脚角撅攫抉掘倔爵觉决诀绝厥劂谲矍堀蕨噘崛獗孓珏桷橛爝镢蹶觖"};
char PY_mb_jun[] ={"龟均菌钧军君峻俊竣浚郡骏捃皲筠麇"};
char PY_mb_ka[] ={"喀咖卡咯佧咔胩"};
char PY_mb_kai[] ={"开揩楷凯慨剀垲蒈忾恺铠锎锴"};
char PY_mb_kan[] ={"槛刊堪勘坎砍看侃凵莰阚戡龛瞰"};
char PY_mb_kang[] ={"康慷糠扛抗亢炕伉闶钪"};
char PY_mb_kao[] ={"考拷烤靠尻栲犒铐"};
char PY_mb_ke[] ={"呵坷苛柯棵磕颗科壳咳可渴克刻客课嗑岢恪溘骒缂珂轲氪瞌钶铪锞稞疴窠颏蚵蝌髁"};
char PY_mb_ken[] ={"肯啃垦恳裉"};
char PY_mb_keng[] ={"坑吭胫铒铿"};
char PY_mb_kong[] ={"空恐孔控倥崆箜"};
char PY_mb_kou[] ={"抠口扣寇芤蔻叩眍筘"};
char PY_mb_ku[] ={"枯哭窟苦酷库裤刳堀喾绔骷"};
char PY_mb_kua[] ={"夸垮挎跨胯侉锞"};
char PY_mb_kuai[] ={"会块筷侩快蒯郐哙狯脍"};
char PY_mb_kuan[] ={"宽款髋"};
char PY_mb_kuang[] ={"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶"};
char PY_mb_kui[] ={"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗蒉揆喹喟悝愦逵暌睽聩蝰篑跬"};
char PY_mb_kun[] ={"坤昆捆困悃阃琨锟醌鲲髡"};
char PY_mb_kuo[] ={"括扩廓阔蛞"};
char PY_mb_la[] ={"垃拉喇蜡腊辣啦落剌邋旯砬瘌"};
char PY_mb_lai[] ={"莱来赖崃徕涞濑赉睐铼癞籁"};
char PY_mb_lan[] ={"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥岚漤榄斓罱镧褴"};
char PY_mb_lang[] ={"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂"};
char PY_mb_lao[] ={"捞劳牢老佬姥酪烙涝落络唠崂栳铑铹痨耢醪"};
char PY_mb_le[] ={"勒乐了仂叻泐鳓"};
char PY_mb_lei[] ={"勒雷镭蕾磊累儡垒擂肋类泪羸诔嘞嫘缧檑耒酹"};
char PY_mb_leng[] ={"棱楞冷塄愣"};
char PY_mb_li[] ={"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩鬲俪俚郦坜苈莅蓠藜呖唳喱猁溧澧逦娌嫠骊缡枥栎轹戾砺砬詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧"};
char PY_mb_lia[] ={"俩"};
char PY_mb_lian[] ={"联莲连镰廉怜涟帘敛脸链恋炼练蔹奁潋濂琏楝殓臁裢裣蠊鲢"};
char PY_mb_liang[] ={"俩粮凉梁粱良两辆量晾亮谅墚莨椋踉魉"};
char PY_mb_liao[] ={"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩"};
char PY_mb_lie[] ={"列裂烈劣猎冽埒捩咧洌趔躐鬣"};
char PY_mb_lin[] ={"琳林磷霖临邻鳞淋凛赁吝拎蔺啉嶙廪懔遴檩辚膦瞵粼躏麟"};
char PY_mb_ling[] ={"棱玲菱零龄铃伶羚凌灵陵岭领另令酃苓呤囹泠绫柃棂瓴聆蛉翎鲮"};
char PY_mb_liu[] ={"溜琉榴硫馏留刘瘤流柳六碌陆浏遛骝绺旒熘锍镏鹨鎏"};
char PY_mb_lo[] ={"咯"};
char PY_mb_long[] ={"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃"};
char PY_mb_lou[] ={"楼娄搂篓漏陋露偻蒌喽嵝镂瘘耧蝼髅"};
char PY_mb_lu[] ={"六芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮绿垆撸噜泸渌漉逯璐栌橹轳辂辘贲氇胪镥鸬鹭簏舻鲈"};
char PY_mb_luan[] ={"峦挛孪滦卵乱脔娈栾鸾銮"};
char PY_mb_lun[] ={"抡轮伦仑沦纶论囵"};
char PY_mb_luo[] ={"铬咯烙萝螺罗逻锣箩骡裸落洛骆络倮蠃荦捋摞猡泺漯珞椤脶硌镙瘰雒"};
char PY_mb_lv[] ={"驴吕铝侣旅履屡缕虑氯律率滤绿偻捋闾榈膂稆褛"};
char PY_mb_lue[] ={"掠略锊"};
char PY_mb_ma[] ={"妈麻玛码蚂马骂嘛吗摩抹唛犸嬷杩蟆"};
char PY_mb_mai[] ={"埋买麦卖迈脉劢荬霾"};
char PY_mb_man[] ={"埋瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔"};
char PY_mb_mang[] ={"芒茫盲氓忙莽邙漭硭蟒"};
char PY_mb_mao[] ={"猫茅锚毛矛铆卯茂冒帽貌贸袤茆峁泖瑁昴牦耄旄懋瞀蝥蟊髦"};
char PY_mb_me[] ={"么"};
char PY_mb_mei[] ={"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚莓嵋猸浼湄楣镅鹛袂魅"};
char PY_mb_men[] ={"门闷们扪焖懑钔"};
char PY_mb_meng[] ={"萌蒙檬盟锰猛梦孟勐甍瞢懵朦礞虻蜢蠓艋艨"};
char PY_mb_mi[] ={"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼咪嘧猕汨宓弭纟脒祢敉糸縻麋"};
char PY_mb_mian[] ={"棉眠绵冕免勉娩缅面沔渑湎宀腼眄"};
char PY_mb_miao[] ={"苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋"};
char PY_mb_mie[] ={"蔑灭乜咩蠛篾"};
char PY_mb_min[] ={"民抿皿敏悯闽苠岷闵泯缗玟珉愍黾鳘"};
char PY_mb_ming[] ={"明螟鸣铭名命冥茗溟暝瞑酩"};
char PY_mb_miu[] ={"谬缪"};
char PY_mb_mo[] ={"脉没摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌万谟茉蓦馍嫫殁镆秣瘼耱貊貘麽"};
char PY_mb_mou[] ={"谋牟某侔哞缪眸蛑鍪"};
char PY_mb_mu[] ={"模牟拇牡亩姆母墓暮幕募慕木目睦牧穆仫坶苜沐毪钼"};
char PY_mb_na[] ={"拿哪呐钠那娜纳捺肭镎衲"};
char PY_mb_nai[] ={"氖乃奶耐奈鼐佴艿萘柰"};
char PY_mb_nan[] ={"南男难喃囡楠腩蝻赧"};
char PY_mb_nang[] ={"囊攮囔馕曩"};
char PY_mb_nao[] ={"挠脑恼闹淖孬垴呶猱瑙硇铙蛲"};
char PY_mb_ne[] ={"哪呢讷"};
char PY_mb_nei[] ={"馁内"};
char PY_mb_nen[] ={"嫩恁"};
char PY_mb_neng[] ={"能"};
char PY_mb_ng[] ={"嗯"};
char PY_mb_ni[] ={"呢妮霓倪泥尼拟你匿腻逆溺伲坭猊怩昵旎祢慝睨铌鲵"};
char PY_mb_nian[] ={"蔫拈年碾撵捻念廿埝辇黏鲇鲶"};
char PY_mb_niang[] ={"娘酿"};
char PY_mb_niao[] ={"鸟尿茑嬲脲袅"};
char PY_mb_nie[] ={"捏聂孽啮镊镍涅乜陧蘖嗫颞臬蹑"};
char PY_mb_nin[] ={"您"};
char PY_mb_ning[] ={"柠狞凝宁拧泞佞咛甯聍"};
char PY_mb_niu[] ={"牛扭钮纽拗狃忸妞"};
char PY_mb_nong[] ={"脓浓农弄侬哝"};
char PY_mb_nou[] ={"耨"};
char PY_mb_nu[] ={"奴努怒弩胬孥驽"};
char PY_mb_nv[] ={"女恧钕衄"};
char PY_mb_nue[] ={"虐疟"};
char PY_mb_nuan[] ={"暖"};
char PY_mb_nuo[] ={"娜挪懦糯诺傩搦喏锘"};
char PY_mb_o[] ={"哦喔噢"};
char PY_mb_ou[] ={"欧鸥殴藕呕偶沤区讴怄瓯耦"};
char PY_mb_pa[] ={"扒耙啪趴爬帕怕琶葩杷筢"};
char PY_mb_pai[] ={"拍排牌徘湃派迫俳蒎哌"};
char PY_mb_pan[] ={"番攀潘盘磐盼畔判叛胖拚丬爿泮贲袢襻蟠蹒"};
char PY_mb_pang[] ={"膀磅镑乓庞旁耪胖彷滂逄螃"};
char PY_mb_pao[] ={"抛咆刨炮袍跑泡匏狍庖脬疱"};
char PY_mb_pei[] ={"呸胚培裴赔陪配佩沛辔帔旆锫醅霈"};
char PY_mb_pen[] ={"喷盆湓"};
char PY_mb_peng[] ={"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰堋嘭怦蟛"};
char PY_mb_pi[] ={"辟否坯砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕仳陂陴邳郫圮埤鼙芘擗噼庀淠媲纰枇甓睥罴铍癖裨疋蚍蜱貔"};
char PY_mb_pian[] ={"扁便篇偏片骗谝骈缏犏胼翩蹁"};
char PY_mb_piao[] ={"飘漂瓢票朴剽嘌嫖骠缥殍瞟螵"};
char PY_mb_pie[] ={"撇瞥丿苤氕"};
char PY_mb_pin[] ={"拼频贫品聘姘嫔榀牝颦"};
char PY_mb_ping[] ={"冯乒坪苹萍平凭瓶评屏俜娉枰鲆"};
char PY_mb_po[] ={"泊繁坡泼颇婆破魄迫粕朴叵陂鄱珀攴攵钋钷皤笸"};
char PY_mb_pou[] ={"剖裒掊"};
char PY_mb_pu[] ={"堡暴脯扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗溥濮璞氆镤镨蹼"};
char PY_mb_qi[] ={"稽缉期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓俟圻芑芪荠萋葺蕲嘁屺岐汔淇骐绮琪琦杞桤槭耆欹祺憩碛颀蛴蜞綦綮蹊鳍麒"};
char PY_mb_qia[] ={"卡掐恰洽葜袷髂"};
char PY_mb_qian[] ={"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉纤倩佥阡芊芡茜荨掮岍悭慊骞搴褰缱椠犍肷愆钤虔箝羟"};
char PY_mb_qiang[] ={"枪呛腔羌墙蔷强抢丬戕嫱樯戗炝锵镪襁蜣羟跄"};
char PY_mb_qiao[] ={"壳橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍雀劁诮谯荞峤愀憔缲樵硗铫跷鞒"};
char PY_mb_qie[] ={"切茄且怯窃伽郄惬慊妾挈锲箧趄"};
char PY_mb_qin[] ={"钦侵亲秦琴勤芹擒禽寝沁芩揿吣嗪噙廑檎锓矜覃螓衾"};
char PY_mb_qing[] ={"亲青轻氢倾卿清擎晴氰情顷请庆苘圊檠磬锖蜻罄箐綮謦鲭黥"};
char PY_mb_qiong[] ={"琼穷邛茕穹蛩筇跫銎"};
char PY_mb_qiu[] ={"仇龟秋丘邱球求囚酋泅俅巯犰湫逑遒楸赇虬蚯蝤裘糗鳅"};
char PY_mb_qu[] ={"趋区蛆曲躯屈驱渠取娶龋趣去戌诎劬凵苣蕖蘧岖衢阒璩觑氍朐祛磲鸲癯蛐蠼麴瞿黢"};
char PY_mb_quan[] ={"圈颧权醛泉全痊拳犬券劝诠荃犭悛绻辁畎铨蜷筌鬈"};
char PY_mb_que[] ={"缺炔瘸却鹊榷确雀阕阙悫"};
char PY_mb_qui[] ={"鼽"};
char PY_mb_qun[] ={"裙群逡麇"};
char PY_mb_ran[] ={"然燃冉染苒蚺髯"};
char PY_mb_rang[] ={"瓤壤攘嚷让禳穰"};
char PY_mb_rao[] ={"饶扰绕荛娆桡"};
char PY_mb_re[] ={"惹热喏"};
char PY_mb_ren[] ={"壬仁人忍韧任认刃妊纫亻仞荏葚饪轫稔衽"};
char PY_mb_reng[] ={"扔仍"};
char PY_mb_ri[] ={"日"};
char PY_mb_rong[] ={"戎茸蓉荣融熔溶容绒冗嵘狨榕肜蝾"};
char PY_mb_rou[] ={"揉柔肉糅蹂鞣"};
char PY_mb_ru[] ={"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡缛铷襦颥"};
char PY_mb_ruan[] ={"软阮朊"};
char PY_mb_rui[] ={"蕊瑞锐芮蕤枘睿蚋"};
char PY_mb_run[] ={"闰润"};
char PY_mb_ruo[] ={"若弱偌箬"};
char PY_mb_sa[] ={"撒洒萨卅仨脎飒"};
char PY_mb_sai[] ={"腮鳃塞赛噻"};
char PY_mb_san[] ={"三叁伞散馓毵糁"};
char PY_mb_sang[] ={"桑嗓丧搡磉颡"};
char PY_mb_sao[] ={"搔骚扫嫂埽缫臊瘙鳋"};
char PY_mb_se[] ={"塞瑟色涩啬铯穑"};
char PY_mb_sen[] ={"森"};
char PY_mb_seng[] ={"僧"};
char PY_mb_sha[] ={"莎砂杀刹沙纱傻啥煞杉厦唼歃铩痧裟霎鲨"};
char PY_mb_shai[] ={"色筛晒"};
char PY_mb_shan[] ={"掺单珊苫杉山删煽衫闪陕擅赡膳善汕扇缮栅剡讪鄯埏芟彡潸姗嬗骟膻禅钐疝蟮舢跚鳝髟"};
char PY_mb_shang[] ={"墒伤商赏晌上尚裳垧绱殇熵觞"};
char PY_mb_shao[] ={"鞘梢捎稍烧芍勺韶少哨邵绍劭苕潲杓蛸筲艄"};
char PY_mb_she[] ={"奢赊蛇舌舍赦摄射慑涉社设折厍佘揲猞滠歙畲铊麝"};
char PY_mb_shei[] ={"谁"};
char PY_mb_shen[] ={"参砷申呻伸身深娠绅神沈审婶甚肾慎渗什诜谂莘葚哂渖椹胂矧蜃"};
char PY_mb_sheng[] ={"乘声生甥牲升绳省盛剩胜圣嵊渑晟眚笙"};
char PY_mb_shi[] ={"匙师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试似殖峙谥埘莳蓍弑饣轼贳炻礻铈铊螫舐筮酾豕鲥鲺"};
char PY_mb_shou[] ={"收手首守寿授售受瘦兽扌狩绶艏"};
char PY_mb_shu[] ={"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕丨倏塾菽摅沭澍姝纾毹腧殳镯秫疋"};
char PY_mb_shua[] ={"刷耍唰"};
char PY_mb_shuai[] ={"率摔衰甩帅蟀"};
char PY_mb_shuan[] ={"栓拴闩涮"};
char PY_mb_shuang[]={"霜双爽泷孀"};
char PY_mb_shui[] ={"水睡税说氵"};
char PY_mb_shun[] ={"吮瞬顺舜"};
char PY_mb_shuo[] ={"数说硕朔烁蒴搠妁槊铄"};
char PY_mb_si[] ={"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕厶咝饣汜泗澌姒驷缌祀锶鸶耜蛳笥"};
char PY_mb_song[] ={"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦"};
char PY_mb_sou[] ={"搜艘擞嗽叟薮嗖嗾馊溲飕瞍锼螋"};
char PY_mb_su[] ={"苏酥俗素速粟僳塑溯宿诉肃缩夙谡蔌嗉愫涑簌觫稣"};
char PY_mb_suan[] ={"酸蒜算狻"};
char PY_mb_sui[] ={"尿虽隋随绥髓碎岁穗遂隧祟谇荽濉邃燧眭睢"};
char PY_mb_sun[] ={"孙损笋荪狲飧榫隼"};
char PY_mb_suo[] ={"莎蓑梭唆缩琐索锁所唢嗦嗍娑桫挲睃羧"};
char PY_mb_ta[] ={"塌他它她塔獭挞蹋踏拓闼溻漯遢榻沓铊趿鳎"};
char PY_mb_tai[] ={"胎苔抬台泰酞太态汰邰薹骀肽炱钛跆鲐"};
char PY_mb_tan[] ={"弹坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯澹昙赕忐钽锬镡覃"};
char PY_mb_tang[] ={"汤塘搪堂棠膛唐糖倘躺淌趟烫傥帑饧溏瑭樘铛铴镗耥螗螳羰醣"};
char PY_mb_tao[] ={"掏涛滔绦萄桃逃淘陶讨套鼗叨啕洮韬焘饕"};
char PY_mb_te[] ={"特忒忑铽"};
char PY_mb_teng[] ={"藤腾疼誊滕"};
char PY_mb_ti[] ={"梯剔踢锑提题蹄啼体替嚏惕涕剃屉倜荑悌逖绨缇鹈裼醍"};
char PY_mb_tian[] ={"天添填田甜恬舔腆掭忝阗殄畋钿锘"};
char PY_mb_tiao[] ={"调挑条迢眺跳佻苕祧铫窕蜩笤粜龆鲦髫"};
char PY_mb_tie[] ={"贴铁帖萜锇餮"};
char PY_mb_ting[] ={"厅听烃汀廷停亭庭挺艇莛葶婷梃铤蜓霆"};
char PY_mb_tong[] ={"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝垌茼嗵峒恸潼砼"};
char PY_mb_tou[] ={"偷投头透亠钭骰"};
char PY_mb_tu[] ={"凸秃突图徒途涂屠土吐兔堍荼菟钍酴"};
char PY_mb_tuan[] ={"湍团抟彖疃"};
char PY_mb_tui[] ={"推颓腿蜕褪退煺"};
char PY_mb_tun[] ={"囤褪吞屯臀氽饨暾豚"};
char PY_mb_tuo[] ={"说拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝柁橐砣铊箨酡跎鼍"};
char PY_mb_wa[] ={"挖哇蛙洼娃瓦袜佤娲腽"};
char PY_mb_wai[] ={"歪外崴"};
char PY_mb_wan[] ={"蔓豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄莞菀纨绾琬脘畹蜿鞔"};
char PY_mb_wang[] ={"汪王亡枉网往旺望忘妄罔尢惘辋魍"};
char PY_mb_wei[] ={"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫偎诿隈隗圩葳薇囗帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨痿艉鲔"};
char PY_mb_wen[] ={"瘟温蚊文闻纹吻稳紊问刎阌汶玟璺雯"};
char PY_mb_weng[] ={"嗡翁瓮蓊蕹"};
char PY_mb_wo[] ={"挝蜗涡窝我斡卧握沃倭莴喔幄渥肟硪龌"};
char PY_mb_wu[] ={"恶巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴唔庑怃忤浯寤迕妩婺骛杌牾於焐鹉鹜痦蜈鋈鼯"};
char PY_mb_xi[] ={"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细匚僖兮隰郗茜菥葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷歙熹禊禧皙穸裼蜥螅蟋舄舾羲粞翕醯蹊鼷"};
char PY_mb_xia[] ={"瞎虾匣霞辖暇峡侠狭下厦夏吓呷狎遐瑕柙硖罅黠"};
char PY_mb_xian[] ={"铣洗掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼苋莶藓岘猃暹娴氙燹祆鹇痃痫蚬筅籼酰跣跹霰"};
char PY_mb_xiang[] ={"降相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨"};
char PY_mb_xiao[] ={"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓潇逍骁绡枭枵蛸筱箫魈"};
char PY_mb_xie[] ={"解楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑血叶偕亵勰燮薤撷獬廨渫瀣邂绁缬榭榍颉躞鲑骱"};
char PY_mb_xin[] ={"薪芯锌欣辛新忻心信衅囟馨莘忄昕歆镡鑫"};
char PY_mb_xing[] ={"省星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤饧悻硎"};
char PY_mb_xiong[] ={"兄凶胸匈汹雄熊芎"};
char PY_mb_xiu[] ={"臭宿休修羞朽嗅锈秀袖绣咻岫馐庥溴鸺貅髹"};
char PY_mb_xu[] ={"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续吁诩勖圩蓿洫浒溆顼栩煦盱胥糈醑"};
char PY_mb_xuan[] ={"券轩喧宣悬旋玄选癣眩绚儇谖萱揎泫渲漩璇楦暄炫煊碹铉镟"};
char PY_mb_xue[] ={"削靴薛学穴雪血谑噱泶踅鳕"};
char PY_mb_xun[] ={"浚勋熏循旬询寻驯巡殉汛训讯逊迅巽郇埙荀荨蕈薰峋徇獯恂洵浔曛窨醺鲟"};
char PY_mb_ya[] ={"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶轧伢垭揠岈迓娅琊桠氩砑睚痖疋"};
char PY_mb_yan[] ={"铅焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殷厣赝剡俨偃兖讠谳阽郾鄢芫菸崦恹闫阏湮滟妍嫣琰檐晏胭腌焱罨筵酽魇餍鼹鼽"};
char PY_mb_yang[] ={"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅"};
char PY_mb_yao[] ={"侥啮疟邀腰妖瑶摇尧遥窑谣姚咬舀药要耀钥夭爻吆崤崾徭幺珧杳轺曜肴铫鹞窈繇鳐"};
char PY_mb_ye[] ={"邪咽椰噎耶爷野冶也页掖业叶曳腋夜液盅靥谒邺揶琊晔烨铘"};
char PY_mb_yi[] ={"艾尾一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佚佾诒阝圯埸懿苡荑薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪轶贻欹旖熠眙钇铊镒镱痍瘗癔翊衤蜴舣羿翳酏黟"};
char PY_mb_yin[] ={"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞廴垠堙茚吲喑狺夤洇湮氤铟瘾窨蚓霪龈"};
char PY_mb_ying[] ={"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔荥莺萦蓥撄嘤膺滢潆瀛瑛璎楹媵鹦瘿颍罂"};
char PY_mb_yo[] ={"哟育唷"};
char PY_mb_yong[] ={"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉喁慵邕镛甬鳙饔"};
char PY_mb_you[] ={"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莠莜莸尢呦囿宥柚猷牖铕疣蚰蚴蝣蝤繇鱿黝鼬"};
char PY_mb_yu[] ={"蔚尉迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸菀蓣揄圄圉嵛狳饫馀庾阈鬻妪妤纡瑜昱觎腴欤於煜熨燠肀聿钰鹆鹬瘐瘀窬窳蜮蝓竽臾舁雩龉"};
char PY_mb_yuan[] ={"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬芫掾圜沅媛瑗橼爰眢鸢螈箢鼋"};
char PY_mb_yue[] ={"乐说曰约越跃钥岳粤月悦阅龠哕瀹栎樾刖钺"};
char PY_mb_yun[] ={"员耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽愠纭韫殒昀氲熨筠"};
char PY_mb_za[] ={"匝砸杂扎咋拶咂"};
char PY_mb_zai[] ={"栽哉灾宰载再在崽甾"};
char PY_mb_zan[] ={"咱攒暂赞拶瓒昝簪糌趱錾"};
char PY_mb_zang[] ={"藏赃脏葬驵臧"};
char PY_mb_zao[] ={"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣"};
char PY_mb_ze[] ={"责择则泽咋仄赜啧帻迮昃笮箦舴"};
char PY_mb_zei[] ={"贼"};
char PY_mb_zen[] ={"怎谮"};
char PY_mb_zeng[] ={"增憎曾赠缯甑罾锃"};
char PY_mb_zha[] ={"查扎喳渣札轧铡闸眨栅榨咋乍炸诈柞揸吒咤哳喋楂砟痄蚱龃齄"};
char PY_mb_zhai[] ={"翟择摘斋宅窄债寨砦瘵"};
char PY_mb_zhan[] ={"颤瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌骣旃"};
char PY_mb_zhang[] ={"长樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑"};
char PY_mb_zhao[] ={"朝招昭找沼赵照罩兆肇召爪着诏啁棹钊笊"};
char PY_mb_zhe[] ={"遮折哲蛰辙者锗蔗这浙着谪摺柘辄磔鹧褶蜇赭"};
char PY_mb_zhen[] ={"珍斟真甄砧臻贞针侦枕疹诊震振镇阵帧圳蓁浈溱缜桢椹榛轸赈胗朕祯畛稹鸩箴"};
char PY_mb_zheng[] ={"蒸挣睁征狰争怔整拯正政症郑证诤峥徵钲铮筝鲭"};
char PY_mb_zhi[] ={"识芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙徵夂忮彘咫骘栉枳栀桎轵轾贽胝膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯"};
char PY_mb_zhong[] ={"中盅忠钟衷终种肿重仲众冢忪锺螽舯踵"};
char PY_mb_zhou[] ={"舟周州洲诌粥轴肘帚咒皱宙昼骤荮啁妯纣绉胄碡籀繇酎"};
char PY_mb_zhu[] ={"属术珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻丶伫侏邾苎茱洙渚潴杼槠橥炷铢疰瘃褚竺箸舳翥躅麈"};
char PY_mb_zhua[] ={"挝抓爪"};
char PY_mb_zhuai[] ={"拽转"};
char PY_mb_zhuan[] ={"传专砖转撰赚篆啭馔沌颛"};
char PY_mb_zhuang[]={"幢桩庄装妆撞壮状奘戆"};
char PY_mb_zhui[] ={"椎锥追赘坠缀惴骓缒隹"};
char PY_mb_zhun[] ={"谆准饨肫窀"};
char PY_mb_zhuo[] ={"捉拙卓桌琢茁酌啄着灼浊倬诼擢浞涿濯焯禚斫镯"};
char PY_mb_zi[] ={"吱兹咨资姿滋淄孜紫仔籽滓子自渍字谘茈嵫姊孳缁梓辎赀恣眦锱秭耔笫粢趑觜訾龇鲻髭"};
char PY_mb_zong[] ={"鬃棕踪宗综总纵偬枞腙粽"};
char PY_mb_zou[] ={"邹走奏揍诹陬鄹驺鲰"};
char PY_mb_zu[] ={"租足卒族祖诅阻组俎菹镞"};
char PY_mb_zuan[] ={"钻纂攥缵躜"};
char PY_mb_zui[] ={"嘴醉最罪蕞觜"};
char PY_mb_zun[] ={"尊遵撙樽鳟"};
char PY_mb_zuo[] ={"撮琢昨左佐柞做作坐座阼唑嘬怍胙祚砟酢"};
char PY_mb_space[] ={""};
/*"拼音输入法查询码表,二级字母索引表(index)"*/
struct PY_index PY_index_a[]={{"",PY_mb_a},
{"i",PY_mb_ai},
{"n",PY_mb_an},
{"ng",PY_mb_ang},
{"o",PY_mb_ao}};
struct PY_index PY_index_b[]={{"a",PY_mb_ba},
{"ai",PY_mb_bai},
{"an",PY_mb_ban},
{"ang",PY_mb_bang},
{"ao",PY_mb_bao},
{"ei",PY_mb_bei},
{"en",PY_mb_ben},
{"eng",PY_mb_beng},
{"i",PY_mb_bi},
{"ian",PY_mb_bian},
{"iao",PY_mb_biao},
{"ie",PY_mb_bie},
{"in",PY_mb_bin},
{"ing",PY_mb_bing},
{"o",PY_mb_bo},
{"u",PY_mb_bu}};
struct PY_index PY_index_c[]={{"a",PY_mb_ca},
{"ai",PY_mb_cai},
{"an",PY_mb_can},
{"ang",PY_mb_cang},
{"ao",PY_mb_cao},
{"e",PY_mb_ce},
{"en",PY_mb_cen},
{"eng",PY_mb_ceng},
{"ha",PY_mb_cha},
{"hai",PY_mb_chai},
{"han",PY_mb_chan},
{"hang",PY_mb_chang},
{"hao",PY_mb_chao},
{"he",PY_mb_che},
{"hen",PY_mb_chen},
{"heng",PY_mb_cheng},
{"hi",PY_mb_chi},
{"hong",PY_mb_chong},
{"hou",PY_mb_chou},
{"hu",PY_mb_chu},
{"huai",PY_mb_chuai},
{"huan",PY_mb_chuan},
{"huang",PY_mb_chuang},
{"hui",PY_mb_chui},
{"hun",PY_mb_chun},
{"huo",PY_mb_chuo},
{"i",PY_mb_ci},
{"ong",PY_mb_cong},
{"ou",PY_mb_cou},
{"u",PY_mb_cu},
{"uan",PY_mb_cuan},
{"ui",PY_mb_cui},
{"un",PY_mb_cun},
{"uo",PY_mb_cuo}};
struct PY_index PY_index_d[]={{"a",PY_mb_da}, //以前为"a "则无法显示da
{"ai",PY_mb_dai},
{"an",PY_mb_dan},
{"ang",PY_mb_dang},
{"ao",PY_mb_dao},
{"e",PY_mb_de},
{"ei",PY_mb_dei},
{"eng",PY_mb_deng},
{"i",PY_mb_di},
{"ia",PY_mb_dia},
{"ian",PY_mb_dian},
{"iao",PY_mb_diao},
{"ie",PY_mb_die},
{"ing",PY_mb_ding},
{"iu",PY_mb_diu},
{"ong",PY_mb_dong},
{"ou",PY_mb_dou},
{"u",PY_mb_du},
{"uan",PY_mb_duan},
{"ui",PY_mb_dui},
{"un",PY_mb_dun},
{"uo",PY_mb_duo}};
struct PY_index PY_index_e[]={{"",PY_mb_e},
{"i",PY_mb_ei},
{"n",PY_mb_en},
{"r",PY_mb_er}};
struct PY_index PY_index_f[]={{"a",PY_mb_fa},
{"an",PY_mb_fan},
{"ang",PY_mb_fang},
{"ei",PY_mb_fei},
{"en",PY_mb_fen},
{"eng",PY_mb_feng},
{"o",PY_mb_fo},
{"ou",PY_mb_fou},
{"u",PY_mb_fu}};
struct PY_index PY_index_g[]={{"a",PY_mb_ga},
{"ai",PY_mb_gai},
{"an",PY_mb_gan},
{"ang",PY_mb_gang},
{"ao",PY_mb_gao},
{"e",PY_mb_ge},
{"ei",PY_mb_gei},
{"en",PY_mb_gan},
{"eng",PY_mb_geng},
{"ong",PY_mb_gong},
{"ou",PY_mb_gou},
{"u",PY_mb_gu},
{"ua",PY_mb_gua},
{"uai",PY_mb_guai},
{"uan",PY_mb_guan},
{"uang",PY_mb_guang},
{"ui",PY_mb_gui},
{"un",PY_mb_gun},
{"uo",PY_mb_guo}};
struct PY_index PY_index_h[]={{"a",PY_mb_ha},
{"ai",PY_mb_hai},
{"an",PY_mb_han},
{"ang",PY_mb_hang},
{"ao",PY_mb_hao},
{"e",PY_mb_he},
{"ei",PY_mb_hei},
{"en",PY_mb_hen},
{"eng",PY_mb_heng},
{"ong",PY_mb_hong},
{"ou",PY_mb_hou},
{"u",PY_mb_hu},
{"ua",PY_mb_hua},
{"uai",PY_mb_huai},
{"uan",PY_mb_huan},
{"uang ",PY_mb_huang},
{"ui",PY_mb_hui},
{"un",PY_mb_hun},
{"uo",PY_mb_huo}};
struct PY_index PY_index_i[]={{"",PY_mb_space}};
struct PY_index PY_index_j[]={{"i",PY_mb_ji},
{"ia",PY_mb_jia},
{"ian",PY_mb_jian},
{"iang",PY_mb_jiang},
{"iao",PY_mb_jiao},
{"ie",PY_mb_jie},
{"in",PY_mb_jin},
{"ing",PY_mb_jing},
{"iong",PY_mb_jiong},
{"iu",PY_mb_jiu},
{"u",PY_mb_ju},
{"uan",PY_mb_juan},
{"ue",PY_mb_jue},
{"un",PY_mb_jun}};
struct PY_index PY_index_k[]={{"a",PY_mb_ka},
{"ai",PY_mb_kai},
{"an",PY_mb_kan},
{"ang",PY_mb_kang},
{"ao",PY_mb_kao},
{"e",PY_mb_ke},
{"en",PY_mb_ken},
{"eng",PY_mb_keng},
{"ong",PY_mb_kong},
{"ou",PY_mb_kou},
{"u",PY_mb_ku},
{"ua",PY_mb_kua},
{"uai",PY_mb_kuai},
{"uan",PY_mb_kuan},
{"uang",PY_mb_kuang},
{"ui",PY_mb_kui},
{"un",PY_mb_kun},
{"uo",PY_mb_kuo}};
struct PY_index PY_index_l[]={{"a",PY_mb_la},
{"ai",PY_mb_lai},
{"an",PY_mb_lan},
{"ang",PY_mb_lang},
{"ao",PY_mb_lao},
{"e",PY_mb_le},
{"ei",PY_mb_lei},
{"eng",PY_mb_leng},
{"i",PY_mb_li},
{"ia",PY_mb_lia},
{"ian",PY_mb_lian},
{"iang",PY_mb_liang},
{"iao",PY_mb_liao},
{"ie",PY_mb_lie},
{"in",PY_mb_lin},
{"ing",PY_mb_ling},
{"iu",PY_mb_liu},
{"o",PY_mb_lo},
{"ong",PY_mb_long},
{"ou",PY_mb_lou},
{"u",PY_mb_lu},
{"uan",PY_mb_luan},
{"ue",PY_mb_lue},
{"un",PY_mb_lun},
{"uo",PY_mb_luo},
{"v",PY_mb_lv}};
struct PY_index PY_index_m[]={{"a",PY_mb_ma},
{"ai",PY_mb_mai},
{"an",PY_mb_man},
{"ang",PY_mb_mang},
{"ao",PY_mb_mao},
{"e",PY_mb_me},
{"ei",PY_mb_mei},
{"en",PY_mb_men},
{"eng",PY_mb_meng},
{"i",PY_mb_mi},
{"ian",PY_mb_mian},
{"iao",PY_mb_miao},
{"ie",PY_mb_mie},
{"in",PY_mb_min},
{"ing",PY_mb_ming},
{"iu",PY_mb_miu},
{"o",PY_mb_mo},
{"ou",PY_mb_mou},
{"u",PY_mb_mu}};
struct PY_index PY_index_n[]={{"a",PY_mb_na},
{"ai",PY_mb_nai},
{"an",PY_mb_nan},
{"ang",PY_mb_nang},
{"ao",PY_mb_nao},
{"e",PY_mb_ne},
{"ei",PY_mb_nei},
{"en",PY_mb_nen},
{"eng",PY_mb_neng},
{"g",PY_mb_ng},
{"i",PY_mb_ni},
{"ian",PY_mb_nian},
{"iang",PY_mb_niang},
{"iao",PY_mb_niao},
{"ie",PY_mb_nie},
{"in",PY_mb_nin},
{"ing",PY_mb_ning},
{"iu",PY_mb_niu},
{"ong",PY_mb_nong},
{"ou",PY_mb_nou},
{"u",PY_mb_nu},
{"uan",PY_mb_nuan},
{"ue",PY_mb_nue},
{"uo",PY_mb_nuo},
{"v",PY_mb_nv}};
struct PY_index PY_index_o[]={{"",PY_mb_o},
{"u",PY_mb_ou}};
struct PY_index PY_index_p[]={{"a",PY_mb_pa},
{"ai",PY_mb_pai},
{"an",PY_mb_pan},
{"ang",PY_mb_pang},
{"ao",PY_mb_pao},
{"ei",PY_mb_pei},
{"en",PY_mb_pen},
{"eng",PY_mb_peng},
{"i",PY_mb_pi},
{"ian",PY_mb_pian},
{"iao",PY_mb_piao},
{"ie",PY_mb_pie},
{"in",PY_mb_pin},
{"ing",PY_mb_ping},
{"o",PY_mb_po},
{"ou",PY_mb_pou},
{"u",PY_mb_pu}};
struct PY_index PY_index_q[]={{"i",PY_mb_qi},
{"ia",PY_mb_qia},
{"ian",PY_mb_qian},
{"iang",PY_mb_qiang},
{"iao",PY_mb_qiao},
{"ie",PY_mb_qie},
{"in",PY_mb_qin},
{"ing",PY_mb_qing},
{"iong",PY_mb_qiong},
{"iu",PY_mb_qiu},
{"u",PY_mb_qu},
{"uan",PY_mb_quan},
{"ue",PY_mb_que},
{"ui",PY_mb_qui},
{"un",PY_mb_qun}};
struct PY_index PY_index_r[]={{"an",PY_mb_ran},
{"ang",PY_mb_rang},
{"ao",PY_mb_rao},
{"e",PY_mb_re},
{"en",PY_mb_ren},
{"eng",PY_mb_reng},
{"i",PY_mb_ri},
{"ong",PY_mb_rong},
{"ou",PY_mb_rou},
{"u",PY_mb_ru},
{"uan",PY_mb_ruan},
{"ui",PY_mb_rui},
{"un",PY_mb_run},
{"uo",PY_mb_ruo}};
struct PY_index PY_index_s[]={{"a",PY_mb_sa},
{"ai",PY_mb_sai},
{"an",PY_mb_san},
{"ang",PY_mb_sang},
{"ao",PY_mb_sao},
{"e",PY_mb_se},
{"en",PY_mb_sen},
{"eng",PY_mb_seng},
{"ha",PY_mb_sha},
{"hai",PY_mb_shai},
{"han",PY_mb_shan},
{"hang ",PY_mb_shang},
{"hao",PY_mb_shao},
{"he",PY_mb_she},
{"hei",PY_mb_shei},
{"hen",PY_mb_shen},
{"heng",PY_mb_sheng},
{"hi",PY_mb_shi},
{"hou",PY_mb_shou},
{"hu",PY_mb_shu},
{"hua",PY_mb_shua},
{"huai",PY_mb_shuai},
{"huan",PY_mb_shuan},
{"huang",PY_mb_shuang},
{"hui",PY_mb_shui},
{"hun",PY_mb_shun},
{"huo",PY_mb_shuo},
{"i",PY_mb_si},
{"ong",PY_mb_song},
{"ou",PY_mb_sou},
{"u",PY_mb_su},
{"uan",PY_mb_suan},
{"ui",PY_mb_sui},
{"un",PY_mb_sun},
{"uo",PY_mb_suo}};
struct PY_index PY_index_t[]={{"a",PY_mb_ta},
{"ai",PY_mb_tai},
{"an",PY_mb_tan},
{"ang",PY_mb_tang},
{"ao",PY_mb_tao},
{"e",PY_mb_te},
{"eng",PY_mb_teng},
{"i",PY_mb_ti},
{"ian",PY_mb_tian},
{"iao",PY_mb_tiao},
{"ie",PY_mb_tie},
{"ing",PY_mb_ting},
{"ong",PY_mb_tong},
{"ou",PY_mb_tou},
{"u",PY_mb_tu},
{"uan",PY_mb_tuan},
{"ui",PY_mb_tui},
{"un",PY_mb_tun},
{"uo",PY_mb_tuo}};
struct PY_index PY_index_u[]={{"",PY_mb_space}};
struct PY_index PY_index_v[]={{"",PY_mb_space}};
struct PY_index PY_index_w[]={{"a",PY_mb_wa},
{"ai",PY_mb_wai},
{"an",PY_mb_wan},
{"ang",PY_mb_wang},
{"ei",PY_mb_wei},
{"en",PY_mb_wen},
{"eng",PY_mb_weng},
{"o",PY_mb_wo},
{"u",PY_mb_wu}};
struct PY_index PY_index_x[]={{"i",PY_mb_xi},
{"ia",PY_mb_xia},
{"ian",PY_mb_xiao},
{"iang",PY_mb_xiang},
{"iao",PY_mb_xiao},
{"ie",PY_mb_xie},
{"in",PY_mb_xin},
{"ing",PY_mb_xing},
{"iong",PY_mb_xiong},
{"iu",PY_mb_xiu},
{"u",PY_mb_xu},
{"uan",PY_mb_xuan},
{"ue",PY_mb_xue},
{"un",PY_mb_xun}};
struct PY_index PY_index_y[]={{"a",PY_mb_ya},
{"an",PY_mb_yan},
{"ang",PY_mb_yang},
{"ao",PY_mb_yao},
{"e",PY_mb_ye},
{"i",PY_mb_yi},
{"in",PY_mb_yin},
{"ing",PY_mb_ying},
{"o",PY_mb_yo},
{"ong",PY_mb_yong},
{"ou",PY_mb_you},
{"u",PY_mb_yu},
{"uan",PY_mb_yuan},
{"ue",PY_mb_yue},
{"un",PY_mb_yun}};
struct PY_index PY_index_z[]={{"a",PY_mb_za},
{"ai",PY_mb_zai},
{"an",PY_mb_zan},
{"ang",PY_mb_zang},
{"ao",PY_mb_zao},
{"e",PY_mb_ze},
{"ei",PY_mb_zei},
{"en",PY_mb_zen},
{"eng",PY_mb_zeng},
{"ha",PY_mb_zha},
{"hai",PY_mb_zhai},
{"han",PY_mb_zhan},
{"hang",PY_mb_zhang},
{"hao",PY_mb_zhao},
{"he",PY_mb_zhe},
{"hen",PY_mb_zhen},
{"heng",PY_mb_zheng},
{"hi",PY_mb_zhi},
{"hong",PY_mb_zhong},
{"hou",PY_mb_zhou},
{"hu",PY_mb_zhu},
{"hua",PY_mb_zhua},
{"huai",PY_mb_zhuai},
{"huan",PY_mb_zhuan},
{"huang",PY_mb_zhuang},
{"hui",PY_mb_zhui},
{"hun",PY_mb_zhun},
{"huo",PY_mb_zhuo},
{"i",PY_mb_zi},
{"ong",PY_mb_zong},
{"ou",PY_mb_zou},
{"u",PY_mb_zu},
{"uan",PY_mb_zuan},
{"ui",PY_mb_zui},
{"un",PY_mb_zun},
{"uo",PY_mb_zuo}};
struct PY_index PY_index_end[]={{"",PY_mb_space}};
unsigned index_number[] = {
5, //a
16,//b
34,//c
22,//d
4, //e
9, //f
19,//g
19,//h
1, //i
14,//j
18,//k
26,//l
19,//m
25,//n
2, //o
17,//p
15,//q
14,//r
35,//s
19,//t
1, //u
1, //v
9, //w
14,//x
15,//y
36,//z
};
/*定义首字母索引表*/
struct PY_index *PY_index_headletter[]={PY_index_a,
PY_index_b,
PY_index_c,
PY_index_d,
PY_index_e,
PY_index_f,
PY_index_g,
PY_index_h,
PY_index_i,
PY_index_j,
PY_index_k,
PY_index_l,
PY_index_m,
PY_index_n,
PY_index_o,
PY_index_p,
PY_index_q,
PY_index_r,
PY_index_s,
PY_index_t,
PY_index_u,
PY_index_v,
PY_index_w,
PY_index_x,
PY_index_y,
PY_index_z,
PY_index_end};
char * py_ime(char *strInput_py_str)
{
struct PY_index *cpHZ;
char i, cInputStrLength;
unsigned char count;
cInputStrLength = strlen(strInput_py_str); /*输入拼音串长度*/
if(*strInput_py_str == '\0') return NULL; /*如果输入空字符返回0*/
for(i = 0; i < cInputStrLength; i++)
{
*(strInput_py_str+i) |= 0x20; /*将字母串转为小写*/
}
if(*strInput_py_str == 'i') return NULL; /*错误拼音输入*/
if(*strInput_py_str == 'u') return NULL;
if(*strInput_py_str == 'v') return NULL;
cpHZ = PY_index_headletter[strInput_py_str[0] - 'a']; /*查首字母索引*/
count = index_number[strInput_py_str[0] - 'a'];
// cpHZedge = PY_index_headletter[strInput_py_str[0] - 'a' + 1]; /*设置指针界限*/
// printf("%x, %x\n", cpHZ, cpHZedge);
strInput_py_str++; /*指向拼音串第二个字母*/
while(count--) /*索引表不超界*/
{
for(i = 0; i < cInputStrLength; i++)
{
if( *(strInput_py_str + i) != *((cpHZ->PY)+i) )
break; /*发现字母串不配,退出*/
}
if(i == cInputStrLength) /*字母串全配*/
{
return (cpHZ->PY_mb);
}
cpHZ++;
}
return NULL; /*无果而终*/
}