应用在AVR上的拼音输入法

*/ --------------------------------------------------------------------------------------
*/ 出自: http://hi.baidu.com/xiaoxichun  http://hi.csdn.net/xiaochun1413
*/ 作者: simon

*/ 时间: 2008-12-16

*/ 声明: 尊重作者劳动,转载请保留本段文字
*/ --------------------------------------------------------------------------------------

本输入法是为了满足08年黑龙江省大学生电子竞赛《无线汉字传输装置》题目的要求而编,参考了网友的程序思想 核心算法和查表结构 费了很多心思才编出来!字库容量在6000字以上,算是更新了网上流行的3000字字库表

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

const prog_uchar PY_mb_error []={"输入错误!"}; // 7*/

//================================================================================================
//'拼音输入法查询码表' //数组最后三个数据表示查找表的偏移量和当前相同发音的个数
const prog_uchar PY_index_a[][8]={
{' ',' ',1,0x00,2},
{'i',' ',2,0x00,23},
{'n',' ',3,0x00,20},
{'n','g',' ',4,0x00,3},
{'o',' ',5,0x00,24},
};
const prog_uchar PY_index_b[][8]={
{'a',' ',6,0x00,26},
{'a','i',' ',7,0x00,12},
{'a','n',' ',8,0x00,21},
{'a','n','g',' ',9,0x00,14},
{'a','o',' ',10,0x00,27},
{'e','i',' ',11,0x00,27},
{'e','n',' ',12,0x00,9},
{'e','n','g',' ',13,0x00,9},
{'i',' ',14,0x00,57},
{'i','a','n',' ',15,0x00,27},
{'i','a','o',' ',16,0x00,15},
{'i','e',' ',17,0x00,5},
{'i','n',' ',18,0x00,16},
{'i','n','g',' ',19,0x00,14},
{'o',' ',20,0x00,37},
{'u',' ',21,0x00,20}};
const prog_uchar PY_index_c[][8]={
{'a',' ',22,0x00,4},
{'a','i',' ',23,0x00,11},
{'a','n',' ',24,0x00,13},
{'a','n','g',' ',25,0x00,6},
{'a','o',' ',26,0x00,9},
{'e',' ',27,0x00,6},
{'e','n','g',' ',28,0x00,4},
{'h','a',' ',29,0x00,24},
{'h','a','i',' ',30,0x00,8},
{'h','a','n',' ',31,0x00,27},
{'h','a','n','g',' ',32,0x00,27},
{'h','a','o',' ',33,0x00,15},
{'h','e',' ',34,0x00,9},
{'h','e','n',' ',35,0x00,22},
{'h','e','n','g',' ',36,0x00,29},
{'h','i',' ',37,0x00,39},
{'h','o','n','g',' ',38,0x00,14},
{'h','o','u',' ',39,0x00,17},
{'h','u',' ',40,0x00,28},
{'h','u','a','i',' ',41,0x00,6},
{'h','u','a','n',' ',42,0x00,13},
{'h','u','a','n','g',' ',43,0x00,7},
{'h','u','i',' ',44,0x00,9},
{'h','u','n',' ',45,0x00,10},
{'h','u','o',' ',46,0x00,6},
{'i',' ',47,0x00,21},
{'o','n','g',' ',48,0x00,12},
{'o','u',' ',49,0x00,1},
{'u',' ',50,0x00,12},
{'u','a','n',' ',51,0x00,9},
{'u','i',' ',52,0x00,15},
{'u','n',' ',53,0x00,6},
{'u','o',' ',54,0x00,15}};
const prog_uchar PY_index_d[][8]={
{'a',' ',55,0x00,18},
{'a','i',' ',56,0x00,22},
{'a','n',' ',57,0x00,36},
{'a','n','g',' ',58,0x00,12},
{'a','o',' ',59,0x00,18},
{'e',' ',60,0x00,6},
{'e','n','g',' ',61,0x00,14},
{'i',' ',62,0x00,39},
{'i','a','n',' ',63,0x00,25},
{'i','a','o',' ',64,0x00,14},
{'i','e',' ',65,0x00,16},
{'i','n','g',' ',66,0x00,19},
{'i','u',' ',67,0x00,2},
{'o','n','g',' ',68,0x00,19},
{'o','u',' ',69,0x00,13},
{'u',' ',70,0x00,24},
{'u','a','n',' ',71,0x00,9},
{'u','i',' ',72,0x00,9},
{'u','n',' ',73,0x00,17},
{'u','o',' ',74,0x00,22}};
const prog_uchar PY_index_e[][8]={
{' ',75,0x00,33},
{'n',' ',76,0x00,3},
{'r',' ',77,0x00,14}};
const prog_uchar PY_index_f[][8]={
{'a',' ',78,0x00,9},
{'a','n',' ',79,0x00,24},
{'a','n','g',' ',80,0x00,17},
{'e','i',' ',81,0x00,29},
{'e','n',' ',82,0x00,21},
{'e','n','g ',83,0x00,21},
{'o',' ',84,0x00,1},
{'o','u',' ',85,0x00,2},
{'u ',' ',86,0x00,75}};
const prog_uchar PY_index_g[][8]={
{'a',' ',87,0x00,13},
{'a','i',' ',88,0x00,12},
{'a','n',' ',89,0x00,24},
{'a','n','g',' ',90,0x00,13},
{'a','o',' ',91,0x00,19},
{'e',' ',92,0x00,36},
{'e','i',' ',93,0x00,1},
{'e','n',' ',94,0x00,6},
{'e','n','g',' ',95,0x0,12},
{'o','n','g',' ',96,0x00,20},
{'o','u',' ',97,0x00,22},
{'u',' ',98,0x00,13},
{'u','a',' ',99,0x00,12},
{'u','a','i',' ',100,0x00,4},
{'u','a','n',' ',101,0x00,20},
{'u','a','n','g',' ',102,0x00,7},
{'u','i',' ',103,0x00,32},
{'u','n',' ',104,0x00,7},
{'u','o',' ',105,0x00,19}};
const prog_uchar PY_index_h[][8]={
{'a',' ',106,0x00,4},
{'a','i',' ',107,0x00,13},
{'a','n',' ',108,0x00,30},
{'a','n','g',' ',109,0x00,10},
{'a','o',' ',110,0x00,21},
{'e',' ',111,0x00,29},
{'e','i',' ',112,0x00,2},
{'e','n',' ',113,0x00,4},
{'e','n','g',' ',114,0x00,9},
{'o','n','g',' ',115,0x00,17},
{'o','u',' ',116,0x00,15},
{'u',' ',117,0x00,17},
{'u','a',' ',118,0x00,14},
{'u','a','i',' ',119,0x00,7},
{'u','a','n',' ',120,0x00,29},
{'u','a','n','g',' ',121,0x00,25},
{'u','i',' ',122,0x00,40},
{'u','n',' ',123,0x00,11},
{'u','o',' ',124,0x00,21}};
const prog_uchar PY_index_j[][8]={
{'i',' ',125,0x00,54},
{'i','a',' ',126,0x00,22},
{'i','a','n',' ',127,0x00,25},
{'i','a','n','g',' ',128,0x00,26},
{'i','a','o',' ',129,0x00,19},
{'i','e',' ',130,0x00,14},
{'i','n',' ',131,0x00,35},
{'i','n','g',' ',132,0x00,43},
{'i','o','n','g',' ',133,0x00,6},
{'i','u',' ',134,0x00,27},
{'u',' ',135,0x00,58},
{'u','a','n',' ',136,0x00,16},
{'u','e',' ',137,0x00,32},
{'u','n',' ',138,0x00,18}};
const prog_uchar PY_index_k[][8]={
{'a',' ',139,0x00,7},
{'a','i',' ',140,0x00,14},
{'a','n',' ',141,0x00,15},
{'a','n','g',' ',142,0x00,10},
{'a','o',' ',143,0x00,8},
{'e',' ',144,0x00,37},
{'e','n',' ',145,0x00,6},
{'e','n','g',' ',146,0x00,3},
{'o','n','g',' ',147,0x00,7},
{'o','u',' ',148,0x00,10},
{'u',' ',149,0x00,13},
{'u','a',' ',150,0x00,7},
{'u','a','i ',151,0x00,12},
{'u','a','n',' ',152,0x00,3},
{'u','a','n','g',' ',153,0x00,16},
{'u','i',' ',154,0x00,28},
{'u','n',' ',155,0x00,11},
{'u','o',' ',156,0x00,7}};
const prog_uchar PY_index_l[][8]={
{'a',' ',157,0x00,15},
{'a','i',' ',158,0x00,13},
{'a','n',' ',159,0x00,23},
{'a','n','g',' ',160,0x00,14},
{'a','o',' ',161,0x00,20},
{'e',' ',162,0x00,9},
{'e','i',' ',163,0x00,20},
{'e','n','g',' ',164,0x00,5},
{'i',' ',165,0x00,80},
{'i','a','n',' ',166,0x00,27},
{'i','a','n','g',' ',167,0x00,9},
{'i','a','o',' ',168,0x00,8},
{'i','e',' ',169,0x00,13},
{'i','n',' ',170,0x00,25},
{'i','n','g',' ',171,0x00,28},
{'i','u',' ',172,0x00,23},
{'o','n','g',' ',173,0x00,18},
{'o','u',' ',174,0x00,17},
{'u',' ',175,0x00,16},
{'u','a','n',' ',176,0x00,11},
{'u','e',' ',177,0x00,3},
{'u','n',' ',178,0x00,8},
{'u','o',' ',179,0x00,30},
{'v',' ',180,0x00,21}};
const prog_uchar PY_index_m[][8]={
{'a',' ',181,0x00,18},
{'a','i',' ',182,0x00,9},
{'a','n ',183,0x00,19},
{'a','n','g',' ',184,0x00,9},
{'a','o',' ',185,0x00,26},
{'e',' ',186,0x00,2},
{'e','i',' ',187,0x00,28},
{'e','n',' ',188,0x00,10},
{'e','n','g',' ',189,0x00,22},
{'i',' ',190,0x00,30},
{'i','a','n',' ',191,0x00,16},
{'i','a','o',' ',192,0x00,17},
{'i','e',' ',193,0x00,7},
{'i','n',' ',194,0x00,16},
{'i','n','g',' ',195,0x00,12},
{'i','u',' ',196,0x00,2},
{'o',' ',197,0x00,39},
{'o','u',' ',198,0x00,9},
{'u',' ',199,0x00,27}};
const prog_uchar PY_index_n[][8]={
{'a',' ',200,0x00,12},
{'a','i',' ',201,0x00,21},
{'a','n',' ',202,0x00,10},
{'a','n','g',' ',203,0x00,5},
{'a','o',' ',204,0x00,14},
{'e',' ',205,0x00,6},
{'e','i ',206,0x00,4},
{'e','n',' ',207,0x00,2},
{'e','n','g',' ',208,0x00,1},
{'i',' ',209,0x00,21},
{'i','a','n',' ',210,0x00,15},
{'i','a','n','g',' ',211,0x00,2},
{'i','a','o',' ',212,0x00,6},
{'i','e',' ',213,0x00,18},
{'i','n',' ',214,0x00,1},
{'i','n','g',' ',215,0x00,6},
{'i','u',' ',216,0x00,7},
{'o','n','g',' ',217,0x00,8},
{'u',' ',218,0x00,5},
{'u','a','n',' ',219,0x00,1},
{'u','e',' ',220,0x00,2},
{'u','o',' ',221,0x00,9},
{'v',' ',222,0x00,4}};
const prog_uchar PY_index_o[][8]={
{' ',223,0x00,3},
{'u',' ',224,0x00,13}};
const prog_uchar PY_index_p[][8]={
{'a ',225,0x00,13},
{'a','i',' ',226,0x00,11},
{'a','n',' ',227,0x00,15},
{'a','n','g',' ',228,0x00,12},
{'a','o',' ',229,0x00,12},
{'e','i',' ',230,0x00,17},
{'e','n',' ',231,0x00,3},
{'e','n','g',' ',232,0x00,14},
{'i',' ',233,0x00,18},
{'i','a','n',' ',234,0x00,13},
{'i','a','o',' ',235,0x00,15},
{'i','e',' ',236,0x00,4},
{'i','n',' ',237,0x00,11},
{'i','n','g',' ',238,0x00,14},
{'o',' ',239,0x00,17},
{'o','u',' ',240,0x00,3},
{'u',' ',241,0x00,27}};
const prog_uchar PY_index_q[][8]={
{'i',' ',242,0x00,36},
{'i','a',' ',243,0x00,8},
{'i','a','n',' ',244,0x00,22},
{'i','a','n','g',' ',245,0x00,18},
{'i','a','o',' ',246,0x00,15},
{'i','e',' ',247,0x00,13},
{'i','n',' ',248,0x00,16},
{'i','n','g',' ',249,0x00,13},
{'i','o','n','g',' ',250,0x00,8},
{'i','u',' ',251,0x00,18},
{'u',' ',252,0x00,13},
{'u','a','n',' ',253,0x00,11},
{'u','e',' ',254,0x00,11},
{'u','n',' ',0,0x01,4}};
const prog_uchar PY_index_r[][8]={
{'a','n',' ',1,0x01,7},
{'a','n','g',' ',2,0x01,8},
{'a','o',' ',3,0x01,6},
{'e',' ',4,0x01,4},
{'e','n',' ',5,0x01,10},
{'e','n','g',' ',6,0x01,2},
{'i',' ',7,0x01,1},
{'o','n','g',' ',8,0x01,10},
{'o','u',' ',9,0x01,3},
{'u',' ',10,0x01,10},
{'u','a','n',' ',11,0x01,2},
{'u','i',' ',12,0x01,3},
{'u','n',' ',13,0x01,2},
{'u','o',' ',14,0x01,2}};
const prog_uchar PY_index_s[][8]={
{'a',' ',15,0x01,8},
{'a','i',' ',16,0x13,6},
{'a','n',' ',17,0x13,8},
{'a','n','g',' ',18,0x13,6},
{'a','o',' ',19,0x01,10},
{'e',' ',20,0x01,7},
{'e','n',' ',21,0x01,1},
{'e','n','g',' ',22,0x01,2},
{'h','a',' ',23,0x01,20},
{'h','a','i',' ',24,0x01,4},
{'h','a','n',' ',25,0x01,37},
{'h','a','n','g',' ',26,0x01,14},
{'h','a','o',' ',27,0x01,19},
{'h','e',' ',28,0x01,20},
{'h','e','n',' ',29,0x01,24},
{'h','e','n','g',' ',30,0x01,17},
{'h','i',' ',31,0x01,48},
{'h','o','u',' ',32,0x01,14},
{'h','u',' ',33,0x01,33},
{'h','u','a',' ',34,0x01,3},
{'h','u','a','i',' ',35,0x01,6},
{'h','u','a','n',' ',36,0x01,4},
{'h','u','a','n','g',37,0x01,5},
{'h','u','i',' ',38,0x01,5},
{'h','u','n',' ',39,0x01,4},
{'h','u','o',' ',40,0x01,10},
{'i',' ',41,0x01,35},
{'o','n','g ',42,0x01,16},
{'o','u',' ',43,0x01,14},
{'u',' ',44,0x01,22},
{'u','a','n',' ',45,0x01,11},
{'u','i',' ',46,0x01,19},
{'u','n',' ',47,0x01,8},
{'u','o',' ',48,0x01,17}};
const prog_uchar PY_index_t[][8]={
{'a',' ',49,0x01,20},
{'a','i',' ',50,0x01,18},
{'a','n',' ',51,0x01,18},
{'a','n','g',' ',52,0x01,13},
{'a','o',' ',53,0x01,18},
{'e',' ',54,0x01,5},
{'e','n','g',' ',55,0x01,5},
{'i',' ',56,0x01,15},
{'i','a','n',' ',57,0x01,20},
{'i','a','o',' ',58,0x01,17},
{'i','e',' ',59,0x01,5},
{'i','n','g',' ',60,0x01,18},
{'o','n','g',' ',61,0x01,13},
{'o','u',' ',62,0x01,8},
{'u',' ',63,0x01,15},
{'u','a','n',' ',64,0x01,8},
{'u','i',' ',65,0x01,8},
{'u','n',' ',66,0x01,9},
{'u','o',' ',67,0x01,11}};
const prog_uchar PY_index_w[][8]={
{'a',' ',68,0x01,13},
{'a','i',' ',69,0x01,3},
{'a','n',' ',70,0x01,17},
{'a','n','g',' ',71,0x01,15},
{'e','i',' ',72,0x01,33},
{'e','n',' ',73,0x01,15},
{'e','n','g',' ',74,0x01,5},
{'o',' ',75,0x01,17},
{'u',' ',76,0x01,29}};
const prog_uchar PY_index_x[][8]={
{'i',' ',77,0x01,34},
{'i','a',' ',78,0x01,21},
{'i','a','n',' ',79,0x01,27},
{'i','a','n','g',' ',80,0x01,20},
{'i','a','o',' ',81,0x01,17},
{'i','e',' ',82,0x01,20},
{'i','n',' ',83,0x01,14},
{'i','n','g',' ',84,0x01,22},
{'i','o','n','g',' ',85,0x01,8},
{'i','u',' ',86,0x01,16},
{'u',' ',87,0x01,19},
{'u','a','n',' ',88,0x01,15},
{'u','e',' ',89,0x01,11},
{'u','n',' ',90,0x01,14}};
const prog_uchar PY_index_y[][8]={
{'a',' ',91,0x01,16},
{'a','n',' ',92,0x01,33},
{'a','n','g',' ',93,0x01,17},
{'a','o',' ',94,0x01,17},
{'e',' ',95,0x01,15},
{'i',' ',96,0x01,53},
{'i','n',' ',97,0x01,16},
{'i','n','g',' ',98,0x01,18},
{'o',' ',99,0x01,3},
{'o','n','g',' ',100,0x01,20},
{'o','u',' ',101,0x01,20},
{'u',' ',102,0x01,44},
{'u','a','n',' ',103,0x01,20},
{'u','e',' ',104,0x01,15},
{'u','n',' ',105,0x01,25}};
const prog_uchar PY_index_z[][8]={
{'a',' ',106,0x01,8},
{'a','i',' ',107,0x01,9},
{'a','n',' ',108,0x01,11},
{'a','n','g',' ',109,0x01,7},
{'a','o',' ',110,0x01,15},
{'e',' ',111,0x01,12},
{'e','i',' ',112,0x01,1},
{'e','n',' ',113,0x01,2},
{'e','n','g',' ',114,01,9},
{'h','a',' ',115,0x01,27},
{'h','a','i ',116,0x01,12},
{'h','a','n',' ',117,0x01,21},
{'h','a','n','g',' ',118,0x01,24},
{'h','a','o',' ',119,0x01,19},
{'h','e',' ',120,0x01,20},
{'h','e','n',' ',121,0x01,32},
{'h','e','n','g',' ',122,0x01,25},
{'h','i',' ',123,0x01,58},
{'h','o','n','g',' ',124,0x01,17},
{'h','o','u',' ',125,0x01,24},
{'h','u',' ',126,0x01,50},
{'h','u','a',' ',127,0x01,3},
{'h','u','a','i',' ',128,0x01,2},
{'h','u','a','n',' ',129,0x01,10},
{'h','u','a','n','g',' ',130,0x01,11},
{'h','u','i',' ',131,0x01,10},
{'h','u','n',' ',132,0x01,5},
{'h','u','o',' ',133,0x01,22},
{'i',' ',134,0x01,38},
{'o','n','g',' ',135,0x01,11},
{'o','u',' ',136,0x01,9},
{'u',' ',137,0x01,11},
{'u','a','n',' ',138,0x01,6},
{'u','i',' ',139,0x01,8},
{'u','n',' ',140,0x01,5},
{'u','o',' ',141,0x01,19}};
const prog_uchar PY_index_end[][8]={' ',0,0};

//*================================================================================================

//"========================================变量声明========================================*/
/************中文起始地址****************************/
/***********存贮不同发音汉字数组的首地址*****************************/
uchar *PY_index[]=
{
PY_mb_a,PY_mb_ai,PY_mb_an,PY_mb_ang,PY_mb_ao,PY_mb_ba,PY_mb_bai,PY_mb_ban,PY_mb_bang,PY_mb_bao,
PY_mb_bei,PY_mb_ben,PY_mb_beng,PY_mb_bi,PY_mb_bian,PY_mb_biao,PY_mb_bie,PY_mb_bin,PY_mb_bing,PY_mb_bo,
PY_mb_bu,PY_mb_ca,PY_mb_cai,PY_mb_can,PY_mb_cang,PY_mb_cao,PY_mb_ce,PY_mb_ceng,PY_mb_cha,PY_mb_chai,
PY_mb_chan,PY_mb_chang,PY_mb_chao,PY_mb_che,PY_mb_chen,PY_mb_cheng,PY_mb_chi,PY_mb_chong,PY_mb_chou,PY_mb_chu,
PY_mb_chuai,PY_mb_chuan,PY_mb_chuang,PY_mb_chui,PY_mb_chun,PY_mb_chuo,PY_mb_ci,PY_mb_cong,PY_mb_cou,PY_mb_cu,
PY_mb_cuan,PY_mb_cui,PY_mb_cun,PY_mb_cuo,PY_mb_da,PY_mb_dai,PY_mb_dan,PY_mb_dang,PY_mb_dao,PY_mb_de,
PY_mb_deng,PY_mb_di,PY_mb_dian,PY_mb_diao,PY_mb_die,PY_mb_ding,PY_mb_diu,PY_mb_dong,PY_mb_dou,PY_mb_du,
PY_mb_duan,PY_mb_dui,PY_mb_dun,PY_mb_duo,PY_mb_e,PY_mb_en,PY_mb_er,PY_mb_fa,PY_mb_fan,PY_mb_fang,PY_mb_fei,
PY_mb_fen,PY_mb_feng,PY_mb_fo,PY_mb_fou,PY_mb_fu,PY_mb_ga,PY_mb_gai,PY_mb_gan,PY_mb_gang,PY_mb_gao,
PY_mb_ge,PY_mb_gei,PY_mb_gen,PY_mb_geng,PY_mb_gong,PY_mb_gou,PY_mb_gu,PY_mb_gua,PY_mb_guai,PY_mb_guan,
PY_mb_guang,PY_mb_gui,PY_mb_gun,PY_mb_guo,PY_mb_ha,PY_mb_hai,PY_mb_han,PY_mb_hang,PY_mb_hao,PY_mb_he,
PY_mb_hei,PY_mb_hen,PY_mb_heng,PY_mb_hong,PY_mb_hou,PY_mb_hu,PY_mb_hua,PY_mb_huai,PY_mb_huan,PY_mb_huang,
PY_mb_hui,PY_mb_hun,PY_mb_huo,PY_mb_ji,PY_mb_jia,PY_mb_jian,PY_mb_jiang,PY_mb_jiao,PY_mb_jie,PY_mb_jin,
PY_mb_jing,PY_mb_jiong,PY_mb_jiu,PY_mb_ju,PY_mb_juan,PY_mb_jue,PY_mb_jun,PY_mb_ka,PY_mb_kai,PY_mb_kan,
PY_mb_kang,PY_mb_kao,PY_mb_ke,PY_mb_ken,PY_mb_keng,PY_mb_kong,PY_mb_kou,PY_mb_ku,PY_mb_kua,PY_mb_kuai,PY_mb_kuan,
PY_mb_kuang,PY_mb_kui,PY_mb_kun,PY_mb_kuo,PY_mb_la,PY_mb_lai,PY_mb_lan,PY_mb_lang,PY_mb_lao,PY_mb_le,
PY_mb_lei,PY_mb_leng,PY_mb_li,PY_mb_lian,PY_mb_liang,PY_mb_liao,PY_mb_lie,PY_mb_lin,PY_mb_ling,PY_mb_liu,
PY_mb_long,PY_mb_lou,PY_mb_lu,PY_mb_luan,PY_mb_lue,PY_mb_lun,PY_mb_luo,PY_mb_lv,PY_mb_ma,PY_mb_mai,
PY_mb_man,PY_mb_mang,PY_mb_mao,PY_mb_me,PY_mb_mei,PY_mb_men,PY_mb_meng,PY_mb_mi,PY_mb_mian,PY_mb_miao,
PY_mb_mie,PY_mb_min,PY_mb_ming,PY_mb_miu,PY_mb_mo,PY_mb_mou,PY_mb_mu,PY_mb_na,PY_mb_nai,PY_mb_nan,
PY_mb_nang,PY_mb_nao,PY_mb_ne,PY_mb_nei,PY_mb_nen,PY_mb_neng,PY_mb_ni,PY_mb_nian,PY_mb_niang,PY_mb_niao,
PY_mb_nie,PY_mb_nin,PY_mb_ning,PY_mb_niu,PY_mb_nong,PY_mb_nu,PY_mb_nuan,PY_mb_nue,PY_mb_nuo,PY_mb_nv,
PY_mb_o,PY_mb_ou,PY_mb_pa,PY_mb_pai,PY_mb_pan,PY_mb_pang,PY_mb_pao,PY_mb_pei,PY_mb_pen,PY_mb_peng,
PY_mb_pi,PY_mb_pian,PY_mb_piao,PY_mb_pie,PY_mb_pin,PY_mb_ping,PY_mb_po,PY_mb_pou,PY_mb_pu,PY_mb_qi,
PY_mb_qia,PY_mb_qian,PY_mb_qiang,PY_mb_qiao,PY_mb_qie,PY_mb_qin,PY_mb_qing,PY_mb_qiong,PY_mb_qiu,PY_mb_qu,
PY_mb_quan,PY_mb_que,PY_mb_qun,PY_mb_ran,PY_mb_rang,PY_mb_rao,PY_mb_re,PY_mb_ren,PY_mb_reng,PY_mb_ri,
PY_mb_rong,PY_mb_rou,PY_mb_ru,PY_mb_ruan,PY_mb_rui,PY_mb_run,PY_mb_ruo,PY_mb_sa,PY_mb_sai,PY_mb_san,
PY_mb_sang,PY_mb_sao,PY_mb_se,PY_mb_sen,PY_mb_seng,PY_mb_sha,PY_mb_shai,PY_mb_shan,PY_mb_shang,PY_mb_shao,
PY_mb_she,PY_mb_shen,PY_mb_sheng,PY_mb_shi,PY_mb_shou,PY_mb_shu,PY_mb_shua,PY_mb_shuai,PY_mb_shuan,PY_mb_shuang,
PY_mb_shui,PY_mb_shun,PY_mb_shuo,PY_mb_si,PY_mb_song,PY_mb_sou,PY_mb_su,PY_mb_suan,PY_mb_sui,PY_mb_sun,
PY_mb_suo,PY_mb_ta,PY_mb_tai,PY_mb_tan,PY_mb_tang,PY_mb_tao,PY_mb_te,PY_mb_teng,PY_mb_ti,PY_mb_tian,
PY_mb_tiao,PY_mb_tie,PY_mb_ting,PY_mb_tong,PY_mb_tou,PY_mb_tu,PY_mb_tuan,PY_mb_tui,PY_mb_tun,PY_mb_tuo,
PY_mb_wa,PY_mb_wai,PY_mb_wan,PY_mb_wang,PY_mb_wei,PY_mb_wen,PY_mb_weng,PY_mb_wo,PY_mb_wu,PY_mb_xi,
PY_mb_xia,PY_mb_xian,PY_mb_xiang,PY_mb_xiao,PY_mb_xie,PY_mb_xin,PY_mb_xing,PY_mb_xiong,PY_mb_xiu,PY_mb_xu,
PY_mb_xuan,PY_mb_xue,PY_mb_xun,PY_mb_ya,PY_mb_yan,PY_mb_yang,PY_mb_yao,PY_mb_ye,PY_mb_yi,PY_mb_yin,PY_mb_ying,
PY_mb_yo,PY_mb_yong,PY_mb_you,PY_mb_yu,PY_mb_yuan,PY_mb_yue,PY_mb_yun,PY_mb_za,PY_mb_zai,PY_mb_zan,
PY_mb_zang,PY_mb_zao,PY_mb_ze,PY_mb_zei,PY_mb_zen,PY_mb_zeng,PY_mb_zha,PY_mb_zhai,PY_mb_zhan,PY_mb_zhang,
PY_mb_zhao,PY_mb_zhe,PY_mb_zhen,PY_mb_zheng,PY_mb_zhi,PY_mb_zhong,PY_mb_zhou,PY_mb_zhu,PY_mb_zhua,PY_mb_zhuai,
PY_mb_zhuan,PY_mb_zhuang,PY_mb_zhui,PY_mb_zhun,PY_mb_zhuo,PY_mb_zi,PY_mb_zong,PY_mb_zou,PY_mb_zu,PY_mb_zuan,
PY_mb_zui,PY_mb_zun,PY_mb_zuo,//*/
};
/*****************存储查找表的地址***********************************/
unsigned char *(* PY_index_pointer[27])[8]=
{
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_j,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_w,PY_index_w,PY_index_w,PY_index_x,
PY_index_y,PY_index_z,PY_index_end//*/
};
/*========================================函数声明========================================*/
//"拼音输入法杳询函数,input_py为已输入的拼音码,反回值为中文的起始地址,当为0时,杳询失败"
//unsigned char code * py_ime(unsigned char input_py_val[]);


/*========================================主程序体========================================*/

unsigned char *py_ime(unsigned char *input_py_val)
{
unsigned char (*p1)[8],(*p2)[8],(*p3)[8];
unsigned char i=1,j=37,count=0;
if (input_py_val[0]==0) return(0); //"如果输入空字符返回0"
if (input_py_val[0]=='i') return(PY_mb_error);
if (input_py_val[0]=='u') return(PY_mb_error);
if (input_py_val[0]=='v') return(PY_mb_error);
p1=p2=PY_index_pointer[input_py_val[0]-0x61]; //"计算入口树根" 97
p3=p2;

while(j--)//匹配已输入拼音和查找表
{
   if ((pgm_read_byte(*(p1)+i-1)==input_py_val[i])&&(pgm_read_byte(*(p1)+i)==input_py_val[i+1]))
   {
    p2=p1;
   
    if(p3!=p2){count=0;p3=p2;i=1;}
    count++;  
    i++;
    
   }
    else p1++;
}
    Word_count=pgm_read_byte(*(p2)+count+3)*2;//返回当前相同发音汉字的个数
    return (PY_index[pgm_read_byte(*(p2)+count+1)-1+pgm_read_byte(*(p2)+count+2)*255]) ; //返回查询结果首地址"
      

}


#endif

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页