用C51单片机实现中文输入法
时间:12-31
来源:互联网
点击:
说明:
拼音输入法杳询函数:unsignedcharcode*py_ime(unsignedcharinput_py_val[]);
input_py_val为已输入的拼音码字符串头指针,
反回值为中文的起始地址,当为0时,杳询失败
应用举例:
{
unsignedcharinput_string[]={"bang"};
unsignedcharchines_string[100];
sprintf(chines_string,"%s",py_ime(input_string));
}
C51程序:
//"********************CCDC01采集器测试仪软件:拼音输入法模块********************"
//"*软件设计:*"
//"*日期:2001/3*"
//"*编译环境:Franklin3.3.4*"
//"******************************************************************************"
#include
#include
//"********************CCDC01采集器测试仪软件:拼音输入法码表********************"
//"*软件设计:张凯*"
//"*日期:2001/3*"
//"*编译环境:Franklin3.3.4*"
//"******************************************************************************"
//"拼音输入法汉字排列表"
unsignedcharcodePY_mb_a[]={"阿啊"};
unsignedcharcodePY_mb_ai[]={"哎哀唉埃挨皑癌矮蔼艾爱隘碍"};
unsignedcharcodePY_mb_an[]={"安氨鞍俺岸按案胺暗"};
unsignedcharcodePY_mb_ang[]={"肮昂盎"};
unsignedcharcodePY_mb_ao[]={"凹敖熬翱袄傲奥澳懊"};
unsignedcharcodePY_mb_ba[]={"八巴叭扒吧芭疤捌笆拔跋把靶坝爸罢霸"};
unsignedcharcodePY_mb_bai[]={"白百佰柏摆败拜稗"};
unsignedcharcodePY_mb_ban[]={"扳班般颁斑搬板版办半伴扮拌绊瓣"};
unsignedcharcodePY_mb_bang[]={"邦帮梆绑榜膀蚌傍棒谤磅镑"};
unsignedcharcodePY_mb_bao[]={"包苞胞褒雹宝饱保堡报抱豹鲍暴爆剥薄瀑"};
unsignedcharcodePY_mb_bei[]={"卑杯悲碑北贝狈备背钡倍被惫焙辈"};
unsignedcharcodePY_mb_ben[]={"奔本苯笨夯"};
unsignedcharcodePY_mb_beng[]={"崩绷甭泵迸蹦"};
unsignedcharcodePY_mb_bi[]={"逼鼻比彼笔鄙币必毕闭庇毖陛毙敝痹蓖弊碧蔽壁避臂"};
unsignedcharcodePY_mb_bian[]={"边编鞭贬扁卞便变遍辨辩辫"};
unsignedcharcodePY_mb_biao[]={"彪标膘表"};
unsignedcharcodePY_mb_bie[]={"憋鳖别瘪"};
unsignedcharcodePY_mb_bin[]={"宾彬斌滨濒摈"};
unsignedcharcodePY_mb_bing[]={"冰兵丙秉柄炳饼并病"};
unsignedcharcodePY_mb_bo[]={"拨波玻钵脖菠播伯驳帛泊勃铂舶博渤搏箔膊卜"};
unsignedcharcodePY_mb_bu[]={"补哺捕不布步怖部埠簿"};
unsignedcharcodePY_mb_ca[]={"擦"};
unsignedcharcodePY_mb_cai[]={"猜才材财裁采彩睬踩菜蔡"};
unsignedcharcodePY_mb_can[]={"参餐残蚕惭惨灿"};
unsignedcharcodePY_mb_cang[]={"仓沧苍舱藏"};
unsignedcharcodePY_mb_cao[]={"操糙曹槽草"};
unsignedcharcodePY_mb_ce[]={"册侧厕测策"};
unsignedcharcodePY_mb_ceng[]={"层蹭曾"};
unsignedcharcodePY_mb_cha[]={"叉插查茬茶搽察碴岔诧差刹"};
unsignedcharcodePY_mb_chai[]={"拆柴豺"};
unsignedcharcodePY_mb_chan[]={"掺搀谗馋缠蝉产铲阐颤"};
unsignedcharcodePY_mb_chang[]={"昌猖肠尝偿常厂场敞畅倡唱"};
unsignedcharcodePY_mb_chao[]={"抄钞超巢朝嘲潮吵炒绰"};
unsignedcharcodePY_mb_che[]={"车扯彻掣撤澈"};
unsignedcharcodePY_mb_chen[]={"郴尘臣忱沉辰陈晨衬趁"};
unsignedcharcodePY_mb_cheng[]={"称撑成呈承诚城乘惩程澄橙逞骋秤"};
unsignedcharcodePY_mb_chi[]={"吃痴弛池驰迟持尺侈齿耻斥赤炽翅"};
unsignedcharcodePY_mb_chong[]={"充冲虫崇宠"};
unsignedcharcodePY_mb_chou[]={"抽仇绸畴愁稠筹酬踌丑瞅臭"};
unsignedcharcodePY_mb_chu[]={"出初除厨滁锄雏橱躇础储楚处搐触矗畜"};
unsignedcharcodePY_mb_chuai[]={"揣"};
unsignedcharcodePY_mb_chuan[]={"川穿传船椽喘串"};
unsignedcharcodePY_mb_chuang[]={"闯疮窗床创"};
unsignedcharcodePY_mb_chui[]={"吹炊垂捶锤"};
unsignedcharcodePY_mb_chun[]={"春椿纯唇淳醇蠢"};
unsignedcharcodePY_mb_chuo[]={"戳"};
unsignedcharcodePY_mb_ci[]={"疵词茨瓷慈辞磁雌此次刺赐"};
unsignedcharcodePY_mb_cong[]={"囱从匆葱聪丛"};
unsignedcharcodePY_mb_cou[]={"凑"};
unsignedcharcodePY_mb_cu[]={"粗促醋簇"};
unsignedcharcodePY_mb_cuan[]={"蹿窜篡"};
unsignedcharcodePY_mb_cui[]={"崔催摧脆淬瘁粹翠"};
unsignedcharcodePY_mb_cun[]={"村存寸"};
unsignedcharcodePY_mb_cuo[]={"搓磋撮挫措错"};
unsignedcharcodePY_mb_da[]={"搭达答瘩打大"};
unsignedcharcodePY_mb_dai[]={"呆歹傣代带待怠殆贷袋逮戴"};
unsignedcharcodePY_mb_dan[]={"丹单担耽郸胆掸旦但诞弹惮淡蛋氮"};
unsignedcharcodePY_mb_dang[]={"当挡党荡档"};
unsignedcharcodePY_mb_dao[]={"刀导岛倒捣祷蹈到悼盗道稻"};
unsignedcharcodePY_mb_de[]={"得德的"};
unsignedcharcodePY_mb_deng[]={"灯登蹬等邓凳瞪"};
unsignedcharcodePY_mb_di[]={"低堤滴狄迪敌涤笛嫡底抵地弟帝递第缔蒂"};
unsignedcharcodePY_mb_dian[]={"掂滇颠典点碘电佃甸店垫惦淀奠殿靛"};
unsignedcharcodePY_mb_diao[]={"刁叼凋碉雕吊钓掉"};
unsignedcharcodePY_mb_die[]={"爹跌迭谍叠碟蝶"};
unsignedcharcodePY_mb_ding[]={"丁叮盯钉顶鼎订定锭"};
unsignedcharcodePY_mb_diu[]={"丢"};
unsignedcharcodePY_mb_dong[]={"东冬董懂动冻侗恫栋洞"};
unsignedcharcodePY_mb_dou[]={"都兜斗抖陡豆逗痘"};
unsignedcharcodePY_mb_du[]={"督毒读犊独堵赌睹妒杜肚度渡镀"};
unsignedcharcodePY_mb_duan[]={"端短段断缎锻"};
unsignedcharcodePY_mb_dui[]={"堆队对兑"};
unsignedcharcodePY_mb_dun[]={"吨敦墩蹲盾钝顿遁"};
unsignedcharcodePY_mb_duo[]={"多哆夺掇朵垛躲剁堕舵惰跺"};
unsignedcharcodePY_mb_e[]={"讹俄娥峨鹅蛾额厄扼恶饿鄂遏"};
unsignedcharcodePY_mb_en[]={"恩"};
unsignedcharcodePY_mb_er[]={"儿而尔耳洱饵二贰"};
unsignedcharcodePY_mb_fa[]={"发乏伐罚阀筏法珐"};
unsignedcharcodePY_mb_fan[]={"帆番翻藩凡矾钒烦樊繁反返犯泛饭范贩"};
unsignedcharcodePY_mb_fang[]={"方坊芳防妨房肪仿访纺放"};
unsignedcharcodePY_mb_fei[]={"飞非啡菲肥匪诽吠废沸肺费"};
unsignedcharcodePY_mb_fen[]={"分吩纷芬氛酚坟汾焚粉份奋忿愤粪"};
unsignedcharcodePY_mb_feng[]={"丰风枫封疯峰烽锋蜂冯逢缝讽凤奉"};
unsignedcharcodePY_mb_fo[]={"佛"};
unsignedcharcodePY_mb_fou[]={"否"};
unsignedcharcodePY_mb_fu[]={"夫肤孵敷弗伏扶拂服俘氟浮涪符袱幅福辐抚甫府斧俯釜辅腑腐父讣付妇负附咐阜复赴副傅富赋缚腹覆"};
unsignedcharcodePY_mb_ga[]={"嘎噶"};
unsignedcharcodePY_mb_gai[]={"该改钙盖溉概"};
unsignedcharcodePY_mb_gan[]={"干甘杆肝柑竿秆赶敢感赣"};
unsignedcharcodePY_mb_gang[]={"冈刚岗纲肛缸钢港杠"};
unsignedcharcodePY_mb_gao[]={"皋羔高膏篙糕搞稿镐告"};
unsignedcharcodePY_mb_ge[]={"戈疙哥胳鸽割搁歌阁革格葛隔个各铬咯"};
unsignedcharcodePY_mb_gei[]={"给"};
unsignedcharcodePY_mb_gen[]={"根跟"};
unsignedcharcodePY_mb_geng[]={"更庚耕羹埂耿梗"};
unsignedcharcodePY_mb_gong[]={"工弓公功攻供宫恭躬龚巩汞拱共贡"};
unsignedcharcodePY_mb_gou[]={"勾沟钩狗苟构购垢够"};
unsignedcharcodePY_mb_gu[]={"估咕姑孤沽菇辜箍古谷股骨蛊鼓固故顾雇"};
unsignedcharcodePY_mb_gua[]={"瓜刮剐寡挂褂"};
unsignedcharcodePY_mb_guai[]={"乖拐怪"};
unsignedcharcodePY_mb_guan[]={"关观官冠棺馆管贯惯灌罐"};
unsignedcharcodePY_mb_guang[]={"光广逛"};
unsignedcharcodePY_mb_gui[]={"归圭龟规闺硅瑰轨诡癸鬼刽柜贵桂跪"};
unsignedcharcodePY_mb_gun[]={"辊滚棍"};
unsignedcharcodePY_mb_guo[]={"郭锅国果裹过"};
unsignedcharcodePY_mb_ha[]={"蛤哈"};
unsignedcharcodePY_mb_hai[]={"孩骸海亥骇害氦"};
unsignedcharcodePY_mb_han[]={"酣憨含邯函涵寒韩罕喊汉汗旱悍捍焊憾撼翰"};
unsignedcharcodePY_mb_hang[]={"杭航行"};
unsignedcharcodePY_mb_hao[]={"毫豪嚎壕好郝号浩耗"};
unsignedcharcodePY_mb_he[]={"呵喝禾合何和河阂核荷涸盒菏贺褐赫鹤"};
unsignedcharcodePY_mb_hei[]={"黑嘿"};
unsignedcharcodePY_mb_hen[]={"痕很狠恨"};
unsignedcharcodePY_mb_heng[]={"亨哼恒横衡"};
unsignedcharcodePY_mb_hong[]={"轰哄烘弘红宏洪虹鸿"};
unsignedcharcodePY_mb_hou[]={"侯喉猴吼后厚候"};
unsignedcharcodePY_mb_hu[]={"乎呼忽弧狐胡壶湖葫瑚糊蝴虎唬互户护沪"};
unsignedcharcodePY_mb_hua[]={"花华哗滑猾化划画话"};
unsignedcharcodePY_mb_huai[]={"怀徊淮槐坏"};
unsignedcharcodePY_mb_huan[]={"欢还环桓缓幻宦唤换涣患焕痪豢"};
unsignedcharcodePY_mb_huang[]={"荒慌皇凰黄惶煌蝗磺簧恍晃谎幌"};
unsignedcharcodePY_mb_hui[]={"灰恢挥辉徽回蛔悔卉汇会讳绘诲烩贿晦秽惠毁慧"};
unsignedcharcodePY_mb_hun[]={"昏荤婚浑魂混"};
unsignedcharcodePY_mb_huo[]={"豁活火伙或货获祸惑霍"};
unsignedcharcodePY_mb_ji[]={"讥击饥圾机肌鸡迹姬积基绩缉畸箕稽激及吉汲级即极急疾棘集嫉辑籍几己挤脊计记伎纪妓忌技际剂季既济继寂寄悸祭蓟冀藉"};
unsignedcharcodePY_mb_jia[]={"加夹佳枷家嘉荚颊甲贾钾价驾架假嫁稼挟"};
unsignedcharcodePY_mb_jian[]={"奸尖坚歼间肩艰兼监笺缄煎拣俭柬茧捡减剪检硷简碱见件建饯剑荐贱健涧舰渐溅践鉴键箭"};
unsignedcharcodePY_mb_jiang[]={"江姜将浆僵疆讲奖桨蒋匠降酱"};
unsignedcharcodePY_mb_jiao[]={"交郊娇浇骄胶椒焦蕉礁角狡绞饺矫脚铰搅剿缴叫轿较教窖酵觉嚼"};
unsignedcharcodePY_mb_jie[]={"阶皆接秸揭街节劫杰洁结捷睫截竭姐解介戒芥届界疥诫借"};
unsignedcharcodePY_mb_jin[]={"巾今斤金津筋襟仅紧谨锦尽劲近进晋浸烬禁靳"};
unsignedcharcodePY_mb_jing[]={"京经茎荆惊晶睛粳兢精鲸井颈景警净径痉竞竟敬靖境静镜"};
unsignedcharcodePY_mb_jiong[]={"炯窘"};
unsignedcharcodePY_mb_jiu[]={"纠究揪九久灸玖韭酒旧臼咎疚厩救就舅"};
unsignedcharcodePY_mb_ju[]={"居拘狙驹疽鞠局桔菊咀沮举矩句巨拒具炬俱剧惧据距锯聚踞"};
unsignedcharcodePY_mb_juan[]={"娟捐鹃卷倦绢眷"};
unsignedcharcodePY_mb_jue[]={"撅决诀抉绝倔掘爵攫"};
unsignedcharcodePY_mb_jun[]={"军君均钧菌俊郡峻浚骏竣"};
unsignedcharcodePY_mb_ka[]={"咖喀卡"};
unsignedcharcodePY_mb_kai[]={"开揩凯慨楷"};
unsignedcharcodePY_mb_kan[]={"槛刊勘堪坎砍看"};
unsignedcharcodePY_mb_kang[]={"康慷糠扛亢抗炕"};
unsignedcharcodePY_mb_kao[]={"考拷烤靠"};
unsignedcharcodePY_mb_ke[]={"坷苛柯科棵颗磕壳咳可渴克刻客课"};
unsignedcharcodePY_mb_ken[]={"肯垦恳啃"};
unsignedcharcodePY_mb_keng[]={"吭坑"};
unsignedcharcodePY_mb_kong[]={"空孔恐控"};
unsignedcharcodePY_mb_kou[]={"抠口扣寇"};
unsignedcharcodePY_mb_ku[]={"枯哭窟苦库裤酷"};
unsignedcharcodePY_mb_kua[]={"夸垮挎胯跨"};
unsignedcharcodePY_mb_kuai[]={"块快侩筷"};
unsignedcharcodePY_mb_kuan[]={"宽款"};
unsignedcharcodePY_mb_kuang[]={"匡筐狂况旷矿框眶"};
unsignedcharcodePY_mb_kui[]={"亏岿盔窥奎葵魁傀愧溃馈"};
unsignedcharcodePY_mb_kun[]={"坤昆捆困"};
unsignedcharcodePY_mb_kuo[]={"扩括阔廓"};
unsignedcharcodePY_mb_la[]={"垃拉啦喇腊蜡辣"};
unsignedcharcodePY_mb_lai[]={"来莱赖"};
unsignedcharcodePY_mb_lan[]={"兰拦栏婪阑蓝谰澜篮览揽缆懒烂滥"};
unsignedcharcodePY_mb_lang[]={"郎狼廊琅榔朗浪"};
unsignedcharcodePY_mb_lao[]={"捞劳牢老佬姥涝烙酪"};
unsignedcharcodePY_mb_le[]={"乐勒了"};
unsignedcharcodePY_mb_lei[]={"雷镭垒磊蕾儡肋泪类累擂"};
unsignedcharcodePY_mb_leng[]={"棱楞冷"};
unsignedcharcodePY_mb_li[]={"厘梨狸离莉犁漓璃黎篱礼李里哩理鲤力历厉立吏丽利励沥例隶俐荔栗砾粒傈痢"};
unsignedcharcodePY_mb_lian[]={"连帘怜涟莲联廉镰敛脸练炼恋链"};
unsignedcharcodePY_mb_liang[]={"俩良凉梁粮粱两亮谅辆晾量"};
unsignedcharcodePY_mb_liao[]={"潦辽疗聊僚寥廖撩燎镣料撂"};
unsignedcharcodePY_mb_lie[]={"列劣烈猎裂"};
unsignedcharcodePY_mb_lin[]={"邻林临淋琳霖磷鳞凛吝赁拎"};
unsignedcharcodePY_mb_ling[]={"伶灵岭玲凌铃陵羚菱零龄领令另"};
unsignedcharcodePY_mb_liu[]={"溜刘流留琉硫馏榴瘤柳六"};
unsignedcharcodePY_mb_long[]={"龙咙笼聋隆窿陇垄拢"};
unsignedcharcodePY_mb_lou[]={"娄楼搂篓陋漏"};
unsignedcharcodePY_mb_lu[]={"露卢庐芦炉颅卤虏掳鲁陆录赂鹿禄碌路戮潞麓"};
unsignedcharcodePY_mb_luan[]={"孪峦挛滦卵乱"};
unsignedcharcodePY_mb_lue[]={"掠略"};
unsignedcharcodePY_mb_lun[]={"抡仑伦沦纶轮论"};
unsignedcharcodePY_mb_luo[]={"罗萝逻锣箩骡螺裸洛络骆落"};
unsignedcharcodePY_mb_lv[]={"滤驴吕侣旅铝屡缕履律虑率绿氯"};
unsignedcharcodePY_mb_ma[]={"妈麻马玛码蚂骂吗嘛"};
unsignedcharcodePY_mb_mai[]={"埋买迈麦卖脉"};
unsignedcharcodePY_mb_man[]={"蛮馒瞒满曼谩慢漫蔓"};
unsignedcharcodePY_mb_mang[]={"忙芒盲茫莽氓"};
unsignedcharcodePY_mb_mao[]={"猫毛矛茅锚卯铆茂冒贸帽貌"};
unsignedcharcodePY_mb_me[]={"么"};
unsignedcharcodePY_mb_mei[]={"没枚玫眉梅媒煤酶霉每美镁妹昧媚寐"};
unsignedcharcodePY_mb_men[]={"门闷们"};
unsignedcharcodePY_mb_meng[]={"萌盟檬猛蒙锰孟梦"};
unsignedcharcodePY_mb_mi[]={"弥迷谜醚糜靡米眯泌觅秘密幂蜜"};
unsignedcharcodePY_mb_mian[]={"眠绵棉免勉娩冕缅面"};
unsignedcharcodePY_mb_miao[]={"苗描瞄秒渺藐妙庙"};
unsignedcharcodePY_mb_mie[]={"灭蔑"};
unsignedcharcodePY_mb_min[]={"民皿抿闽悯敏"};
unsignedcharcodePY_mb_ming[]={"名明鸣铭螟命"};
unsignedcharcodePY_mb_miu[]={"谬"};
unsignedcharcodePY_mb_mo[]={"貉摸摹模膜摩磨蘑魔抹末沫陌莫寞漠墨默"};
unsignedcharcodePY_mb_mou[]={"牟谋某"};
unsignedcharcodePY_mb_mu[]={"母亩牡姆拇木目牧募墓幕睦慕暮穆"};
unsignedcharcodePY_mb_na[]={"拿哪那纳娜钠呐"};
unsignedcharcodePY_mb_nai[]={"乃奶氖奈耐"};
unsignedcharcodePY_mb_nan[]={"男南难"};
unsignedcharcodePY_mb_nang[]={"囊"};
unsignedcharcodePY_mb_nao[]={"挠恼脑闹淖"};
unsignedcharcodePY_mb_ne[]={"呢"};
unsignedcharcodePY_mb_nei[]={"内馁"};
unsignedcharcodePY_mb_nen[]={"嫩"};
unsignedcharcodePY_mb_neng[]={"能"};
unsignedcharcodePY_mb_ni[]={"妮尼泥倪霓你拟逆匿溺腻"};
unsignedcharcodePY_mb_nian[]={"拈年捻撵碾念蔫"};
unsignedcharcodePY_mb_niang[]={"娘酿"};
unsignedcharcodePY_mb_niao[]={"鸟尿"};
unsignedcharcodePY_mb_nie[]={"捏涅聂啮镊镍孽"};
unsignedcharcodePY_mb_nin[]={"您"};
unsignedcharcodePY_mb_ning[]={"宁拧狞柠凝泞"};
unsignedcharcodePY_mb_niu[]={"牛扭纽钮"};
unsignedcharcodePY_mb_nong[]={"农浓脓弄"};
unsignedcharcodePY_mb_nu[]={"奴努怒"};
unsignedcharcodePY_mb_nuan[]={"暖"};
unsignedcharcodePY_mb_nue[]={"疟虐"};
unsignedcharcodePY_mb_nuo[]={"挪诺懦糯"};
unsignedcharcodePY_mb_nv[]={"女"};
unsignedcharcodePY_mb_o[]={"哦"};
unsignedcharcodePY_mb_ou[]={"欧殴鸥呕偶藕沤"};
unsignedcharcodePY_mb_pa[]={"趴啪爬耙琶帕怕"};
unsignedcharcodePY_mb_pai[]={"拍徘排牌派湃"};
unsignedcharcodePY_mb_pan[]={"潘攀盘磐判叛盼畔"};
unsignedcharcodePY_mb_pang[]={"乓庞旁耪胖"};
unsignedcharcodePY_mb_pao[]={"抛刨咆炮袍跑泡"};
unsignedcharcodePY_mb_pei[]={"呸胚陪培赔裴沛佩配"};
unsignedcharcodePY_mb_pen[]={"喷盆"};
unsignedcharcodePY_mb_peng[]={"抨砰烹朋彭棚硼蓬鹏澎篷膨捧碰"};
unsignedcharcodePY_mb_pi[]={"辟批坯披砒劈霹皮毗疲啤琵脾匹痞屁僻譬"};
unsignedcharcodePY_mb_pian[]={"片偏篇骗"};
unsignedcharcodePY_mb_piao[]={"漂飘瓢票"};
unsignedcharcodePY_mb_pie[]={"撇瞥"};
unsignedcharcodePY_mb_pin[]={"拼贫频品聘"};
unsignedcharcodePY_mb_ping[]={"乒平评凭坪苹屏瓶萍"};
unsignedcharcodePY_mb_po[]={"坡泼颇婆迫破粕魄"};
unsignedcharcodePY_mb_pou[]={"剖"};
unsignedcharcodePY_mb_pu[]={"脯仆扑铺莆菩葡蒲朴圃埔浦普谱曝"};
unsignedcharcodePY_mb_qi[]={"七沏妻柒凄栖戚期欺漆祁齐其奇歧祈脐崎畦骑棋旗乞企岂启起气讫迄弃汽泣契砌器"};
unsignedcharcodePY_mb_qia[]={"掐恰洽"};
unsignedcharcodePY_mb_qian[]={"千仟扦迁钎牵铅谦签前钱钳乾潜黔浅遣谴欠堑嵌歉"};
unsignedcharcodePY_mb_qiang[]={"呛羌枪腔强墙蔷抢"};
unsignedcharcodePY_mb_qiao[]={"悄敲锹橇乔侨桥瞧巧俏峭窍翘撬鞘"};
unsignedcharcodePY_mb_qie[]={"切茄且怯窃"};
unsignedcharcodePY_mb_qin[]={"亲侵钦芹秦琴禽勤擒寝沁"};
unsignedcharcodePY_mb_qing[]={"青氢轻倾卿清情晴氰擎顷请庆"};
unsignedcharcodePY_mb_qiong[]={"穷琼"};
unsignedcharcodePY_mb_qiu[]={"丘邱秋囚求泅酋球"};
unsignedcharcodePY_mb_qu[]={"区曲驱屈蛆躯趋渠取娶龋去趣"};
unsignedcharcodePY_mb_quan[]={"圈全权泉拳痊醛颧犬劝券"};
unsignedcharcodePY_mb_que[]={"炔缺瘸却雀确鹊榷"};
unsignedcharcodePY_mb_qun[]={"裙群"};
unsignedcharcodePY_mb_ran[]={"然燃冉染"};
unsignedcharcodePY_mb_rang[]={"瓤嚷壤攘让"};
unsignedcharcodePY_mb_rao[]={"饶扰绕"};
unsignedcharcodePY_mb_re[]={"惹热"};
unsignedcharcodePY_mb_ren[]={"人仁壬忍刃认任纫妊韧"};
unsignedcharcodePY_mb_reng[]={"扔仍"};
unsignedcharcodePY_mb_ri[]={"日"};
unsignedcharcodePY_mb_rong[]={"戎绒茸荣容溶蓉熔融冗"};
unsignedcharcodePY_mb_rou[]={"柔揉肉"};
unsignedcharcodePY_mb_ru[]={"如茹儒孺蠕汝乳辱入褥"};
unsignedcharcodePY_mb_ruan[]={"阮软"};
unsignedcharcodePY_mb_rui[]={"蕊锐瑞"};
unsignedcharcodePY_mb_run[]={"闰润"};
unsignedcharcodePY_mb_ruo[]={"若弱"};
unsignedcharcodePY_mb_sa[]={"撒洒萨"};
unsignedcharcodePY_mb_sai[]={"塞腮鳃赛"};
unsignedcharcodePY_mb_san[]={"三叁伞散"};
unsignedcharcodePY_mb_sang[]={"桑嗓丧"};
unsignedcharcodePY_mb_sao[]={"搔骚扫嫂"};
unsignedcharcodePY_mb_se[]={"色涩瑟"};
unsignedcharcodePY_mb_sen[]={"森"};
unsignedcharcodePY_mb_seng[]={"僧"};
unsignedcharcodePY_mb_sha[]={"杀沙纱砂莎傻啥煞厦"};
unsignedcharcodePY_mb_shai[]={"筛晒"};
unsignedcharcodePY_mb_shan[]={"山删杉衫珊煽闪陕汕苫扇善缮擅膳赡栅"};
unsignedcharcodePY_mb_shang[]={"伤商墒裳晌赏上尚"};
unsignedcharcodePY_mb_shao[]={"捎梢烧稍勺芍韶少邵绍哨"};
unsignedcharcodePY_mb_she[]={"奢赊舌蛇舍设社射涉赦慑摄"};
unsignedcharcodePY_mb_shen[]={"申伸身呻绅娠砷深神沈审婶肾甚渗慎什"};
unsignedcharcodePY_mb_sheng[]={"升生声牲胜甥绳省圣盛剩"};
unsignedcharcodePY_mb_shi[]={"匙尸失师虱诗施狮湿十石时识实拾蚀食史矢使始驶屎士氏世仕市示式事侍势视试饰室恃拭是柿适逝释嗜誓噬似"};
unsignedcharcodePY_mb_shou[]={"收手守首寿受兽售授瘦"};
unsignedcharcodePY_mb_shu[]={"书抒叔枢殊梳淑疏舒输蔬孰赎熟暑黍署鼠蜀薯曙术戍束述树竖恕庶数墅漱属"};
unsignedcharcodePY_mb_shua[]={"刷耍"};
unsignedcharcodePY_mb_shuai[]={"衰摔甩帅"};
unsignedcharcodePY_mb_shuan[]={"拴栓"};
unsignedcharcodePY_mb_shuang[]={"双霜爽"};
unsignedcharcodePY_mb_shui[]={"谁水税睡"};
unsignedcharcodePY_mb_shun[]={"吮顺舜瞬"};
unsignedcharcodePY_mb_shuo[]={"说烁朔硕"};
unsignedcharcodePY_mb_si[]={"丝司私思斯嘶撕死巳四寺伺饲嗣肆"};
unsignedcharcodePY_mb_song[]={"松怂耸讼宋诵送颂"};
unsignedcharcodePY_mb_sou[]={"嗽搜艘擞"};
unsignedcharcodePY_mb_su[]={"苏酥俗诉肃素速粟塑溯僳"};
unsignedcharcodePY_mb_suan[]={"酸蒜算"};
unsignedcharcodePY_mb_sui[]={"虽绥隋随髓岁祟遂碎隧穗"};
unsignedcharcodePY_mb_sun[]={"孙损笋"};
unsignedcharcodePY_mb_suo[]={"唆梭蓑缩所索琐锁"};
unsignedcharcodePY_mb_ta[]={"她他它塌塔獭挞踏蹋"};
unsignedcharcodePY_mb_tai[]={"胎台抬苔太汰态泰酞"};
unsignedcharcodePY_mb_tan[]={"坍贪摊滩瘫坛谈痰谭潭檀坦袒毯叹炭探碳"};
unsignedcharcodePY_mb_tang[]={"汤唐堂棠塘搪膛糖倘淌躺烫趟"};
unsignedcharcodePY_mb_tao[]={"涛绦掏滔逃桃陶淘萄讨套"};
unsignedcharcodePY_mb_te[]={"特"};
unsignedcharcodePY_mb_teng[]={"疼腾誊藤"};
unsignedcharcodePY_mb_ti[]={"剔梯锑踢啼提题蹄体屉剃涕惕替嚏"};
unsignedcharcodePY_mb_tian[]={"天添田恬甜填腆舔"};
unsignedcharcodePY_mb_tiao[]={"调挑条迢眺跳"};
unsignedcharcodePY_mb_tie[]={"贴铁帖"};
unsignedcharcodePY_mb_ting[]={"厅汀听烃廷亭庭停挺艇"};
unsignedcharcodePY_mb_tong[]={"通同彤桐铜童酮瞳统捅桶筒痛"};
unsignedcharcodePY_mb_tou[]={"偷头投透"};
unsignedcharcodePY_mb_tu[]={"凸秃突图徒涂途屠土吐兔"};
unsignedcharcodePY_mb_tuan[]={"湍团"};
unsignedcharcodePY_mb_tui[]={"推颓腿退蜕褪"};
unsignedcharcodePY_mb_tun[]={"囤吞屯臀"};
unsignedcharcodePY_mb_tuo[]={"托拖脱驮陀驼鸵妥椭拓唾"};
unsignedcharcodePY_mb_wa[]={"哇娃挖洼蛙瓦袜"};
unsignedcharcodePY_mb_wai[]={"歪外"};
unsignedcharcodePY_mb_wan[]={"弯湾豌丸完玩顽烷宛挽晚婉惋皖碗万腕"};
unsignedcharcodePY_mb_wang[]={"汪亡王网往枉妄忘旺望"};
unsignedcharcodePY_mb_wei[]={"危威微巍为韦围违桅唯惟维潍伟伪尾纬苇委萎卫未位味畏胃尉谓喂渭蔚慰魏"};
unsignedcharcodePY_mb_wen[]={"温瘟文纹闻蚊吻紊稳问"};
unsignedcharcodePY_mb_weng[]={"翁嗡瓮"};
unsignedcharcodePY_mb_wo[]={"挝涡窝蜗我沃卧握斡"};
unsignedcharcodePY_mb_wu[]={"乌污呜巫屋诬钨无毋吴吾芜梧五午伍坞武侮捂舞勿务戊物误悟晤雾"};
unsignedcharcodePY_mb_xi[]={"夕汐西吸希昔析矽息牺悉惜烯硒晰犀稀溪锡熄熙嘻膝习席袭媳檄洗喜戏系细隙"};
unsignedcharcodePY_mb_xia[]={"虾瞎匣侠峡狭暇辖霞下吓夏"};
unsignedcharcodePY_mb_xian[]={"铣仙先纤掀锨鲜闲弦贤咸涎舷衔嫌显险县现线限宪陷馅羡献腺"};
unsignedcharcodePY_mb_xiang[]={"乡相香厢湘箱襄镶详祥翔享响想向巷项象像橡"};
unsignedcharcodePY_mb_xiao[]={"宵消萧硝销霄嚣淆小晓孝肖哮效校笑啸"};
unsignedcharcodePY_mb_xie[]={"些楔歇蝎协邪胁斜谐携鞋写泄泻卸屑械谢懈蟹"};
unsignedcharcodePY_mb_xin[]={"心忻芯辛欣锌新薪信衅"};
unsignedcharcodePY_mb_xing[]={"兴星惺猩腥刑邢形型醒杏姓幸性"};
unsignedcharcodePY_mb_xiong[]={"凶兄匈汹胸雄熊"};
unsignedcharcodePY_mb_xiu[]={"宿休修羞朽秀绣袖锈嗅"};
unsignedcharcodePY_mb_xu[]={"戌须虚嘘需墟徐许旭序叙恤绪续酗婿絮蓄吁"};
unsignedcharcodePY_mb_xuan[]={"轩宣喧玄悬旋选癣绚眩"};
unsignedcharcodePY_mb_xue[]={"削靴薛穴学雪血"};
unsignedcharcodePY_mb_xun[]={"勋熏寻巡旬驯询循训讯汛迅逊殉"};
unsignedcharcodePY_mb_ya[]={"丫压呀押鸦鸭牙芽蚜崖涯衙哑雅亚讶"};
unsignedcharcodePY_mb_yan[]={"咽烟淹焉阉延严言岩沿炎研盐阎蜒颜奄衍掩眼演厌彦砚唁宴艳验谚堰焰雁燕"};
unsignedcharcodePY_mb_yang[]={"央殃秧鸯扬羊阳杨佯疡洋仰养氧痒样漾"};
unsignedcharcodePY_mb_yao[]={"侥妖腰邀尧姚窑谣摇遥瑶咬舀药要耀钥"};
unsignedcharcodePY_mb_ye[]={"椰噎爷耶也冶野业叶曳页夜掖液腋"};
unsignedcharcodePY_mb_yi[]={"一伊衣医依铱壹揖仪夷沂宜姨胰移遗颐疑彝乙已以矣蚁倚椅义亿忆艺议亦屹异役抑译邑易绎诣疫益谊翌逸意溢肄裔毅翼臆"};
unsignedcharcodePY_mb_yin[]={"因阴姻茵荫音殷吟寅淫银尹引饮隐印"};
unsignedcharcodePY_mb_ying[]={"应英婴缨樱鹰迎盈荧莹萤营蝇赢颖影映硬"};
unsignedcharcodePY_mb_yo[]={"哟"};
unsignedcharcodePY_mb_yong[]={"佣拥痈庸雍臃永咏泳勇涌恿蛹踊用"};
unsignedcharcodePY_mb_you[]={"优忧幽悠尤由犹邮油铀游友有酉又右幼佑诱釉"};
unsignedcharcodePY_mb_yu[]={"迂淤渝于予余盂鱼俞娱渔隅愉逾愚榆虞舆与宇屿羽雨禹语玉驭芋育郁狱峪浴预域欲喻寓御裕遇愈誉豫"};
unsignedcharcodePY_mb_yuan[]={"冤鸳渊元员园垣原圆袁援缘源猿辕远苑怨院愿"};
unsignedcharcodePY_mb_yue[]={"曰约月岳悦阅跃粤越"};
unsignedcharcodePY_mb_yun[]={"云匀郧耘允陨孕运晕酝韵蕴"};
unsignedcharcodePY_mb_za[]={"匝杂砸咋"};
unsignedcharcodePY_mb_zai[]={"灾哉栽宰载再在仔"};
unsignedcharcodePY_mb_zan[]={"咱攒暂赞"};
unsignedcharcodePY_mb_zang[]={"赃脏葬"};
unsignedcharcodePY_mb_zao[]={"遭糟凿早枣蚤澡藻灶皂造噪燥躁"};
unsignedcharcodePY_mb_ze[]={"则择泽责"};
unsignedcharcodePY_mb_zei[]={"贼"};
unsignedcharcodePY_mb_zen[]={"怎"};
unsignedcharcodePY_mb_zeng[]={"增憎赠"};
unsignedcharcodePY_mb_zha[]={"喳渣扎札轧闸铡眨乍诈炸榨柞"};
unsignedcharcodePY_mb_zhai[]={"斋摘宅翟窄债寨"};
unsignedcharcodePY_mb_zhan[]={"沾毡粘詹瞻斩展盏崭辗占战栈站绽湛蘸"};
unsignedcharcodePY_mb_zhang[]={"长张章彰漳樟涨掌丈仗帐杖胀账障瘴"};
unsignedcharcodePY_mb_zhao[]={"招昭找沼召兆赵照罩肇爪"};
unsignedcharcodePY_mb_zhe[]={"遮折哲蛰辙者锗这浙蔗着"};
unsignedcharcodePY_mb_zhen[]={"贞针侦珍真砧斟甄臻诊枕疹阵振镇震帧"};
unsignedcharcodePY_mb_zheng[]={"争征怔挣狰睁蒸拯整正证郑政症"};
unsignedcharcodePY_mb_zhi[]={"之支汁芝吱枝知织肢脂蜘执侄直值职植殖止只旨址纸指趾至志制帜治炙质峙挚秩致掷痔窒智滞稚置"};
unsignedcharcodePY_mb_zhong[]={"中忠终盅钟衷肿种仲众重"};
unsignedcharcodePY_mb_zhou[]={"州舟诌周洲粥轴肘帚咒宙昼皱骤"};
unsignedcharcodePY_mb_zhu[]={"朱诛株珠诸猪蛛竹烛逐主拄煮嘱瞩住助注贮驻柱祝著蛀筑铸"};
unsignedcharcodePY_mb_zhua[]={"抓"};
unsignedcharcodePY_mb_zhuai[]={"拽"};
unsignedcharcodePY_mb_zhuan[]={"专砖转撰篆"};
unsignedcharcodePY_mb_zhuang[]={"妆庄桩装壮状幢撞"};
unsignedcharcodePY_mb_zhui[]={"追椎锥坠缀赘"};
unsignedcharcodePY_mb_zhun[]={"谆准"};
unsignedcharcodePY_mb_zhuo[]={"卓拙捉桌灼茁浊酌啄琢"};
unsignedcharcodePY_mb_zi[]={"孜兹咨姿资淄滋籽子紫滓字自渍"};
unsignedcharcodePY_mb_zong[]={"宗综棕踪鬃总纵"};
unsignedcharcodePY_mb_zou[]={"邹走奏揍"};
unsignedcharcodePY_mb_zu[]={"租足卒族诅阻组祖"};
unsignedcharcodePY_mb_zuan[]={"赚纂钻"};
unsignedcharcodePY_mb_zui[]={"嘴最罪醉"};
unsignedcharcodePY_mb_zun[]={"尊遵"};
unsignedcharcodePY_mb_zuo[]={"昨左佐作坐座做"};
//================================================================================================
//"拼音输入法查询码表"
unsignedcharcodePY_index_a[][8]={
{"",0x00,0x00},
{"i",0x05,0x00},
{"n",0x20,0x00},
{"ng",0x33,0x00},
{"o",0x3A,0x00}};
unsignedcharcodePY_index_b[][8]={
{"a",0x4D,0x00},
{"ai",0x70,0x00},
{"an",0x81,0x00},
{"ang",0xA0,0x00},
{"ao",0xB9,0x00},
{"ei",0xDE,0x00},
{"en",0xFD,0x00},
{"eng",0x08,0x01},
{"i",0x15,0x01},
{"ian",0x44,0x01},
{"iao",0x5D,0x01},
{"ie",0x66,0x01},
{"in",0x6F,0x01},
{"ing",0x7C,0x01},
{"o",0x8F,0x01},
{"u",0xB8,0x01}};
unsignedcharcodePY_index_c[][8]={
{"a",0xCD,0x01},
{"ai",0xD0,0x01},
{"an",0xE7,0x01},
{"ang",0xF6,0x01},
{"ao",0x01,0x02},
{"e",0x0C,0x02},
{"eng",0x17,0x02},
{"ha",0x1E,0x02},
{"hai",0x37,0x02},
{"han",0x3E,0x02},
{"hang",0x53,0x02},
{"hao",0x6C,0x02},
{"he",0x81,0x02},
{"hen",0x8E,0x02},
{"heng",0xA3,0x02},
{"hi",0xC2,0x02},
{"hong",0xE1,0x02},
{"hou",0xEC,0x02},
{"hu",0x05,0x03},
{"huai",0x28,0x03},
{"huan",0x2B,0x03},
{"huang",0x3A,0x03},
{"hui",0x45,0x03},
{"hun",0x50,0x03},
{"huo",0x5F,0x03},
{"i",0x62,0x03},
{"ong",0x7B,0x03},
{"ou",0x88,0x03},
{"u",0x8B,0x03},
{"uan",0x94,0x03},
{"ui",0x9B,0x03},
{"un",0xAC,0x03},
{"uo",0xB3,0x03}};
unsignedcharcodePY_index_d[][8]={
{"a",0xC0,0x03},
{"ai",0xCD,0x03},
{"an",0xE6,0x03},
{"ang",0x05,0x04},
{"ao",0x10,0x04},
{"e",0x29,0x04},
{"eng",0x30,0x04},
{"i",0x3F,0x04},
{"ian",0x64,0x04},
{"iao",0x85,0x04},
{"ie",0x96,0x04},
{"ing",0xA5,0x04},
{"iu",0xB8,0x04},
{"ong",0xBB,0x04},
{"ou",0xD0,0x04},
{"u",0xE1,0x04},
{"uan",0xFE,0x04},
{"ui",0x0B,0x05},
{"un",0x14,0x05},
{"uo",0x25,0x05}};
unsignedcharcodePY_index_e[][8]={
{"",0x3E,0x05},
{"n",0x59,0x05},
{"r",0x5C,0x05}};
unsignedcharcodePY_index_f[][8]={
{"a",0x6D,0x05},
{"an",0x7E,0x05},
{"ang",0xA1,0x05},
{"ei",0xB8,0x05},
{"en",0xD1,0x05},
{"eng",0xF0,0x05},
{"o",0x0F,0x06},
{"ou",0x12,0x06},
{"u",0x15,0x06}};
unsignedcharcodePY_index_g[][8]={
{"a",0x6E,0x06},
{"ai",0x73,0x06},
{"an",0x80,0x06},
{"ang",0x97,0x06},
{"ao",0xAA,0x06},
{"e",0xBF,0x06},
{"ei",0xE2,0x06},
{"en",0xE5,0x06},
{"eng",0xEA,0x06},
{"ong",0xF9,0x06},
{"ou",0x18,0x07},
{"u",0x2B,0x07},
{"ua",0x50,0x07},
{"uai",0x5D,0x07},
{"uan",0x64,0x07},
{"uang",0x7B,0x07},
{"ui",0x82,0x07},
{"un",0xA3,0x07},
{"uo",0xAA,0x07}};
unsignedcharcodePY_index_h[][8]={
{"a",0xB7,0x07},
{"ai",0xBC,0x07},
{"an",0xCB,0x07},
{"ang",0xF2,0x07},
{"ao",0xF9,0x07},
{"e",0x0C,0x08},
{"ei",0x2F,0x08},
{"en",0x34,0x08},
{"eng",0x3D,0x08},
{"ong",0x48,0x08},
{"ou",0x5B,0x08},
{"u",0x6A,0x08},
{"ua",0x8F,0x08},
{"uai",0xA2,0x08},
{"uan",0xAD,0x08},
{"uang",0xCA,0x08},
{"ui",0xE7,0x08},
{"un",0x12,0x09},
{"uo",0x1F,0x09}};
unsignedcharcodePY_index_j[][8]={
{"i",0x34,0x09},
{"ia",0xA1,0x09},
{"ian",0xC6,0x09},
{"iang",0x15,0x0A},
{"iao",0x30,0x0A},
{"ie",0x69,0x0A},
{"in",0x9C,0x0A},
{"ing",0xC5,0x0A},
{"iong",0xF8,0x0A},
{"iu",0xFD,0x0A},
{"u",0x20,0x0B},
{"uan",0x55,0x0B},
{"ue",0x64,0x0B},
{"un",0x77,0x0B}};
unsignedcharcodePY_index_k[][8]={
{"a",0x8E,0x0B},
{"ai",0x95,0x0B},
{"an",0xA0,0x0B},
{"ang",0xAF,0x0B},
{"ao",0xBE,0x0B},
{"e",0xC7,0x0B},
{"en",0xE6,0x0B},
{"eng",0xEF,0x0B},
{"ong",0xF4,0x0B},
{"ou",0xFD,0x0B},
{"u",0x06,0x0C},
{"ua",0x15,0x0C},
{"uai",0x20,0x0C},
{"uan",0x29,0x0C},
{"uang",0x2E,0x0C},
{"ui",0x3F,0x0C},
{"un",0x56,0x0C},
{"uo",0x5F,0x0C}};
unsignedcharcodePY_index_l[][8]={
{"a",0x68,0x0C},
{"ai",0x77,0x0C},
{"an",0x7E,0x0C},
{"ang",0x9D,0x0C},
{"ao",0xAC,0x0C},
{"e",0xBF,0x0C},
{"ei",0xC6,0x0C},
{"eng",0xDD,0x0C},
{"i",0xE4,0x0C},
{"ian",0x29,0x0D},
{"iang",0x46,0x0D},
{"iao",0x5F,0x0D},
{"ie",0x78,0x0D},
{"in",0x83,0x0D},
{"ing",0x9C,0x0D},
{"iu",0xB9,0x0D},
{"ong",0xD0,0x0D},
{"ou",0xE3,0x0D},
{"u",0xF0,0x0D},
{"uan",0x19,0x0E},
{"ue",0x26,0x0E},
{"un",0x2B,0x0E},
{"uo",0x3A,0x0E},
{"v",0x53,0x0E}};
unsignedcharcodePY_index_m[][8]={
{"a",0x70,0x0E},
{"ai",0x83,0x0E},
{"an",0x90,0x0E},
{"ang",0xA3,0x0E},
{"ao",0xB0,0x0E},
{"e",0xC9,0x0E},
{"ei",0xCC,0x0E},
{"en",0xED,0x0E},
{"eng",0xF4,0x0E},
{"i",0x05,0x0F},
{"ian",0x22,0x0F},
{"iao",0x35,0x0F},
{"ie",0x46,0x0F},
{"in",0x4B,0x0F},
{"ing",0x58,0x0F},
{"iu",0x65,0x0F},
{"o",0x68,0x0F},
{"ou",0x8D,0x0F},
{"u",0x94,0x0F}};
unsignedcharcodePY_index_n[][8]={
{"a",0xB3,0x0F},
{"ai",0xC2,0x0F},
{"an",0xCD,0x0F},
{"ang",0xD4,0x0F},
{"ao",0xD7,0x0F},
{"e",0xE2,0x0F},
{"ei",0xE5,0x0F},
{"en",0xEA,0x0F},
{"eng",0xED,0x0F},
{"i",0xF0,0x0F},
{"ian",0x07,0x10},
{"iang",0x16,0x10},
{"iao",0x1B,0x10},
{"ie",0x20,0x10},
{"in",0x2F,0x10},
{"ing",0x32,0x10},
{"iu",0x3F,0x10},
{"ong",0x48,0x10},
{"u",0x51,0x10},
{"uan",0x58,0x10},
{"ue",0x5B,0x10},
{"uo",0x60,0x10},
{"v",0x69,0x10}};
unsignedcharcodePY_index_o[][8]={
{"",0x6C,0x10},
{"u",0x6F,0x10}};
unsignedcharcodePY_index_p[][8]={
{"a",0x7E,0x10},
{"ai",0x8D,0x10},
{"an",0x9A,0x10},
{"ang",0xAB,0x10},
{"ao",0xB6,0x10},
{"ei",0xC5,0x10},
{"en",0xD8,0x10},
{"eng",0xDD,0x10},
{"i",0xFA,0x10},
{"ian",0x1F,0x11},
{"iao",0x28,0x11},
{"ie",0x31,0x11},
{"in",0x36,0x11},
{"ing",0x41,0x11},
{"o",0x54,0x11},
{"ou",0x65,0x11},
{"u",0x68,0x11}};
unsignedcharcodePY_index_q[][8]={
{"i",0x87,0x11},
{"ia",0xD0,0x11},
{"ian",0xD7,0x11},
{"iang",0x04,0x12},
{"iao",0x15,0x12},
{"ie",0x34,0x12},
{"in",0x3F,0x12},
{"ing",0x56,0x12},
{"iong",0x71,0x12},
{"iu",0x76,0x12},
{"u",0x87,0x12},
{"uan",0xA2,0x12},
{"ue",0xB9,0x12},
{"un",0xCA,0x12}};
unsignedcharcodePY_index_r[][8]={
{"an",0xCF,0x12},
{"ang",0xD8,0x12},
{"ao",0xE3,0x12},
{"e",0xEA,0x12},
{"en",0xEF,0x12},
{"eng",0x04,0x13},
{"i",0x09,0x13},
{"ong",0x0C,0x13},
{"ou",0x21,0x13},
{"u",0x28,0x13},
{"uan",0x3D,0x13},
{"ui",0x42,0x13},
{"un",0x49,0x13},
{"uo",0x4E,0x13}};
unsignedcharcodePY_index_s[][8]={
{"a",0x53,0x13},
{"ai",0x5A,0x13},
{"an",0x63,0x13},
{"ang",0x6C,0x13},
{"ao",0x73,0x13},
{"e",0x7C,0x13},
{"en",0x83,0x13},
{"eng",0x86,0x13},
{"ha",0x89,0x13},
{"hai",0x9C,0x13},
{"han",0xA1,0x13},
{"hang",0xC4,0x13},
{"hao",0xD5,0x13},
{"he",0xEC,0x13},
{"hen",0x05,0x14},
{"heng",0x28,0x14},
{"hi",0x3F,0x14},
{"hou",0xA0,0x14},
{"hu",0xB5,0x14},
{"hua",0xF8,0x14},
{"huai",0xFD,0x14},
{"huan",0x06,0x15},
{"huang",0x0B,0x15},
{"hui",0x12,0x15},
{"hun",0x1B,0x15},
{"huo",0x24,0x15},
{"i",0x2D,0x15},
{"ong",0x4C,0x15},
{"ou",0x5D,0x15},
{"u",0x66,0x15},
{"uan",0x7D,0x15},
{"ui",0x84,0x15},
{"un",0x9B,0x15},
{"uo",0xA2,0x15}};
unsignedcharcodePY_index_t[][8]={
{"a",0xB3,0x15},
{"ai",0xC6,0x15},
{"an",0xD9,0x15},
{"ang",0xFE,0x15},
{"ao",0x19,0x16},
{"e",0x30,0x16},
{"eng",0x33,0x16},
{"i",0x3C,0x16},
{"ian",0x5B,0x16},
{"iao",0x6C,0x16},
{"ie",0x79,0x16},
{"ing",0x80,0x16},
{"ong",0x95,0x16},
{"ou",0xB0,0x16},
{"u",0xB9,0x16},
{"uan",0xD0,0x16},
{"ui",0xD5,0x16},
{"un",0xE2,0x16},
{"uo",0xEB,0x16}};
unsignedcharcodePY_index_w[][8]={
{"a",0x02,0x17},
{"ai",0x11,0x17},
{"an",0x16,0x17},
{"ang",0x39,0x17},
{"ei",0x4E,0x17},
{"en",0x91,0x17},
{"eng",0xA6,0x17},
{"o",0xAD,0x17},
{"u",0xC0,0x17}};
unsignedcharcodePY_index_x[][8]={
{"i",0xFB,0x17},
{"ia",0x40,0x18},
{"ian",0x59,0x18},
{"iang",0x90,0x18},
{"iao",0xB9,0x18},
{"ie",0xDC,0x18},
{"in",0x05,0x19},
{"ing",0x1A,0x19},
{"iong",0x37,0x19},
{"iu",0x46,0x19},
{"u",0x5B,0x19},
{"uan",0x82,0x19},
{"ue",0x97,0x19},
{"un",0xA6,0x19}};
unsignedcharcodePY_index_y[][8]={
{"a",0xC3,0x19},
{"an",0xE4,0x19},
{"ang",0x27,0x1A},
{"ao",0x4A,0x1A},
{"e",0x6D,0x1A},
{"i",0x8C,0x1A},
{"in",0xF7,0x1A},
{"ing",0x18,0x1B},
{"o",0x3D,0x1B},
{"ong",0x40,0x1B},
{"ou",0x5F,0x1B},
{"u",0x88,0x1B},
{"uan",0xE1,0x1B},
{"ue",0x0A,0x1C},
{"un",0x1D,0x1C}};
unsignedcharcodePY_index_z[][8]={
{"a",0x36,0x1C},
{"ai",0x3F,0x1C},
{"an",0x50,0x1C},
{"ang",0x59,0x1C},
{"ao",0x60,0x1C},
{"e",0x7D,0x1C},
{"ei",0x86,0x1C},
{"en",0x89,0x1C},
{"eng",0x8C,0x1C},
{"ha",0x93,0x1C},
{"hai",0xAE,0x1C},
{"han",0xBD,0x1C},
{"hang",0xE0,0x1C},
{"hao",0x01,0x1D},
{"he",0x18,0x1D},
{"hen",0x2F,0x1D},
{"heng",0x52,0x1D},
{"hi",0x6F,0x1D},
{"hong",0xC6,0x1D},
{"hou",0xDD,0x1D},
{"hu",0xFA,0x1D},
{"hua",0x2F,0x1E},
{"huai",0x32,0x1E},
{"huan",0x35,0x1E},
{"huang",0x40,0x1E},
{"hui",0x51,0x1E},
{"hun",0x5E,0x1E},
{"huo",0x63,0x1E},
{"i",0x78,0x1E},
{"ong",0x95,0x1E},
{"ou",0xA4,0x1E},
{"u",0xAD,0x1E},
{"uan",0xBE,0x1E},
{"ui",0xC5,0x1E},
{"un",0xCE,0x1E},
{"uo",0xD3,0x1E}};
unsignedcharcodePY_index_end[][8]={"",0,0};
//================================================================================================
//================================================================================================
//"========================================变量声明========================================"
unsignedintcodepy_mb_begin=(unsignedint)PY_mb_a[0];
unsignedcharcode(*codePY_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时,杳询失败"
unsignedcharcode*py_ime(unsignedcharinput_py_val[]);
//"========================================主程序体========================================"
unsignedcharcode*py_ime(unsignedcharinput_py_val[])
{
unsignedcharcode(*xdatap1)[8],(*xdatap2)[8],(*xdatap3)[8];
unsignedcharxdatai=1;
if(input_py_val[0]==0)return(0);//"如果输入空字符返回0"
if(input_py_val[0]==’i’)return(0);
if(input_py_val[0]==’u’)return(0);
if(input_py_val[0]==’v’)return(0);
p1=p2=PY_index_pointer[input_py_val[0]-0x61];//"计算入口树根"
p3=PY_index_pointer[input_py_val[0]-0x60];//"设置指针界限"
if(p1==0)return(0);//"查询失败返回0"
while(p1p1=p2;
while(p1if(((*p1)[i]==input_py_val[i+1])((*p1)[i-1]==input_py_val[i]))
{
p2=p1;
i++;
}
elsep1++;
return((unsignedcharcode*)((*p2)[6]+(*p2)[7]*256+py_mb_begin));//"返回查询结果首地址"
}
拼音输入法杳询函数:unsignedcharcode*py_ime(unsignedcharinput_py_val[]);
input_py_val为已输入的拼音码字符串头指针,
反回值为中文的起始地址,当为0时,杳询失败
应用举例:
{
unsignedcharinput_string[]={"bang"};
unsignedcharchines_string[100];
sprintf(chines_string,"%s",py_ime(input_string));
}
C51程序:
//"********************CCDC01采集器测试仪软件:拼音输入法模块********************"
//"*软件设计:*"
//"*日期:2001/3*"
//"*编译环境:Franklin3.3.4*"
//"******************************************************************************"
#include
#include
//"********************CCDC01采集器测试仪软件:拼音输入法码表********************"
//"*软件设计:张凯*"
//"*日期:2001/3*"
//"*编译环境:Franklin3.3.4*"
//"******************************************************************************"
//"拼音输入法汉字排列表"
unsignedcharcodePY_mb_a[]={"阿啊"};
unsignedcharcodePY_mb_ai[]={"哎哀唉埃挨皑癌矮蔼艾爱隘碍"};
unsignedcharcodePY_mb_an[]={"安氨鞍俺岸按案胺暗"};
unsignedcharcodePY_mb_ang[]={"肮昂盎"};
unsignedcharcodePY_mb_ao[]={"凹敖熬翱袄傲奥澳懊"};
unsignedcharcodePY_mb_ba[]={"八巴叭扒吧芭疤捌笆拔跋把靶坝爸罢霸"};
unsignedcharcodePY_mb_bai[]={"白百佰柏摆败拜稗"};
unsignedcharcodePY_mb_ban[]={"扳班般颁斑搬板版办半伴扮拌绊瓣"};
unsignedcharcodePY_mb_bang[]={"邦帮梆绑榜膀蚌傍棒谤磅镑"};
unsignedcharcodePY_mb_bao[]={"包苞胞褒雹宝饱保堡报抱豹鲍暴爆剥薄瀑"};
unsignedcharcodePY_mb_bei[]={"卑杯悲碑北贝狈备背钡倍被惫焙辈"};
unsignedcharcodePY_mb_ben[]={"奔本苯笨夯"};
unsignedcharcodePY_mb_beng[]={"崩绷甭泵迸蹦"};
unsignedcharcodePY_mb_bi[]={"逼鼻比彼笔鄙币必毕闭庇毖陛毙敝痹蓖弊碧蔽壁避臂"};
unsignedcharcodePY_mb_bian[]={"边编鞭贬扁卞便变遍辨辩辫"};
unsignedcharcodePY_mb_biao[]={"彪标膘表"};
unsignedcharcodePY_mb_bie[]={"憋鳖别瘪"};
unsignedcharcodePY_mb_bin[]={"宾彬斌滨濒摈"};
unsignedcharcodePY_mb_bing[]={"冰兵丙秉柄炳饼并病"};
unsignedcharcodePY_mb_bo[]={"拨波玻钵脖菠播伯驳帛泊勃铂舶博渤搏箔膊卜"};
unsignedcharcodePY_mb_bu[]={"补哺捕不布步怖部埠簿"};
unsignedcharcodePY_mb_ca[]={"擦"};
unsignedcharcodePY_mb_cai[]={"猜才材财裁采彩睬踩菜蔡"};
unsignedcharcodePY_mb_can[]={"参餐残蚕惭惨灿"};
unsignedcharcodePY_mb_cang[]={"仓沧苍舱藏"};
unsignedcharcodePY_mb_cao[]={"操糙曹槽草"};
unsignedcharcodePY_mb_ce[]={"册侧厕测策"};
unsignedcharcodePY_mb_ceng[]={"层蹭曾"};
unsignedcharcodePY_mb_cha[]={"叉插查茬茶搽察碴岔诧差刹"};
unsignedcharcodePY_mb_chai[]={"拆柴豺"};
unsignedcharcodePY_mb_chan[]={"掺搀谗馋缠蝉产铲阐颤"};
unsignedcharcodePY_mb_chang[]={"昌猖肠尝偿常厂场敞畅倡唱"};
unsignedcharcodePY_mb_chao[]={"抄钞超巢朝嘲潮吵炒绰"};
unsignedcharcodePY_mb_che[]={"车扯彻掣撤澈"};
unsignedcharcodePY_mb_chen[]={"郴尘臣忱沉辰陈晨衬趁"};
unsignedcharcodePY_mb_cheng[]={"称撑成呈承诚城乘惩程澄橙逞骋秤"};
unsignedcharcodePY_mb_chi[]={"吃痴弛池驰迟持尺侈齿耻斥赤炽翅"};
unsignedcharcodePY_mb_chong[]={"充冲虫崇宠"};
unsignedcharcodePY_mb_chou[]={"抽仇绸畴愁稠筹酬踌丑瞅臭"};
unsignedcharcodePY_mb_chu[]={"出初除厨滁锄雏橱躇础储楚处搐触矗畜"};
unsignedcharcodePY_mb_chuai[]={"揣"};
unsignedcharcodePY_mb_chuan[]={"川穿传船椽喘串"};
unsignedcharcodePY_mb_chuang[]={"闯疮窗床创"};
unsignedcharcodePY_mb_chui[]={"吹炊垂捶锤"};
unsignedcharcodePY_mb_chun[]={"春椿纯唇淳醇蠢"};
unsignedcharcodePY_mb_chuo[]={"戳"};
unsignedcharcodePY_mb_ci[]={"疵词茨瓷慈辞磁雌此次刺赐"};
unsignedcharcodePY_mb_cong[]={"囱从匆葱聪丛"};
unsignedcharcodePY_mb_cou[]={"凑"};
unsignedcharcodePY_mb_cu[]={"粗促醋簇"};
unsignedcharcodePY_mb_cuan[]={"蹿窜篡"};
unsignedcharcodePY_mb_cui[]={"崔催摧脆淬瘁粹翠"};
unsignedcharcodePY_mb_cun[]={"村存寸"};
unsignedcharcodePY_mb_cuo[]={"搓磋撮挫措错"};
unsignedcharcodePY_mb_da[]={"搭达答瘩打大"};
unsignedcharcodePY_mb_dai[]={"呆歹傣代带待怠殆贷袋逮戴"};
unsignedcharcodePY_mb_dan[]={"丹单担耽郸胆掸旦但诞弹惮淡蛋氮"};
unsignedcharcodePY_mb_dang[]={"当挡党荡档"};
unsignedcharcodePY_mb_dao[]={"刀导岛倒捣祷蹈到悼盗道稻"};
unsignedcharcodePY_mb_de[]={"得德的"};
unsignedcharcodePY_mb_deng[]={"灯登蹬等邓凳瞪"};
unsignedcharcodePY_mb_di[]={"低堤滴狄迪敌涤笛嫡底抵地弟帝递第缔蒂"};
unsignedcharcodePY_mb_dian[]={"掂滇颠典点碘电佃甸店垫惦淀奠殿靛"};
unsignedcharcodePY_mb_diao[]={"刁叼凋碉雕吊钓掉"};
unsignedcharcodePY_mb_die[]={"爹跌迭谍叠碟蝶"};
unsignedcharcodePY_mb_ding[]={"丁叮盯钉顶鼎订定锭"};
unsignedcharcodePY_mb_diu[]={"丢"};
unsignedcharcodePY_mb_dong[]={"东冬董懂动冻侗恫栋洞"};
unsignedcharcodePY_mb_dou[]={"都兜斗抖陡豆逗痘"};
unsignedcharcodePY_mb_du[]={"督毒读犊独堵赌睹妒杜肚度渡镀"};
unsignedcharcodePY_mb_duan[]={"端短段断缎锻"};
unsignedcharcodePY_mb_dui[]={"堆队对兑"};
unsignedcharcodePY_mb_dun[]={"吨敦墩蹲盾钝顿遁"};
unsignedcharcodePY_mb_duo[]={"多哆夺掇朵垛躲剁堕舵惰跺"};
unsignedcharcodePY_mb_e[]={"讹俄娥峨鹅蛾额厄扼恶饿鄂遏"};
unsignedcharcodePY_mb_en[]={"恩"};
unsignedcharcodePY_mb_er[]={"儿而尔耳洱饵二贰"};
unsignedcharcodePY_mb_fa[]={"发乏伐罚阀筏法珐"};
unsignedcharcodePY_mb_fan[]={"帆番翻藩凡矾钒烦樊繁反返犯泛饭范贩"};
unsignedcharcodePY_mb_fang[]={"方坊芳防妨房肪仿访纺放"};
unsignedcharcodePY_mb_fei[]={"飞非啡菲肥匪诽吠废沸肺费"};
unsignedcharcodePY_mb_fen[]={"分吩纷芬氛酚坟汾焚粉份奋忿愤粪"};
unsignedcharcodePY_mb_feng[]={"丰风枫封疯峰烽锋蜂冯逢缝讽凤奉"};
unsignedcharcodePY_mb_fo[]={"佛"};
unsignedcharcodePY_mb_fou[]={"否"};
unsignedcharcodePY_mb_fu[]={"夫肤孵敷弗伏扶拂服俘氟浮涪符袱幅福辐抚甫府斧俯釜辅腑腐父讣付妇负附咐阜复赴副傅富赋缚腹覆"};
unsignedcharcodePY_mb_ga[]={"嘎噶"};
unsignedcharcodePY_mb_gai[]={"该改钙盖溉概"};
unsignedcharcodePY_mb_gan[]={"干甘杆肝柑竿秆赶敢感赣"};
unsignedcharcodePY_mb_gang[]={"冈刚岗纲肛缸钢港杠"};
unsignedcharcodePY_mb_gao[]={"皋羔高膏篙糕搞稿镐告"};
unsignedcharcodePY_mb_ge[]={"戈疙哥胳鸽割搁歌阁革格葛隔个各铬咯"};
unsignedcharcodePY_mb_gei[]={"给"};
unsignedcharcodePY_mb_gen[]={"根跟"};
unsignedcharcodePY_mb_geng[]={"更庚耕羹埂耿梗"};
unsignedcharcodePY_mb_gong[]={"工弓公功攻供宫恭躬龚巩汞拱共贡"};
unsignedcharcodePY_mb_gou[]={"勾沟钩狗苟构购垢够"};
unsignedcharcodePY_mb_gu[]={"估咕姑孤沽菇辜箍古谷股骨蛊鼓固故顾雇"};
unsignedcharcodePY_mb_gua[]={"瓜刮剐寡挂褂"};
unsignedcharcodePY_mb_guai[]={"乖拐怪"};
unsignedcharcodePY_mb_guan[]={"关观官冠棺馆管贯惯灌罐"};
unsignedcharcodePY_mb_guang[]={"光广逛"};
unsignedcharcodePY_mb_gui[]={"归圭龟规闺硅瑰轨诡癸鬼刽柜贵桂跪"};
unsignedcharcodePY_mb_gun[]={"辊滚棍"};
unsignedcharcodePY_mb_guo[]={"郭锅国果裹过"};
unsignedcharcodePY_mb_ha[]={"蛤哈"};
unsignedcharcodePY_mb_hai[]={"孩骸海亥骇害氦"};
unsignedcharcodePY_mb_han[]={"酣憨含邯函涵寒韩罕喊汉汗旱悍捍焊憾撼翰"};
unsignedcharcodePY_mb_hang[]={"杭航行"};
unsignedcharcodePY_mb_hao[]={"毫豪嚎壕好郝号浩耗"};
unsignedcharcodePY_mb_he[]={"呵喝禾合何和河阂核荷涸盒菏贺褐赫鹤"};
unsignedcharcodePY_mb_hei[]={"黑嘿"};
unsignedcharcodePY_mb_hen[]={"痕很狠恨"};
unsignedcharcodePY_mb_heng[]={"亨哼恒横衡"};
unsignedcharcodePY_mb_hong[]={"轰哄烘弘红宏洪虹鸿"};
unsignedcharcodePY_mb_hou[]={"侯喉猴吼后厚候"};
unsignedcharcodePY_mb_hu[]={"乎呼忽弧狐胡壶湖葫瑚糊蝴虎唬互户护沪"};
unsignedcharcodePY_mb_hua[]={"花华哗滑猾化划画话"};
unsignedcharcodePY_mb_huai[]={"怀徊淮槐坏"};
unsignedcharcodePY_mb_huan[]={"欢还环桓缓幻宦唤换涣患焕痪豢"};
unsignedcharcodePY_mb_huang[]={"荒慌皇凰黄惶煌蝗磺簧恍晃谎幌"};
unsignedcharcodePY_mb_hui[]={"灰恢挥辉徽回蛔悔卉汇会讳绘诲烩贿晦秽惠毁慧"};
unsignedcharcodePY_mb_hun[]={"昏荤婚浑魂混"};
unsignedcharcodePY_mb_huo[]={"豁活火伙或货获祸惑霍"};
unsignedcharcodePY_mb_ji[]={"讥击饥圾机肌鸡迹姬积基绩缉畸箕稽激及吉汲级即极急疾棘集嫉辑籍几己挤脊计记伎纪妓忌技际剂季既济继寂寄悸祭蓟冀藉"};
unsignedcharcodePY_mb_jia[]={"加夹佳枷家嘉荚颊甲贾钾价驾架假嫁稼挟"};
unsignedcharcodePY_mb_jian[]={"奸尖坚歼间肩艰兼监笺缄煎拣俭柬茧捡减剪检硷简碱见件建饯剑荐贱健涧舰渐溅践鉴键箭"};
unsignedcharcodePY_mb_jiang[]={"江姜将浆僵疆讲奖桨蒋匠降酱"};
unsignedcharcodePY_mb_jiao[]={"交郊娇浇骄胶椒焦蕉礁角狡绞饺矫脚铰搅剿缴叫轿较教窖酵觉嚼"};
unsignedcharcodePY_mb_jie[]={"阶皆接秸揭街节劫杰洁结捷睫截竭姐解介戒芥届界疥诫借"};
unsignedcharcodePY_mb_jin[]={"巾今斤金津筋襟仅紧谨锦尽劲近进晋浸烬禁靳"};
unsignedcharcodePY_mb_jing[]={"京经茎荆惊晶睛粳兢精鲸井颈景警净径痉竞竟敬靖境静镜"};
unsignedcharcodePY_mb_jiong[]={"炯窘"};
unsignedcharcodePY_mb_jiu[]={"纠究揪九久灸玖韭酒旧臼咎疚厩救就舅"};
unsignedcharcodePY_mb_ju[]={"居拘狙驹疽鞠局桔菊咀沮举矩句巨拒具炬俱剧惧据距锯聚踞"};
unsignedcharcodePY_mb_juan[]={"娟捐鹃卷倦绢眷"};
unsignedcharcodePY_mb_jue[]={"撅决诀抉绝倔掘爵攫"};
unsignedcharcodePY_mb_jun[]={"军君均钧菌俊郡峻浚骏竣"};
unsignedcharcodePY_mb_ka[]={"咖喀卡"};
unsignedcharcodePY_mb_kai[]={"开揩凯慨楷"};
unsignedcharcodePY_mb_kan[]={"槛刊勘堪坎砍看"};
unsignedcharcodePY_mb_kang[]={"康慷糠扛亢抗炕"};
unsignedcharcodePY_mb_kao[]={"考拷烤靠"};
unsignedcharcodePY_mb_ke[]={"坷苛柯科棵颗磕壳咳可渴克刻客课"};
unsignedcharcodePY_mb_ken[]={"肯垦恳啃"};
unsignedcharcodePY_mb_keng[]={"吭坑"};
unsignedcharcodePY_mb_kong[]={"空孔恐控"};
unsignedcharcodePY_mb_kou[]={"抠口扣寇"};
unsignedcharcodePY_mb_ku[]={"枯哭窟苦库裤酷"};
unsignedcharcodePY_mb_kua[]={"夸垮挎胯跨"};
unsignedcharcodePY_mb_kuai[]={"块快侩筷"};
unsignedcharcodePY_mb_kuan[]={"宽款"};
unsignedcharcodePY_mb_kuang[]={"匡筐狂况旷矿框眶"};
unsignedcharcodePY_mb_kui[]={"亏岿盔窥奎葵魁傀愧溃馈"};
unsignedcharcodePY_mb_kun[]={"坤昆捆困"};
unsignedcharcodePY_mb_kuo[]={"扩括阔廓"};
unsignedcharcodePY_mb_la[]={"垃拉啦喇腊蜡辣"};
unsignedcharcodePY_mb_lai[]={"来莱赖"};
unsignedcharcodePY_mb_lan[]={"兰拦栏婪阑蓝谰澜篮览揽缆懒烂滥"};
unsignedcharcodePY_mb_lang[]={"郎狼廊琅榔朗浪"};
unsignedcharcodePY_mb_lao[]={"捞劳牢老佬姥涝烙酪"};
unsignedcharcodePY_mb_le[]={"乐勒了"};
unsignedcharcodePY_mb_lei[]={"雷镭垒磊蕾儡肋泪类累擂"};
unsignedcharcodePY_mb_leng[]={"棱楞冷"};
unsignedcharcodePY_mb_li[]={"厘梨狸离莉犁漓璃黎篱礼李里哩理鲤力历厉立吏丽利励沥例隶俐荔栗砾粒傈痢"};
unsignedcharcodePY_mb_lian[]={"连帘怜涟莲联廉镰敛脸练炼恋链"};
unsignedcharcodePY_mb_liang[]={"俩良凉梁粮粱两亮谅辆晾量"};
unsignedcharcodePY_mb_liao[]={"潦辽疗聊僚寥廖撩燎镣料撂"};
unsignedcharcodePY_mb_lie[]={"列劣烈猎裂"};
unsignedcharcodePY_mb_lin[]={"邻林临淋琳霖磷鳞凛吝赁拎"};
unsignedcharcodePY_mb_ling[]={"伶灵岭玲凌铃陵羚菱零龄领令另"};
unsignedcharcodePY_mb_liu[]={"溜刘流留琉硫馏榴瘤柳六"};
unsignedcharcodePY_mb_long[]={"龙咙笼聋隆窿陇垄拢"};
unsignedcharcodePY_mb_lou[]={"娄楼搂篓陋漏"};
unsignedcharcodePY_mb_lu[]={"露卢庐芦炉颅卤虏掳鲁陆录赂鹿禄碌路戮潞麓"};
unsignedcharcodePY_mb_luan[]={"孪峦挛滦卵乱"};
unsignedcharcodePY_mb_lue[]={"掠略"};
unsignedcharcodePY_mb_lun[]={"抡仑伦沦纶轮论"};
unsignedcharcodePY_mb_luo[]={"罗萝逻锣箩骡螺裸洛络骆落"};
unsignedcharcodePY_mb_lv[]={"滤驴吕侣旅铝屡缕履律虑率绿氯"};
unsignedcharcodePY_mb_ma[]={"妈麻马玛码蚂骂吗嘛"};
unsignedcharcodePY_mb_mai[]={"埋买迈麦卖脉"};
unsignedcharcodePY_mb_man[]={"蛮馒瞒满曼谩慢漫蔓"};
unsignedcharcodePY_mb_mang[]={"忙芒盲茫莽氓"};
unsignedcharcodePY_mb_mao[]={"猫毛矛茅锚卯铆茂冒贸帽貌"};
unsignedcharcodePY_mb_me[]={"么"};
unsignedcharcodePY_mb_mei[]={"没枚玫眉梅媒煤酶霉每美镁妹昧媚寐"};
unsignedcharcodePY_mb_men[]={"门闷们"};
unsignedcharcodePY_mb_meng[]={"萌盟檬猛蒙锰孟梦"};
unsignedcharcodePY_mb_mi[]={"弥迷谜醚糜靡米眯泌觅秘密幂蜜"};
unsignedcharcodePY_mb_mian[]={"眠绵棉免勉娩冕缅面"};
unsignedcharcodePY_mb_miao[]={"苗描瞄秒渺藐妙庙"};
unsignedcharcodePY_mb_mie[]={"灭蔑"};
unsignedcharcodePY_mb_min[]={"民皿抿闽悯敏"};
unsignedcharcodePY_mb_ming[]={"名明鸣铭螟命"};
unsignedcharcodePY_mb_miu[]={"谬"};
unsignedcharcodePY_mb_mo[]={"貉摸摹模膜摩磨蘑魔抹末沫陌莫寞漠墨默"};
unsignedcharcodePY_mb_mou[]={"牟谋某"};
unsignedcharcodePY_mb_mu[]={"母亩牡姆拇木目牧募墓幕睦慕暮穆"};
unsignedcharcodePY_mb_na[]={"拿哪那纳娜钠呐"};
unsignedcharcodePY_mb_nai[]={"乃奶氖奈耐"};
unsignedcharcodePY_mb_nan[]={"男南难"};
unsignedcharcodePY_mb_nang[]={"囊"};
unsignedcharcodePY_mb_nao[]={"挠恼脑闹淖"};
unsignedcharcodePY_mb_ne[]={"呢"};
unsignedcharcodePY_mb_nei[]={"内馁"};
unsignedcharcodePY_mb_nen[]={"嫩"};
unsignedcharcodePY_mb_neng[]={"能"};
unsignedcharcodePY_mb_ni[]={"妮尼泥倪霓你拟逆匿溺腻"};
unsignedcharcodePY_mb_nian[]={"拈年捻撵碾念蔫"};
unsignedcharcodePY_mb_niang[]={"娘酿"};
unsignedcharcodePY_mb_niao[]={"鸟尿"};
unsignedcharcodePY_mb_nie[]={"捏涅聂啮镊镍孽"};
unsignedcharcodePY_mb_nin[]={"您"};
unsignedcharcodePY_mb_ning[]={"宁拧狞柠凝泞"};
unsignedcharcodePY_mb_niu[]={"牛扭纽钮"};
unsignedcharcodePY_mb_nong[]={"农浓脓弄"};
unsignedcharcodePY_mb_nu[]={"奴努怒"};
unsignedcharcodePY_mb_nuan[]={"暖"};
unsignedcharcodePY_mb_nue[]={"疟虐"};
unsignedcharcodePY_mb_nuo[]={"挪诺懦糯"};
unsignedcharcodePY_mb_nv[]={"女"};
unsignedcharcodePY_mb_o[]={"哦"};
unsignedcharcodePY_mb_ou[]={"欧殴鸥呕偶藕沤"};
unsignedcharcodePY_mb_pa[]={"趴啪爬耙琶帕怕"};
unsignedcharcodePY_mb_pai[]={"拍徘排牌派湃"};
unsignedcharcodePY_mb_pan[]={"潘攀盘磐判叛盼畔"};
unsignedcharcodePY_mb_pang[]={"乓庞旁耪胖"};
unsignedcharcodePY_mb_pao[]={"抛刨咆炮袍跑泡"};
unsignedcharcodePY_mb_pei[]={"呸胚陪培赔裴沛佩配"};
unsignedcharcodePY_mb_pen[]={"喷盆"};
unsignedcharcodePY_mb_peng[]={"抨砰烹朋彭棚硼蓬鹏澎篷膨捧碰"};
unsignedcharcodePY_mb_pi[]={"辟批坯披砒劈霹皮毗疲啤琵脾匹痞屁僻譬"};
unsignedcharcodePY_mb_pian[]={"片偏篇骗"};
unsignedcharcodePY_mb_piao[]={"漂飘瓢票"};
unsignedcharcodePY_mb_pie[]={"撇瞥"};
unsignedcharcodePY_mb_pin[]={"拼贫频品聘"};
unsignedcharcodePY_mb_ping[]={"乒平评凭坪苹屏瓶萍"};
unsignedcharcodePY_mb_po[]={"坡泼颇婆迫破粕魄"};
unsignedcharcodePY_mb_pou[]={"剖"};
unsignedcharcodePY_mb_pu[]={"脯仆扑铺莆菩葡蒲朴圃埔浦普谱曝"};
unsignedcharcodePY_mb_qi[]={"七沏妻柒凄栖戚期欺漆祁齐其奇歧祈脐崎畦骑棋旗乞企岂启起气讫迄弃汽泣契砌器"};
unsignedcharcodePY_mb_qia[]={"掐恰洽"};
unsignedcharcodePY_mb_qian[]={"千仟扦迁钎牵铅谦签前钱钳乾潜黔浅遣谴欠堑嵌歉"};
unsignedcharcodePY_mb_qiang[]={"呛羌枪腔强墙蔷抢"};
unsignedcharcodePY_mb_qiao[]={"悄敲锹橇乔侨桥瞧巧俏峭窍翘撬鞘"};
unsignedcharcodePY_mb_qie[]={"切茄且怯窃"};
unsignedcharcodePY_mb_qin[]={"亲侵钦芹秦琴禽勤擒寝沁"};
unsignedcharcodePY_mb_qing[]={"青氢轻倾卿清情晴氰擎顷请庆"};
unsignedcharcodePY_mb_qiong[]={"穷琼"};
unsignedcharcodePY_mb_qiu[]={"丘邱秋囚求泅酋球"};
unsignedcharcodePY_mb_qu[]={"区曲驱屈蛆躯趋渠取娶龋去趣"};
unsignedcharcodePY_mb_quan[]={"圈全权泉拳痊醛颧犬劝券"};
unsignedcharcodePY_mb_que[]={"炔缺瘸却雀确鹊榷"};
unsignedcharcodePY_mb_qun[]={"裙群"};
unsignedcharcodePY_mb_ran[]={"然燃冉染"};
unsignedcharcodePY_mb_rang[]={"瓤嚷壤攘让"};
unsignedcharcodePY_mb_rao[]={"饶扰绕"};
unsignedcharcodePY_mb_re[]={"惹热"};
unsignedcharcodePY_mb_ren[]={"人仁壬忍刃认任纫妊韧"};
unsignedcharcodePY_mb_reng[]={"扔仍"};
unsignedcharcodePY_mb_ri[]={"日"};
unsignedcharcodePY_mb_rong[]={"戎绒茸荣容溶蓉熔融冗"};
unsignedcharcodePY_mb_rou[]={"柔揉肉"};
unsignedcharcodePY_mb_ru[]={"如茹儒孺蠕汝乳辱入褥"};
unsignedcharcodePY_mb_ruan[]={"阮软"};
unsignedcharcodePY_mb_rui[]={"蕊锐瑞"};
unsignedcharcodePY_mb_run[]={"闰润"};
unsignedcharcodePY_mb_ruo[]={"若弱"};
unsignedcharcodePY_mb_sa[]={"撒洒萨"};
unsignedcharcodePY_mb_sai[]={"塞腮鳃赛"};
unsignedcharcodePY_mb_san[]={"三叁伞散"};
unsignedcharcodePY_mb_sang[]={"桑嗓丧"};
unsignedcharcodePY_mb_sao[]={"搔骚扫嫂"};
unsignedcharcodePY_mb_se[]={"色涩瑟"};
unsignedcharcodePY_mb_sen[]={"森"};
unsignedcharcodePY_mb_seng[]={"僧"};
unsignedcharcodePY_mb_sha[]={"杀沙纱砂莎傻啥煞厦"};
unsignedcharcodePY_mb_shai[]={"筛晒"};
unsignedcharcodePY_mb_shan[]={"山删杉衫珊煽闪陕汕苫扇善缮擅膳赡栅"};
unsignedcharcodePY_mb_shang[]={"伤商墒裳晌赏上尚"};
unsignedcharcodePY_mb_shao[]={"捎梢烧稍勺芍韶少邵绍哨"};
unsignedcharcodePY_mb_she[]={"奢赊舌蛇舍设社射涉赦慑摄"};
unsignedcharcodePY_mb_shen[]={"申伸身呻绅娠砷深神沈审婶肾甚渗慎什"};
unsignedcharcodePY_mb_sheng[]={"升生声牲胜甥绳省圣盛剩"};
unsignedcharcodePY_mb_shi[]={"匙尸失师虱诗施狮湿十石时识实拾蚀食史矢使始驶屎士氏世仕市示式事侍势视试饰室恃拭是柿适逝释嗜誓噬似"};
unsignedcharcodePY_mb_shou[]={"收手守首寿受兽售授瘦"};
unsignedcharcodePY_mb_shu[]={"书抒叔枢殊梳淑疏舒输蔬孰赎熟暑黍署鼠蜀薯曙术戍束述树竖恕庶数墅漱属"};
unsignedcharcodePY_mb_shua[]={"刷耍"};
unsignedcharcodePY_mb_shuai[]={"衰摔甩帅"};
unsignedcharcodePY_mb_shuan[]={"拴栓"};
unsignedcharcodePY_mb_shuang[]={"双霜爽"};
unsignedcharcodePY_mb_shui[]={"谁水税睡"};
unsignedcharcodePY_mb_shun[]={"吮顺舜瞬"};
unsignedcharcodePY_mb_shuo[]={"说烁朔硕"};
unsignedcharcodePY_mb_si[]={"丝司私思斯嘶撕死巳四寺伺饲嗣肆"};
unsignedcharcodePY_mb_song[]={"松怂耸讼宋诵送颂"};
unsignedcharcodePY_mb_sou[]={"嗽搜艘擞"};
unsignedcharcodePY_mb_su[]={"苏酥俗诉肃素速粟塑溯僳"};
unsignedcharcodePY_mb_suan[]={"酸蒜算"};
unsignedcharcodePY_mb_sui[]={"虽绥隋随髓岁祟遂碎隧穗"};
unsignedcharcodePY_mb_sun[]={"孙损笋"};
unsignedcharcodePY_mb_suo[]={"唆梭蓑缩所索琐锁"};
unsignedcharcodePY_mb_ta[]={"她他它塌塔獭挞踏蹋"};
unsignedcharcodePY_mb_tai[]={"胎台抬苔太汰态泰酞"};
unsignedcharcodePY_mb_tan[]={"坍贪摊滩瘫坛谈痰谭潭檀坦袒毯叹炭探碳"};
unsignedcharcodePY_mb_tang[]={"汤唐堂棠塘搪膛糖倘淌躺烫趟"};
unsignedcharcodePY_mb_tao[]={"涛绦掏滔逃桃陶淘萄讨套"};
unsignedcharcodePY_mb_te[]={"特"};
unsignedcharcodePY_mb_teng[]={"疼腾誊藤"};
unsignedcharcodePY_mb_ti[]={"剔梯锑踢啼提题蹄体屉剃涕惕替嚏"};
unsignedcharcodePY_mb_tian[]={"天添田恬甜填腆舔"};
unsignedcharcodePY_mb_tiao[]={"调挑条迢眺跳"};
unsignedcharcodePY_mb_tie[]={"贴铁帖"};
unsignedcharcodePY_mb_ting[]={"厅汀听烃廷亭庭停挺艇"};
unsignedcharcodePY_mb_tong[]={"通同彤桐铜童酮瞳统捅桶筒痛"};
unsignedcharcodePY_mb_tou[]={"偷头投透"};
unsignedcharcodePY_mb_tu[]={"凸秃突图徒涂途屠土吐兔"};
unsignedcharcodePY_mb_tuan[]={"湍团"};
unsignedcharcodePY_mb_tui[]={"推颓腿退蜕褪"};
unsignedcharcodePY_mb_tun[]={"囤吞屯臀"};
unsignedcharcodePY_mb_tuo[]={"托拖脱驮陀驼鸵妥椭拓唾"};
unsignedcharcodePY_mb_wa[]={"哇娃挖洼蛙瓦袜"};
unsignedcharcodePY_mb_wai[]={"歪外"};
unsignedcharcodePY_mb_wan[]={"弯湾豌丸完玩顽烷宛挽晚婉惋皖碗万腕"};
unsignedcharcodePY_mb_wang[]={"汪亡王网往枉妄忘旺望"};
unsignedcharcodePY_mb_wei[]={"危威微巍为韦围违桅唯惟维潍伟伪尾纬苇委萎卫未位味畏胃尉谓喂渭蔚慰魏"};
unsignedcharcodePY_mb_wen[]={"温瘟文纹闻蚊吻紊稳问"};
unsignedcharcodePY_mb_weng[]={"翁嗡瓮"};
unsignedcharcodePY_mb_wo[]={"挝涡窝蜗我沃卧握斡"};
unsignedcharcodePY_mb_wu[]={"乌污呜巫屋诬钨无毋吴吾芜梧五午伍坞武侮捂舞勿务戊物误悟晤雾"};
unsignedcharcodePY_mb_xi[]={"夕汐西吸希昔析矽息牺悉惜烯硒晰犀稀溪锡熄熙嘻膝习席袭媳檄洗喜戏系细隙"};
unsignedcharcodePY_mb_xia[]={"虾瞎匣侠峡狭暇辖霞下吓夏"};
unsignedcharcodePY_mb_xian[]={"铣仙先纤掀锨鲜闲弦贤咸涎舷衔嫌显险县现线限宪陷馅羡献腺"};
unsignedcharcodePY_mb_xiang[]={"乡相香厢湘箱襄镶详祥翔享响想向巷项象像橡"};
unsignedcharcodePY_mb_xiao[]={"宵消萧硝销霄嚣淆小晓孝肖哮效校笑啸"};
unsignedcharcodePY_mb_xie[]={"些楔歇蝎协邪胁斜谐携鞋写泄泻卸屑械谢懈蟹"};
unsignedcharcodePY_mb_xin[]={"心忻芯辛欣锌新薪信衅"};
unsignedcharcodePY_mb_xing[]={"兴星惺猩腥刑邢形型醒杏姓幸性"};
unsignedcharcodePY_mb_xiong[]={"凶兄匈汹胸雄熊"};
unsignedcharcodePY_mb_xiu[]={"宿休修羞朽秀绣袖锈嗅"};
unsignedcharcodePY_mb_xu[]={"戌须虚嘘需墟徐许旭序叙恤绪续酗婿絮蓄吁"};
unsignedcharcodePY_mb_xuan[]={"轩宣喧玄悬旋选癣绚眩"};
unsignedcharcodePY_mb_xue[]={"削靴薛穴学雪血"};
unsignedcharcodePY_mb_xun[]={"勋熏寻巡旬驯询循训讯汛迅逊殉"};
unsignedcharcodePY_mb_ya[]={"丫压呀押鸦鸭牙芽蚜崖涯衙哑雅亚讶"};
unsignedcharcodePY_mb_yan[]={"咽烟淹焉阉延严言岩沿炎研盐阎蜒颜奄衍掩眼演厌彦砚唁宴艳验谚堰焰雁燕"};
unsignedcharcodePY_mb_yang[]={"央殃秧鸯扬羊阳杨佯疡洋仰养氧痒样漾"};
unsignedcharcodePY_mb_yao[]={"侥妖腰邀尧姚窑谣摇遥瑶咬舀药要耀钥"};
unsignedcharcodePY_mb_ye[]={"椰噎爷耶也冶野业叶曳页夜掖液腋"};
unsignedcharcodePY_mb_yi[]={"一伊衣医依铱壹揖仪夷沂宜姨胰移遗颐疑彝乙已以矣蚁倚椅义亿忆艺议亦屹异役抑译邑易绎诣疫益谊翌逸意溢肄裔毅翼臆"};
unsignedcharcodePY_mb_yin[]={"因阴姻茵荫音殷吟寅淫银尹引饮隐印"};
unsignedcharcodePY_mb_ying[]={"应英婴缨樱鹰迎盈荧莹萤营蝇赢颖影映硬"};
unsignedcharcodePY_mb_yo[]={"哟"};
unsignedcharcodePY_mb_yong[]={"佣拥痈庸雍臃永咏泳勇涌恿蛹踊用"};
unsignedcharcodePY_mb_you[]={"优忧幽悠尤由犹邮油铀游友有酉又右幼佑诱釉"};
unsignedcharcodePY_mb_yu[]={"迂淤渝于予余盂鱼俞娱渔隅愉逾愚榆虞舆与宇屿羽雨禹语玉驭芋育郁狱峪浴预域欲喻寓御裕遇愈誉豫"};
unsignedcharcodePY_mb_yuan[]={"冤鸳渊元员园垣原圆袁援缘源猿辕远苑怨院愿"};
unsignedcharcodePY_mb_yue[]={"曰约月岳悦阅跃粤越"};
unsignedcharcodePY_mb_yun[]={"云匀郧耘允陨孕运晕酝韵蕴"};
unsignedcharcodePY_mb_za[]={"匝杂砸咋"};
unsignedcharcodePY_mb_zai[]={"灾哉栽宰载再在仔"};
unsignedcharcodePY_mb_zan[]={"咱攒暂赞"};
unsignedcharcodePY_mb_zang[]={"赃脏葬"};
unsignedcharcodePY_mb_zao[]={"遭糟凿早枣蚤澡藻灶皂造噪燥躁"};
unsignedcharcodePY_mb_ze[]={"则择泽责"};
unsignedcharcodePY_mb_zei[]={"贼"};
unsignedcharcodePY_mb_zen[]={"怎"};
unsignedcharcodePY_mb_zeng[]={"增憎赠"};
unsignedcharcodePY_mb_zha[]={"喳渣扎札轧闸铡眨乍诈炸榨柞"};
unsignedcharcodePY_mb_zhai[]={"斋摘宅翟窄债寨"};
unsignedcharcodePY_mb_zhan[]={"沾毡粘詹瞻斩展盏崭辗占战栈站绽湛蘸"};
unsignedcharcodePY_mb_zhang[]={"长张章彰漳樟涨掌丈仗帐杖胀账障瘴"};
unsignedcharcodePY_mb_zhao[]={"招昭找沼召兆赵照罩肇爪"};
unsignedcharcodePY_mb_zhe[]={"遮折哲蛰辙者锗这浙蔗着"};
unsignedcharcodePY_mb_zhen[]={"贞针侦珍真砧斟甄臻诊枕疹阵振镇震帧"};
unsignedcharcodePY_mb_zheng[]={"争征怔挣狰睁蒸拯整正证郑政症"};
unsignedcharcodePY_mb_zhi[]={"之支汁芝吱枝知织肢脂蜘执侄直值职植殖止只旨址纸指趾至志制帜治炙质峙挚秩致掷痔窒智滞稚置"};
unsignedcharcodePY_mb_zhong[]={"中忠终盅钟衷肿种仲众重"};
unsignedcharcodePY_mb_zhou[]={"州舟诌周洲粥轴肘帚咒宙昼皱骤"};
unsignedcharcodePY_mb_zhu[]={"朱诛株珠诸猪蛛竹烛逐主拄煮嘱瞩住助注贮驻柱祝著蛀筑铸"};
unsignedcharcodePY_mb_zhua[]={"抓"};
unsignedcharcodePY_mb_zhuai[]={"拽"};
unsignedcharcodePY_mb_zhuan[]={"专砖转撰篆"};
unsignedcharcodePY_mb_zhuang[]={"妆庄桩装壮状幢撞"};
unsignedcharcodePY_mb_zhui[]={"追椎锥坠缀赘"};
unsignedcharcodePY_mb_zhun[]={"谆准"};
unsignedcharcodePY_mb_zhuo[]={"卓拙捉桌灼茁浊酌啄琢"};
unsignedcharcodePY_mb_zi[]={"孜兹咨姿资淄滋籽子紫滓字自渍"};
unsignedcharcodePY_mb_zong[]={"宗综棕踪鬃总纵"};
unsignedcharcodePY_mb_zou[]={"邹走奏揍"};
unsignedcharcodePY_mb_zu[]={"租足卒族诅阻组祖"};
unsignedcharcodePY_mb_zuan[]={"赚纂钻"};
unsignedcharcodePY_mb_zui[]={"嘴最罪醉"};
unsignedcharcodePY_mb_zun[]={"尊遵"};
unsignedcharcodePY_mb_zuo[]={"昨左佐作坐座做"};
//================================================================================================
//"拼音输入法查询码表"
unsignedcharcodePY_index_a[][8]={
{"",0x00,0x00},
{"i",0x05,0x00},
{"n",0x20,0x00},
{"ng",0x33,0x00},
{"o",0x3A,0x00}};
unsignedcharcodePY_index_b[][8]={
{"a",0x4D,0x00},
{"ai",0x70,0x00},
{"an",0x81,0x00},
{"ang",0xA0,0x00},
{"ao",0xB9,0x00},
{"ei",0xDE,0x00},
{"en",0xFD,0x00},
{"eng",0x08,0x01},
{"i",0x15,0x01},
{"ian",0x44,0x01},
{"iao",0x5D,0x01},
{"ie",0x66,0x01},
{"in",0x6F,0x01},
{"ing",0x7C,0x01},
{"o",0x8F,0x01},
{"u",0xB8,0x01}};
unsignedcharcodePY_index_c[][8]={
{"a",0xCD,0x01},
{"ai",0xD0,0x01},
{"an",0xE7,0x01},
{"ang",0xF6,0x01},
{"ao",0x01,0x02},
{"e",0x0C,0x02},
{"eng",0x17,0x02},
{"ha",0x1E,0x02},
{"hai",0x37,0x02},
{"han",0x3E,0x02},
{"hang",0x53,0x02},
{"hao",0x6C,0x02},
{"he",0x81,0x02},
{"hen",0x8E,0x02},
{"heng",0xA3,0x02},
{"hi",0xC2,0x02},
{"hong",0xE1,0x02},
{"hou",0xEC,0x02},
{"hu",0x05,0x03},
{"huai",0x28,0x03},
{"huan",0x2B,0x03},
{"huang",0x3A,0x03},
{"hui",0x45,0x03},
{"hun",0x50,0x03},
{"huo",0x5F,0x03},
{"i",0x62,0x03},
{"ong",0x7B,0x03},
{"ou",0x88,0x03},
{"u",0x8B,0x03},
{"uan",0x94,0x03},
{"ui",0x9B,0x03},
{"un",0xAC,0x03},
{"uo",0xB3,0x03}};
unsignedcharcodePY_index_d[][8]={
{"a",0xC0,0x03},
{"ai",0xCD,0x03},
{"an",0xE6,0x03},
{"ang",0x05,0x04},
{"ao",0x10,0x04},
{"e",0x29,0x04},
{"eng",0x30,0x04},
{"i",0x3F,0x04},
{"ian",0x64,0x04},
{"iao",0x85,0x04},
{"ie",0x96,0x04},
{"ing",0xA5,0x04},
{"iu",0xB8,0x04},
{"ong",0xBB,0x04},
{"ou",0xD0,0x04},
{"u",0xE1,0x04},
{"uan",0xFE,0x04},
{"ui",0x0B,0x05},
{"un",0x14,0x05},
{"uo",0x25,0x05}};
unsignedcharcodePY_index_e[][8]={
{"",0x3E,0x05},
{"n",0x59,0x05},
{"r",0x5C,0x05}};
unsignedcharcodePY_index_f[][8]={
{"a",0x6D,0x05},
{"an",0x7E,0x05},
{"ang",0xA1,0x05},
{"ei",0xB8,0x05},
{"en",0xD1,0x05},
{"eng",0xF0,0x05},
{"o",0x0F,0x06},
{"ou",0x12,0x06},
{"u",0x15,0x06}};
unsignedcharcodePY_index_g[][8]={
{"a",0x6E,0x06},
{"ai",0x73,0x06},
{"an",0x80,0x06},
{"ang",0x97,0x06},
{"ao",0xAA,0x06},
{"e",0xBF,0x06},
{"ei",0xE2,0x06},
{"en",0xE5,0x06},
{"eng",0xEA,0x06},
{"ong",0xF9,0x06},
{"ou",0x18,0x07},
{"u",0x2B,0x07},
{"ua",0x50,0x07},
{"uai",0x5D,0x07},
{"uan",0x64,0x07},
{"uang",0x7B,0x07},
{"ui",0x82,0x07},
{"un",0xA3,0x07},
{"uo",0xAA,0x07}};
unsignedcharcodePY_index_h[][8]={
{"a",0xB7,0x07},
{"ai",0xBC,0x07},
{"an",0xCB,0x07},
{"ang",0xF2,0x07},
{"ao",0xF9,0x07},
{"e",0x0C,0x08},
{"ei",0x2F,0x08},
{"en",0x34,0x08},
{"eng",0x3D,0x08},
{"ong",0x48,0x08},
{"ou",0x5B,0x08},
{"u",0x6A,0x08},
{"ua",0x8F,0x08},
{"uai",0xA2,0x08},
{"uan",0xAD,0x08},
{"uang",0xCA,0x08},
{"ui",0xE7,0x08},
{"un",0x12,0x09},
{"uo",0x1F,0x09}};
unsignedcharcodePY_index_j[][8]={
{"i",0x34,0x09},
{"ia",0xA1,0x09},
{"ian",0xC6,0x09},
{"iang",0x15,0x0A},
{"iao",0x30,0x0A},
{"ie",0x69,0x0A},
{"in",0x9C,0x0A},
{"ing",0xC5,0x0A},
{"iong",0xF8,0x0A},
{"iu",0xFD,0x0A},
{"u",0x20,0x0B},
{"uan",0x55,0x0B},
{"ue",0x64,0x0B},
{"un",0x77,0x0B}};
unsignedcharcodePY_index_k[][8]={
{"a",0x8E,0x0B},
{"ai",0x95,0x0B},
{"an",0xA0,0x0B},
{"ang",0xAF,0x0B},
{"ao",0xBE,0x0B},
{"e",0xC7,0x0B},
{"en",0xE6,0x0B},
{"eng",0xEF,0x0B},
{"ong",0xF4,0x0B},
{"ou",0xFD,0x0B},
{"u",0x06,0x0C},
{"ua",0x15,0x0C},
{"uai",0x20,0x0C},
{"uan",0x29,0x0C},
{"uang",0x2E,0x0C},
{"ui",0x3F,0x0C},
{"un",0x56,0x0C},
{"uo",0x5F,0x0C}};
unsignedcharcodePY_index_l[][8]={
{"a",0x68,0x0C},
{"ai",0x77,0x0C},
{"an",0x7E,0x0C},
{"ang",0x9D,0x0C},
{"ao",0xAC,0x0C},
{"e",0xBF,0x0C},
{"ei",0xC6,0x0C},
{"eng",0xDD,0x0C},
{"i",0xE4,0x0C},
{"ian",0x29,0x0D},
{"iang",0x46,0x0D},
{"iao",0x5F,0x0D},
{"ie",0x78,0x0D},
{"in",0x83,0x0D},
{"ing",0x9C,0x0D},
{"iu",0xB9,0x0D},
{"ong",0xD0,0x0D},
{"ou",0xE3,0x0D},
{"u",0xF0,0x0D},
{"uan",0x19,0x0E},
{"ue",0x26,0x0E},
{"un",0x2B,0x0E},
{"uo",0x3A,0x0E},
{"v",0x53,0x0E}};
unsignedcharcodePY_index_m[][8]={
{"a",0x70,0x0E},
{"ai",0x83,0x0E},
{"an",0x90,0x0E},
{"ang",0xA3,0x0E},
{"ao",0xB0,0x0E},
{"e",0xC9,0x0E},
{"ei",0xCC,0x0E},
{"en",0xED,0x0E},
{"eng",0xF4,0x0E},
{"i",0x05,0x0F},
{"ian",0x22,0x0F},
{"iao",0x35,0x0F},
{"ie",0x46,0x0F},
{"in",0x4B,0x0F},
{"ing",0x58,0x0F},
{"iu",0x65,0x0F},
{"o",0x68,0x0F},
{"ou",0x8D,0x0F},
{"u",0x94,0x0F}};
unsignedcharcodePY_index_n[][8]={
{"a",0xB3,0x0F},
{"ai",0xC2,0x0F},
{"an",0xCD,0x0F},
{"ang",0xD4,0x0F},
{"ao",0xD7,0x0F},
{"e",0xE2,0x0F},
{"ei",0xE5,0x0F},
{"en",0xEA,0x0F},
{"eng",0xED,0x0F},
{"i",0xF0,0x0F},
{"ian",0x07,0x10},
{"iang",0x16,0x10},
{"iao",0x1B,0x10},
{"ie",0x20,0x10},
{"in",0x2F,0x10},
{"ing",0x32,0x10},
{"iu",0x3F,0x10},
{"ong",0x48,0x10},
{"u",0x51,0x10},
{"uan",0x58,0x10},
{"ue",0x5B,0x10},
{"uo",0x60,0x10},
{"v",0x69,0x10}};
unsignedcharcodePY_index_o[][8]={
{"",0x6C,0x10},
{"u",0x6F,0x10}};
unsignedcharcodePY_index_p[][8]={
{"a",0x7E,0x10},
{"ai",0x8D,0x10},
{"an",0x9A,0x10},
{"ang",0xAB,0x10},
{"ao",0xB6,0x10},
{"ei",0xC5,0x10},
{"en",0xD8,0x10},
{"eng",0xDD,0x10},
{"i",0xFA,0x10},
{"ian",0x1F,0x11},
{"iao",0x28,0x11},
{"ie",0x31,0x11},
{"in",0x36,0x11},
{"ing",0x41,0x11},
{"o",0x54,0x11},
{"ou",0x65,0x11},
{"u",0x68,0x11}};
unsignedcharcodePY_index_q[][8]={
{"i",0x87,0x11},
{"ia",0xD0,0x11},
{"ian",0xD7,0x11},
{"iang",0x04,0x12},
{"iao",0x15,0x12},
{"ie",0x34,0x12},
{"in",0x3F,0x12},
{"ing",0x56,0x12},
{"iong",0x71,0x12},
{"iu",0x76,0x12},
{"u",0x87,0x12},
{"uan",0xA2,0x12},
{"ue",0xB9,0x12},
{"un",0xCA,0x12}};
unsignedcharcodePY_index_r[][8]={
{"an",0xCF,0x12},
{"ang",0xD8,0x12},
{"ao",0xE3,0x12},
{"e",0xEA,0x12},
{"en",0xEF,0x12},
{"eng",0x04,0x13},
{"i",0x09,0x13},
{"ong",0x0C,0x13},
{"ou",0x21,0x13},
{"u",0x28,0x13},
{"uan",0x3D,0x13},
{"ui",0x42,0x13},
{"un",0x49,0x13},
{"uo",0x4E,0x13}};
unsignedcharcodePY_index_s[][8]={
{"a",0x53,0x13},
{"ai",0x5A,0x13},
{"an",0x63,0x13},
{"ang",0x6C,0x13},
{"ao",0x73,0x13},
{"e",0x7C,0x13},
{"en",0x83,0x13},
{"eng",0x86,0x13},
{"ha",0x89,0x13},
{"hai",0x9C,0x13},
{"han",0xA1,0x13},
{"hang",0xC4,0x13},
{"hao",0xD5,0x13},
{"he",0xEC,0x13},
{"hen",0x05,0x14},
{"heng",0x28,0x14},
{"hi",0x3F,0x14},
{"hou",0xA0,0x14},
{"hu",0xB5,0x14},
{"hua",0xF8,0x14},
{"huai",0xFD,0x14},
{"huan",0x06,0x15},
{"huang",0x0B,0x15},
{"hui",0x12,0x15},
{"hun",0x1B,0x15},
{"huo",0x24,0x15},
{"i",0x2D,0x15},
{"ong",0x4C,0x15},
{"ou",0x5D,0x15},
{"u",0x66,0x15},
{"uan",0x7D,0x15},
{"ui",0x84,0x15},
{"un",0x9B,0x15},
{"uo",0xA2,0x15}};
unsignedcharcodePY_index_t[][8]={
{"a",0xB3,0x15},
{"ai",0xC6,0x15},
{"an",0xD9,0x15},
{"ang",0xFE,0x15},
{"ao",0x19,0x16},
{"e",0x30,0x16},
{"eng",0x33,0x16},
{"i",0x3C,0x16},
{"ian",0x5B,0x16},
{"iao",0x6C,0x16},
{"ie",0x79,0x16},
{"ing",0x80,0x16},
{"ong",0x95,0x16},
{"ou",0xB0,0x16},
{"u",0xB9,0x16},
{"uan",0xD0,0x16},
{"ui",0xD5,0x16},
{"un",0xE2,0x16},
{"uo",0xEB,0x16}};
unsignedcharcodePY_index_w[][8]={
{"a",0x02,0x17},
{"ai",0x11,0x17},
{"an",0x16,0x17},
{"ang",0x39,0x17},
{"ei",0x4E,0x17},
{"en",0x91,0x17},
{"eng",0xA6,0x17},
{"o",0xAD,0x17},
{"u",0xC0,0x17}};
unsignedcharcodePY_index_x[][8]={
{"i",0xFB,0x17},
{"ia",0x40,0x18},
{"ian",0x59,0x18},
{"iang",0x90,0x18},
{"iao",0xB9,0x18},
{"ie",0xDC,0x18},
{"in",0x05,0x19},
{"ing",0x1A,0x19},
{"iong",0x37,0x19},
{"iu",0x46,0x19},
{"u",0x5B,0x19},
{"uan",0x82,0x19},
{"ue",0x97,0x19},
{"un",0xA6,0x19}};
unsignedcharcodePY_index_y[][8]={
{"a",0xC3,0x19},
{"an",0xE4,0x19},
{"ang",0x27,0x1A},
{"ao",0x4A,0x1A},
{"e",0x6D,0x1A},
{"i",0x8C,0x1A},
{"in",0xF7,0x1A},
{"ing",0x18,0x1B},
{"o",0x3D,0x1B},
{"ong",0x40,0x1B},
{"ou",0x5F,0x1B},
{"u",0x88,0x1B},
{"uan",0xE1,0x1B},
{"ue",0x0A,0x1C},
{"un",0x1D,0x1C}};
unsignedcharcodePY_index_z[][8]={
{"a",0x36,0x1C},
{"ai",0x3F,0x1C},
{"an",0x50,0x1C},
{"ang",0x59,0x1C},
{"ao",0x60,0x1C},
{"e",0x7D,0x1C},
{"ei",0x86,0x1C},
{"en",0x89,0x1C},
{"eng",0x8C,0x1C},
{"ha",0x93,0x1C},
{"hai",0xAE,0x1C},
{"han",0xBD,0x1C},
{"hang",0xE0,0x1C},
{"hao",0x01,0x1D},
{"he",0x18,0x1D},
{"hen",0x2F,0x1D},
{"heng",0x52,0x1D},
{"hi",0x6F,0x1D},
{"hong",0xC6,0x1D},
{"hou",0xDD,0x1D},
{"hu",0xFA,0x1D},
{"hua",0x2F,0x1E},
{"huai",0x32,0x1E},
{"huan",0x35,0x1E},
{"huang",0x40,0x1E},
{"hui",0x51,0x1E},
{"hun",0x5E,0x1E},
{"huo",0x63,0x1E},
{"i",0x78,0x1E},
{"ong",0x95,0x1E},
{"ou",0xA4,0x1E},
{"u",0xAD,0x1E},
{"uan",0xBE,0x1E},
{"ui",0xC5,0x1E},
{"un",0xCE,0x1E},
{"uo",0xD3,0x1E}};
unsignedcharcodePY_index_end[][8]={"",0,0};
//================================================================================================
//================================================================================================
//"========================================变量声明========================================"
unsignedintcodepy_mb_begin=(unsignedint)PY_mb_a[0];
unsignedcharcode(*codePY_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时,杳询失败"
unsignedcharcode*py_ime(unsignedcharinput_py_val[]);
//"========================================主程序体========================================"
unsignedcharcode*py_ime(unsignedcharinput_py_val[])
{
unsignedcharcode(*xdatap1)[8],(*xdatap2)[8],(*xdatap3)[8];
unsignedcharxdatai=1;
if(input_py_val[0]==0)return(0);//"如果输入空字符返回0"
if(input_py_val[0]==’i’)return(0);
if(input_py_val[0]==’u’)return(0);
if(input_py_val[0]==’v’)return(0);
p1=p2=PY_index_pointer[input_py_val[0]-0x61];//"计算入口树根"
p3=PY_index_pointer[input_py_val[0]-0x60];//"设置指针界限"
if(p1==0)return(0);//"查询失败返回0"
while(p1p1=p2;
while(p1if(((*p1)[i]==input_py_val[i+1])((*p1)[i-1]==input_py_val[i]))
{
p2=p1;
i++;
}
elsep1++;
return((unsignedcharcode*)((*p2)[6]+(*p2)[7]*256+py_mb_begin));//"返回查询结果首地址"
}
单片机 51单片机 MCU 单片机视频教程 单片机开发 ARM单片机 AVR单片机 PIC单片机 Atmel stm32 单片机学习 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)