51PY.C
上传用户:zgnl100
上传日期:2010-01-16
资源大小:1629k
文件大小:44k
源码类别:

输入法编程

开发平台:

C/C++

  1. /********************拼音输入法模块*******************
  2. /                      原作:张 凯
  3. /                      改写:李 强(mail2li@21cn.com)
  4. /                  编译环境:Keil C 6.14
  5. /*****************************************************/
  6. #include<string.h>
  7. #include<stdio.h>
  8. struct PY_index
  9. {
  10.     char *PY;
  11.     char *PY_mb;
  12. };
  13. //"拼音输入法汉字排列表,码表(mb)"
  14. code char PY_mb_a[]     ={"阿啊"};
  15. code char PY_mb_ai[]    ={"哎哀唉埃挨皑癌矮蔼艾爱隘碍"};
  16. code char PY_mb_an[]    ={"安氨鞍俺岸按案胺暗"};
  17. code char PY_mb_ang[]   ={"肮昂盎"};
  18. code char PY_mb_ao[]    ={"凹敖熬翱袄傲奥澳懊"};
  19. code char PY_mb_ba[]    ={"八巴叭扒吧芭疤捌笆拔跋把靶坝爸罢霸"};
  20. code char PY_mb_bai[]   ={"白百佰柏摆败拜稗"};
  21. code char PY_mb_ban[]   ={"扳班般颁斑搬板版办半伴扮拌绊瓣"};
  22. code char PY_mb_bang[]  ={"邦帮梆绑榜膀蚌傍棒谤磅镑"};
  23. code char PY_mb_bao[]   ={"包苞胞褒雹宝饱保堡报抱豹鲍暴爆剥薄瀑"};
  24. code char PY_mb_bei[]   ={"卑杯悲碑北贝狈备背钡倍被惫焙辈"};
  25. code char PY_mb_ben[]   ={"奔本苯笨夯"};
  26. code char PY_mb_beng[]  ={"崩绷甭泵迸蹦"};
  27. code char PY_mb_bi[]    ={"逼鼻比彼笔鄙币必毕闭庇毖陛毙敝痹蓖弊碧蔽壁避臂"};
  28. code char PY_mb_bian[]  ={"边编鞭贬扁卞便变遍辨辩辫"};
  29. code char PY_mb_biao[]  ={"彪标膘表"};
  30. code char PY_mb_bie[]   ={"憋鳖别瘪"};
  31. code char PY_mb_bin[]   ={"宾彬斌滨濒摈"};
  32. code char PY_mb_bing[]  ={"冰兵丙秉柄炳饼并病"};
  33. code char PY_mb_bo[]    ={"拨波玻钵脖菠播伯驳帛泊勃铂舶博渤搏箔膊卜"};
  34. code char PY_mb_bu[]    ={"补哺捕不布步怖部埠簿"};
  35. code char PY_mb_ca[]    ={"擦"};
  36. code char PY_mb_cai[]   ={"猜才材财裁采彩睬踩菜蔡"};
  37. code char PY_mb_can[]   ={"参餐残蚕惭惨灿"};
  38. code char PY_mb_cang[]  ={"仓沧苍舱藏"};
  39. code char PY_mb_cao[]   ={"操糙曹槽草"};
  40. code char PY_mb_ce[]    ={"册侧厕测策"};
  41. code char PY_mb_ceng[]  ={"层蹭曾"};
  42. code char PY_mb_cha[]   ={"叉插查茬茶搽察碴岔诧差刹"};
  43. code char PY_mb_chai[]  ={"拆柴豺"};
  44. code char PY_mb_chan[]  ={"掺搀谗馋缠蝉产铲阐颤"};
  45. code char PY_mb_chang[] ={"昌猖肠尝偿常厂场敞畅倡唱"};
  46. code char PY_mb_chao[]  ={"抄钞超巢朝嘲潮吵炒绰"};
  47. code char PY_mb_che[]   ={"车扯彻掣撤澈"};
  48. code char PY_mb_chen[]  ={"郴尘臣忱沉辰陈晨衬趁"};
  49. code char PY_mb_cheng[] ={"称撑成呈承诚城乘惩程澄橙逞骋秤"};
  50. code char PY_mb_chi[]   ={"吃痴弛池驰迟持尺侈齿耻斥赤炽翅"};
  51. code char PY_mb_chong[] ={"充冲虫崇宠"};
  52. code char PY_mb_chou[]  ={"抽仇绸畴愁稠筹酬踌丑瞅臭"};
  53. code char PY_mb_chu[]   ={"出初除厨滁锄雏橱躇础储楚处搐触矗畜"};
  54. code char PY_mb_chuai[] ={"揣"};
  55. code char PY_mb_chuan[] ={"川穿传船椽喘串"};
  56. code char PY_mb_chuang[]={"闯疮窗床创"};
  57. code char PY_mb_chui[]  ={"吹炊垂捶锤"};
  58. code char PY_mb_chun[]  ={"春椿纯唇淳醇蠢"};
  59. code char PY_mb_chuo[]  ={"戳"};
  60. code char PY_mb_ci[]    ={"疵词茨瓷慈辞磁雌此次刺赐"};
  61. code char PY_mb_cong[]  ={"囱从匆葱聪丛"};
  62. code char PY_mb_cou[]   ={"凑"};
  63. code char PY_mb_cu[]    ={"粗促醋簇"};
  64. code char PY_mb_cuan[]  ={"蹿窜篡"};
  65. code char PY_mb_cui[]   ={"崔催摧脆淬瘁粹翠"};
  66. code char PY_mb_cun[]   ={"村存寸"};
  67. code char PY_mb_cuo[]   ={"搓磋撮挫措错"};
  68. code char PY_mb_da[]    ={"搭达答瘩打大"};
  69. code char PY_mb_dai[]   ={"呆歹傣代带待怠殆贷袋逮戴"};
  70. code char PY_mb_dan[]   ={"丹单担耽郸胆掸旦但诞弹惮淡蛋氮"};
  71. code char PY_mb_dang[]  ={"当挡党荡档"};
  72. code char PY_mb_dao[]   ={"刀导岛倒捣祷蹈到悼盗道稻"};
  73. code char PY_mb_de[]    ={"得德的"};
  74. code char PY_mb_deng[]  ={"灯登蹬等邓凳瞪"};
  75. code char PY_mb_di[]    ={"低堤滴狄迪敌涤笛嫡底抵地弟帝递第缔蒂"};
  76. code char PY_mb_dian[]  ={"掂滇颠典点碘电佃甸店垫惦淀奠殿靛"};
  77. code char PY_mb_diao[]  ={"刁叼凋碉雕吊钓掉"};
  78. code char PY_mb_die[]   ={"爹跌迭谍叠碟蝶"};
  79. code char PY_mb_ding[]  ={"丁叮盯钉顶鼎订定锭"};
  80. code char PY_mb_diu[]   ={"丢"};
  81. code char PY_mb_dong[]  ={"东冬董懂动冻侗恫栋洞"};
  82. code char PY_mb_dou[]   ={"都兜斗抖陡豆逗痘"};
  83. code char PY_mb_du[]    ={"督毒读犊独堵赌睹妒杜肚度渡镀"};
  84. code char PY_mb_duan[]  ={"端短段断缎锻"};
  85. code char PY_mb_dui[]   ={"堆队对兑"};
  86. code char PY_mb_dun[]   ={"吨敦墩蹲盾钝顿遁"};
  87. code char PY_mb_duo[]   ={"多哆夺掇朵垛躲剁堕舵惰跺"};
  88. code char PY_mb_e[]     ={"讹俄娥峨鹅蛾额厄扼恶饿鄂遏"};
  89. code char PY_mb_en[]    ={"恩"};
  90. code char PY_mb_er[]    ={"儿而尔耳洱饵二贰"};
  91. code char PY_mb_fa[]    ={"发乏伐罚阀筏法珐"};
  92. code char PY_mb_fan[]   ={"帆番翻藩凡矾钒烦樊繁反返犯泛饭范贩"};
  93. code char PY_mb_fang[]  ={"方坊芳防妨房肪仿访纺放"};
  94. code char PY_mb_fei[]   ={"飞非啡菲肥匪诽吠废沸肺费"};
  95. code char PY_mb_fen[]   ={"分吩纷芬氛酚坟汾焚粉份奋忿愤粪"};
  96. code char PY_mb_feng[]  ={"丰风枫封疯峰烽锋蜂冯逢缝讽凤奉"};
  97. code char PY_mb_fo[]    ={"佛"};
  98. code char PY_mb_fou[]   ={"否"};
  99. code char PY_mb_fu[]    ={"夫肤孵敷弗伏扶拂服俘氟浮涪符袱幅福辐抚甫府斧俯釜辅腑腐父讣付妇负附咐阜复赴副傅富赋缚腹覆"};
  100. code char PY_mb_ga[]    ={"嘎噶"};
  101. code char PY_mb_gai[]   ={"该改钙盖溉概"};
  102. code char PY_mb_gan[]   ={"干甘杆肝柑竿秆赶敢感赣"};
  103. code char PY_mb_gang[]  ={"冈刚岗纲肛缸钢港杠"};
  104. code char PY_mb_gao[]   ={"皋羔高膏篙糕搞稿镐告"};
  105. code char PY_mb_ge[]    ={"戈疙哥胳鸽割搁歌阁革格葛隔个各铬咯"};
  106. code char PY_mb_gei[]   ={"给"};
  107. code char PY_mb_gen[]   ={"根跟"};
  108. code char PY_mb_geng[]  ={"更庚耕羹埂耿梗"};
  109. code char PY_mb_gong[]  ={"工弓公功攻供宫恭躬龚巩汞拱共贡"};
  110. code char PY_mb_gou[]   ={"勾沟钩狗苟构购垢够"};
  111. code char PY_mb_gu[]    ={"估咕姑孤沽菇辜箍古谷股骨蛊鼓固故顾雇"};
  112. code char PY_mb_gua[]   ={"瓜刮剐寡挂褂"};
  113. code char PY_mb_guai[]  ={"乖拐怪"};
  114. code char PY_mb_guan[]  ={"关观官冠棺馆管贯惯灌罐"};
  115. code char PY_mb_guang[] ={"光广逛"};
  116. code char PY_mb_gui[]   ={"归圭龟规闺硅瑰轨诡癸鬼刽柜贵桂跪"};
  117. code char PY_mb_gun[]   ={"辊滚棍"};
  118. code char PY_mb_guo[]   ={"郭锅国果裹过"};
  119. code char PY_mb_ha[]    ={"蛤哈"};
  120. code char PY_mb_hai[]   ={"孩骸海亥骇害氦"};
  121. code char PY_mb_han[]   ={"酣憨含邯函涵寒韩罕喊汉汗旱悍捍焊憾撼翰"};
  122. code char PY_mb_hang[]  ={"杭航行"};
  123. code char PY_mb_hao[]   ={"毫豪嚎壕好郝号浩耗"};
  124. code char PY_mb_he[]    ={"呵喝禾合何和河阂核荷涸盒菏贺褐赫鹤"};
  125. code char PY_mb_hei[]   ={"黑嘿"};
  126. code char PY_mb_hen[]   ={"痕很狠恨"};
  127. code char PY_mb_heng[]  ={"亨哼恒横衡"};
  128. code char PY_mb_hong[]  ={"轰哄烘弘红宏洪虹鸿"};
  129. code char PY_mb_hou[]   ={"侯喉猴吼后厚候"};
  130. code char PY_mb_hu[]    ={"乎呼忽弧狐胡壶湖葫瑚糊蝴虎唬互户护沪"};
  131. code char PY_mb_hua[]   ={"花华哗滑猾化划画话"};
  132. code char PY_mb_huai[]  ={"怀徊淮槐坏"};
  133. code char PY_mb_huan[]  ={"欢还环桓缓幻宦唤换涣患焕痪豢"};
  134. code char PY_mb_huang[] ={"荒慌皇凰黄惶煌蝗磺簧恍晃谎幌"};
  135. code char PY_mb_hui[]   ={"灰恢挥辉徽回蛔悔卉汇会讳绘诲烩贿晦秽惠毁慧"};
  136. code char PY_mb_hun[]   ={"昏荤婚浑魂混"};
  137. code char PY_mb_huo[]   ={"豁活火伙或货获祸惑霍"};
  138. code char PY_mb_ji[]    ={"讥击饥圾机肌鸡迹姬积基绩缉畸箕稽激及吉汲级即极急疾棘集嫉辑籍几己挤脊计记伎纪妓忌技际剂季既济继寂寄悸祭蓟冀藉"};
  139. code char PY_mb_jia[]   ={"加夹佳枷家嘉荚颊甲贾钾价驾架假嫁稼挟"};
  140. code char PY_mb_jian[]  ={"奸尖坚歼间肩艰兼监笺缄煎拣俭柬茧捡减剪检硷简碱见件建饯剑荐贱健涧舰渐溅践鉴键箭"};
  141. code char PY_mb_jiang[] ={"江姜将浆僵疆讲奖桨蒋匠降酱"};
  142. code char PY_mb_jiao[]  ={"交郊娇浇骄胶椒焦蕉礁角狡绞饺矫脚铰搅剿缴叫轿较教窖酵觉嚼"};
  143. code char PY_mb_jie[]   ={"阶皆接秸揭街节劫杰洁结捷睫截竭姐解介戒芥届界疥诫借"};
  144. code char PY_mb_jin[]   ={"巾今斤金津筋襟仅紧谨锦尽劲近进晋浸烬禁靳"};
  145. code char PY_mb_jing[]  ={"京经茎荆惊晶睛粳兢精鲸井颈景警净径痉竞竟敬靖境静镜"};
  146. code char PY_mb_jiong[] ={"炯窘"};
  147. code char PY_mb_jiu[]   ={"纠究揪九久灸玖韭酒旧臼咎疚厩救就舅"};
  148. code char PY_mb_ju[]    ={"居拘狙驹疽鞠局桔菊咀沮举矩句巨拒具炬俱剧惧据距锯聚踞"};
  149. code char PY_mb_juan[]  ={"娟捐鹃卷倦绢眷"};
  150. code char PY_mb_jue[]   ={"撅决诀抉绝倔掘爵攫"};
  151. code char PY_mb_jun[]   ={"军君均钧菌俊郡峻浚骏竣"};
  152. code char PY_mb_ka[]    ={"咖喀卡"};
  153. code char PY_mb_kai[]   ={"开揩凯慨楷"};
  154. code char PY_mb_kan[]   ={"槛刊勘堪坎砍看"};
  155. code char PY_mb_kang[]  ={"康慷糠扛亢抗炕"};
  156. code char PY_mb_kao[]   ={"考拷烤靠"};
  157. code char PY_mb_ke[]    ={"坷苛柯科棵颗磕壳咳可渴克刻客课"};
  158. code char PY_mb_ken[]   ={"肯垦恳啃"};
  159. code char PY_mb_keng[]  ={"吭坑"};
  160. code char PY_mb_kong[]  ={"空孔恐控"};
  161. code char PY_mb_kou[]   ={"抠口扣寇"};
  162. code char PY_mb_ku[]    ={"枯哭窟苦库裤酷"};
  163. code char PY_mb_kua[]   ={"夸垮挎胯跨"};
  164. code char PY_mb_kuai[]  ={"块快侩筷"};
  165. code char PY_mb_kuan[]  ={"宽款"};
  166. code char PY_mb_kuang[] ={"匡筐狂况旷矿框眶"};
  167. code char PY_mb_kui[]   ={"亏岿盔窥奎葵魁傀愧溃馈"};
  168. code char PY_mb_kun[]   ={"坤昆捆困"};
  169. code char PY_mb_kuo[]   ={"扩括阔廓"};
  170. code char PY_mb_la[]    ={"垃拉啦喇腊蜡辣"};
  171. code char PY_mb_lai[]   ={"来莱赖"};
  172. code char PY_mb_lan[]   ={"兰拦栏婪阑蓝谰澜篮览揽缆懒烂滥"};
  173. code char PY_mb_lang[]  ={"郎狼廊琅榔朗浪"};
  174. code char PY_mb_lao[]   ={"捞劳牢老佬姥涝烙酪"};
  175. code char PY_mb_le[]    ={"乐勒了"};
  176. code char PY_mb_lei[]   ={"雷镭垒磊蕾儡肋泪类累擂"};
  177. code char PY_mb_leng[]  ={"棱楞冷"};
  178. code char PY_mb_li[]    ={"厘梨狸离莉犁漓璃黎篱礼李里哩理鲤力历厉立吏丽利励沥例隶俐荔栗砾粒傈痢"};
  179. code char PY_mb_lian[]  ={"连帘怜涟莲联廉镰敛脸练炼恋链"};
  180. code char PY_mb_liang[] ={"俩良凉梁粮粱两亮谅辆晾量"};
  181. code char PY_mb_liao[]  ={"潦辽疗聊僚寥廖撩燎镣料撂"};
  182. code char PY_mb_lie[]   ={"列劣烈猎裂"};
  183. code char PY_mb_lin[]   ={"邻林临淋琳霖磷鳞凛吝赁拎"};
  184. code char PY_mb_ling[]  ={"伶灵岭玲凌铃陵羚菱零龄领令另"};
  185. code char PY_mb_liu[]   ={"溜刘流留琉硫馏榴瘤柳六"};
  186. code char PY_mb_long[]  ={"龙咙笼聋隆窿陇垄拢"};
  187. code char PY_mb_lou[]   ={"娄楼搂篓陋漏"};
  188. code char PY_mb_lu[]    ={"露卢庐芦炉颅卤虏掳鲁陆录赂鹿禄碌路戮潞麓"};
  189. code char PY_mb_luan[]  ={"孪峦挛滦卵乱"};
  190. code char PY_mb_lue[]   ={"掠略"};
  191. code char PY_mb_lun[]   ={"抡仑伦沦纶轮论"};
  192. code char PY_mb_luo[]   ={"罗萝逻锣箩骡螺裸洛络骆落"};
  193. code char PY_mb_lv[]    ={"滤驴吕侣旅铝屡缕履律虑率绿氯"};
  194. code char PY_mb_ma[]    ={"妈麻马玛码蚂骂吗嘛"};
  195. code char PY_mb_mai[]   ={"埋买迈麦卖脉"};
  196. code char PY_mb_man[]   ={"蛮馒瞒满曼谩慢漫蔓"};
  197. code char PY_mb_mang[]  ={"忙芒盲茫莽氓"};
  198. code char PY_mb_mao[]   ={"猫毛矛茅锚卯铆茂冒贸帽貌"};
  199. code char PY_mb_me[]    ={"么"};
  200. code char PY_mb_mei[]   ={"没枚玫眉梅媒煤酶霉每美镁妹昧媚寐"};
  201. code char PY_mb_men[]   ={"门闷们"};
  202. code char PY_mb_meng[]  ={"萌盟檬猛蒙锰孟梦"};
  203. code char PY_mb_mi[]    ={"弥迷谜醚糜靡米眯泌觅秘密幂蜜"};
  204. code char PY_mb_mian[]  ={"眠绵棉免勉娩冕缅面"};
  205. code char PY_mb_miao[]  ={"苗描瞄秒渺藐妙庙"};
  206. code char PY_mb_mie[]   ={"灭蔑"};
  207. code char PY_mb_min[]   ={"民皿抿闽悯敏"};
  208. code char PY_mb_ming[]  ={"名明鸣铭螟命"};
  209. code char PY_mb_miu[]   ={"谬"};
  210. code char PY_mb_mo[]    ={"貉摸摹模膜摩磨蘑魔抹末沫陌莫寞漠墨默"};
  211. code char PY_mb_mou[]   ={"牟谋某"};
  212. code char PY_mb_mu[]    ={"母亩牡姆拇木目牧募墓幕睦慕暮穆"};
  213. code char PY_mb_na[]    ={"拿哪那纳娜钠呐"};
  214. code char PY_mb_nai[]   ={"乃奶氖奈耐"};
  215. code char PY_mb_nan[]   ={"男南难"};
  216. code char PY_mb_nang[]  ={"囊"};
  217. code char PY_mb_nao[]   ={"挠恼脑闹淖"};
  218. code char PY_mb_ne[]    ={"呢"};
  219. code char PY_mb_nei[]   ={"内馁"};
  220. code char PY_mb_nen[]   ={"嫩"};
  221. code char PY_mb_neng[]  ={"能"};
  222. code char PY_mb_ni[]    ={"妮尼泥倪霓你拟逆匿溺腻"};
  223. code char PY_mb_nian[]  ={"拈年捻撵碾念蔫"};
  224. code char PY_mb_niang[] ={"娘酿"};
  225. code char PY_mb_niao[]  ={"鸟尿"};
  226. code char PY_mb_nie[]   ={"捏涅聂啮镊镍孽"};
  227. code char PY_mb_nin[]   ={"您"};
  228. code char PY_mb_ning[]  ={"宁拧狞柠凝泞"};
  229. code char PY_mb_niu[]   ={"牛扭纽钮"};
  230. code char PY_mb_nong[]  ={"农浓脓弄"};
  231. code char PY_mb_nu[]    ={"奴努怒"};
  232. code char PY_mb_nuan[]  ={"暖"};
  233. code char PY_mb_nue[]   ={"疟虐"};
  234. code char PY_mb_nuo[]   ={"挪诺懦糯"};
  235. code char PY_mb_nv[]    ={"女"};
  236. code char PY_mb_o[]     ={"哦"};
  237. code char PY_mb_ou[]    ={"欧殴鸥呕偶藕沤"};
  238. code char PY_mb_pa[]    ={"趴啪爬耙琶帕怕"};
  239. code char PY_mb_pai[]   ={"拍徘排牌派湃"};
  240. code char PY_mb_pan[]   ={"潘攀盘磐判叛盼畔"};
  241. code char PY_mb_pang[]  ={"乓庞旁耪胖"};
  242. code char PY_mb_pao[]   ={"抛刨咆炮袍跑泡"};
  243. code char PY_mb_pei[]   ={"呸胚陪培赔裴沛佩配"};
  244. code char PY_mb_pen[]   ={"喷盆"};
  245. code char PY_mb_peng[]  ={"抨砰烹朋彭棚硼蓬鹏澎篷膨捧碰"};
  246. code char PY_mb_pi[]    ={"辟批坯披砒劈霹皮毗疲啤琵脾匹痞屁僻譬"};
  247. code char PY_mb_pian[]  ={"片偏篇骗"};
  248. code char PY_mb_piao[]  ={"漂飘瓢票"};
  249. code char PY_mb_pie[]   ={"撇瞥"};
  250. code char PY_mb_pin[]   ={"拼贫频品聘"};
  251. code char PY_mb_ping[]  ={"乒平评凭坪苹屏瓶萍"};
  252. code char PY_mb_po[]    ={"坡泼颇婆迫破粕魄"};
  253. code char PY_mb_pou[]   ={"剖"};
  254. code char PY_mb_pu[]    ={"脯仆扑铺莆菩葡蒲朴圃埔浦普谱曝"};
  255. code char PY_mb_qi[]    ={"七沏妻柒凄栖戚期欺漆祁齐其奇歧祈脐崎畦骑棋旗乞企岂启起气讫迄弃汽泣契砌器"};
  256. code char PY_mb_qia[]   ={"掐恰洽"};
  257. code char PY_mb_qian[]  ={"千仟扦迁钎牵铅谦签前钱钳乾潜黔浅遣谴欠堑嵌歉"};
  258. code char PY_mb_qiang[] ={"呛羌枪腔强墙蔷抢"};
  259. code char PY_mb_qiao[]  ={"悄敲锹橇乔侨桥瞧巧俏峭窍翘撬鞘"};
  260. code char PY_mb_qie[]   ={"切茄且怯窃"};
  261. code char PY_mb_qin[]   ={"亲侵钦芹秦琴禽勤擒寝沁"};
  262. code char PY_mb_qing[]  ={"青氢轻倾卿清情晴氰擎顷请庆"};
  263. code char PY_mb_qiong[] ={"穷琼"};
  264. code char PY_mb_qiu[]   ={"丘邱秋囚求泅酋球"};
  265. code char PY_mb_qu[]    ={"区曲驱屈蛆躯趋渠取娶龋去趣"};
  266. code char PY_mb_quan[]  ={"圈全权泉拳痊醛颧犬劝券"};
  267. code char PY_mb_que[]   ={"炔缺瘸却雀确鹊榷"};
  268. code char PY_mb_qun[]   ={"裙群"};
  269. code char PY_mb_ran[]   ={"然燃冉染"};
  270. code char PY_mb_rang[]  ={"瓤嚷壤攘让"};
  271. code char PY_mb_rao[]   ={"饶扰绕"};
  272. code char PY_mb_re[]    ={"惹热"};
  273. code char PY_mb_ren[]   ={"人仁壬忍刃认任纫妊韧"};
  274. code char PY_mb_reng[]  ={"扔仍"};
  275. code char PY_mb_ri[]    ={"日"};
  276. code char PY_mb_rong[]  ={"戎绒茸荣容溶蓉熔融冗"};
  277. code char PY_mb_rou[]   ={"柔揉肉"};
  278. code char PY_mb_ru[]    ={"如茹儒孺蠕汝乳辱入褥"};
  279. code char PY_mb_ruan[]  ={"阮软"};
  280. code char PY_mb_rui[]   ={"蕊锐瑞"};
  281. code char PY_mb_run[]   ={"闰润"};
  282. code char PY_mb_ruo[]   ={"若弱"};
  283. code char PY_mb_sa[]    ={"撒洒萨"};
  284. code char PY_mb_sai[]   ={"塞腮鳃赛"};
  285. code char PY_mb_san[]   ={"三叁伞散"};
  286. code char PY_mb_sang[]  ={"桑嗓丧"};
  287. code char PY_mb_sao[]   ={"搔骚扫嫂"};
  288. code char PY_mb_se[]    ={"色涩瑟"};
  289. code char PY_mb_sen[]   ={"森"};
  290. code char PY_mb_seng[]  ={"僧"};
  291. code char PY_mb_sha[]   ={"杀沙纱砂莎傻啥煞厦"};
  292. code char PY_mb_shai[]  ={"筛晒"};
  293. code char PY_mb_shan[]  ={"山删杉衫珊煽闪陕汕苫扇善缮擅膳赡栅"};
  294. code char PY_mb_shang[] ={"伤商墒裳晌赏上尚"};
  295. code char PY_mb_shao[]  ={"捎梢烧稍勺芍韶少邵绍哨"};
  296. code char PY_mb_she[]   ={"奢赊舌蛇舍设社射涉赦慑摄"};
  297. code char PY_mb_shen[]  ={"申伸身呻绅娠砷深神沈审婶肾甚渗慎什"};
  298. code char PY_mb_sheng[] ={"升生声牲胜甥绳省圣盛剩"};
  299. code char PY_mb_shi[]   ={"匙尸失师虱诗施狮湿十石时识实拾蚀食史矢使始驶屎士氏世仕市示式事侍势视试饰室恃拭是柿适逝释嗜誓噬似"};
  300. code char PY_mb_shou[]  ={"收手守首寿受兽售授瘦"};
  301. code char PY_mb_shu[]   ={"书抒叔枢殊梳淑疏舒输蔬孰赎熟暑黍署鼠蜀薯曙术戍束述树竖恕庶数墅漱属"};
  302. code char PY_mb_shua[]  ={"刷耍"};
  303. code char PY_mb_shuai[] ={"衰摔甩帅"};
  304. code char PY_mb_shuan[] ={"拴栓"};
  305. code char PY_mb_shuang[]={"双霜爽"};
  306. code char PY_mb_shui[]  ={"谁水税睡"};
  307. code char PY_mb_shun[]  ={"吮顺舜瞬"};
  308. code char PY_mb_shuo[]  ={"说烁朔硕"};
  309. code char PY_mb_si[]    ={"丝司私思斯嘶撕死巳四寺伺饲嗣肆"};
  310. code char PY_mb_song[]  ={"松怂耸讼宋诵送颂"};
  311. code char PY_mb_sou[]   ={"嗽搜艘擞"};
  312. code char PY_mb_su[]    ={"苏酥俗诉肃素速粟塑溯僳"};
  313. code char PY_mb_suan[]  ={"酸蒜算"};
  314. code char PY_mb_sui[]   ={"虽绥隋随髓岁祟遂碎隧穗"};
  315. code char PY_mb_sun[]   ={"孙损笋"};
  316. code char PY_mb_suo[]   ={"唆梭蓑缩所索琐锁"};
  317. code char PY_mb_ta[]    ={"她他它塌塔獭挞踏蹋"};
  318. code char PY_mb_tai[]   ={"胎台抬苔太汰态泰酞"};
  319. code char PY_mb_tan[]   ={"坍贪摊滩瘫坛谈痰谭潭檀坦袒毯叹炭探碳"};
  320. code char PY_mb_tang[]  ={"汤唐堂棠塘搪膛糖倘淌躺烫趟"};
  321. code char PY_mb_tao[]   ={"涛绦掏滔逃桃陶淘萄讨套"};
  322. code char PY_mb_te[]    ={"特"};
  323. code char PY_mb_teng[]  ={"疼腾誊藤"};
  324. code char PY_mb_ti[]    ={"剔梯锑踢啼提题蹄体屉剃涕惕替嚏"};
  325. code char PY_mb_tian[]  ={"天添田恬甜填腆舔"};
  326. code char PY_mb_tiao[]  ={"调挑条迢眺跳"};
  327. code char PY_mb_tie[]   ={"贴铁帖"};
  328. code char PY_mb_ting[]  ={"厅汀听烃廷亭庭停挺艇"};
  329. code char PY_mb_tong[]  ={"通同彤桐铜童酮瞳统捅桶筒痛"};
  330. code char PY_mb_tou[]   ={"偷头投透"};
  331. code char PY_mb_tu[]    ={"凸秃突图徒涂途屠土吐兔"};
  332. code char PY_mb_tuan[]  ={"湍团"};
  333. code char PY_mb_tui[]   ={"推颓腿退蜕褪"};
  334. code char PY_mb_tun[]   ={"囤吞屯臀"};
  335. code char PY_mb_tuo[]   ={"托拖脱驮陀驼鸵妥椭拓唾"};
  336. code char PY_mb_wa[]    ={"哇娃挖洼蛙瓦袜"};
  337. code char PY_mb_wai[]   ={"歪外"};
  338. code char PY_mb_wan[]   ={"弯湾豌丸完玩顽烷宛挽晚婉惋皖碗万腕"};
  339. code char PY_mb_wang[]  ={"汪亡王网往枉妄忘旺望"};
  340. code char PY_mb_wei[]   ={"危威微巍为韦围违桅唯惟维潍伟伪尾纬苇委萎卫未位味畏胃尉谓喂渭蔚慰魏"};
  341. code char PY_mb_wen[]   ={"温瘟文纹闻蚊吻紊稳问"};
  342. code char PY_mb_weng[]  ={"翁嗡瓮"};
  343. code char PY_mb_wo[]    ={"挝涡窝蜗我沃卧握斡"};
  344. code char PY_mb_wu[]    ={"乌污呜巫屋诬钨无毋吴吾芜梧五午伍坞武侮捂舞勿务戊物误悟晤雾"};
  345. code char PY_mb_xi[]    ={"夕汐西吸希昔析矽息牺悉惜烯硒晰犀稀溪锡熄熙嘻膝习席袭媳檄洗喜戏系细隙"};
  346. code char PY_mb_xia[]   ={"虾瞎匣侠峡狭暇辖霞下吓夏"};
  347. code char PY_mb_xian[]  ={"铣仙先纤掀锨鲜闲弦贤咸涎舷衔嫌显险县现线限宪陷馅羡献腺"};
  348. code char PY_mb_xiang[] ={"乡相香厢湘箱襄镶详祥翔享响想向巷项象像橡"};
  349. code char PY_mb_xiao[]  ={"宵消萧硝销霄嚣淆小晓孝肖哮效校笑啸"};
  350. code char PY_mb_xie[]   ={"些楔歇蝎协邪胁斜谐携鞋写泄泻卸屑械谢懈蟹"};
  351. code char PY_mb_xin[]   ={"心忻芯辛欣锌新薪信衅"};
  352. code char PY_mb_xing[]  ={"兴星惺猩腥刑邢形型醒杏姓幸性"};
  353. code char PY_mb_xiong[] ={"凶兄匈汹胸雄熊"};
  354. code char PY_mb_xiu[]   ={"宿休修羞朽秀绣袖锈嗅"};
  355. code char PY_mb_xu[]    ={"戌须虚嘘需墟徐许旭序叙恤绪续酗婿絮蓄吁"};
  356. code char PY_mb_xuan[]  ={"轩宣喧玄悬旋选癣绚眩"};
  357. code char PY_mb_xue[]   ={"削靴薛穴学雪血"};
  358. code char PY_mb_xun[]   ={"勋熏寻巡旬驯询循训讯汛迅逊殉"};
  359. code char PY_mb_ya[]    ={"丫压呀押鸦鸭牙芽蚜崖涯衙哑雅亚讶"};
  360. code char PY_mb_yan[]   ={"咽烟淹焉阉延严言岩沿炎研盐阎蜒颜奄衍掩眼演厌彦砚唁宴艳验谚堰焰雁燕"};
  361. code char PY_mb_yang[]  ={"央殃秧鸯扬羊阳杨佯疡洋仰养氧痒样漾"};
  362. code char PY_mb_yao[]   ={"侥妖腰邀尧姚窑谣摇遥瑶咬舀药要耀钥"};
  363. code char PY_mb_ye[]    ={"椰噎爷耶也冶野业叶曳页夜掖液腋"};
  364. code char PY_mb_yi[]    ={"一伊衣医依铱壹揖仪夷沂宜姨胰移遗颐疑彝乙已以矣蚁倚椅义亿忆艺议亦屹异役抑译邑易绎诣疫益谊翌逸意溢肄裔毅翼臆"};
  365. code char PY_mb_yin[]   ={"因阴姻茵荫音殷吟寅淫银尹引饮隐印"};
  366. code char PY_mb_ying[]  ={"应英婴缨樱鹰迎盈荧莹萤营蝇赢颖影映硬"};
  367. code char PY_mb_yo[]    ={"哟"};
  368. code char PY_mb_yong[]  ={"佣拥痈庸雍臃永咏泳勇涌恿蛹踊用"};
  369. code char PY_mb_you[]   ={"优忧幽悠尤由犹邮油铀游友有酉又右幼佑诱釉"};
  370. code char PY_mb_yu[]    ={"迂淤渝于予余盂鱼俞娱渔隅愉逾愚榆虞舆与宇屿羽雨禹语玉驭芋育郁狱峪浴预域欲喻寓御裕遇愈誉豫"};
  371. code char PY_mb_yuan[]  ={"冤鸳渊元员园垣原圆袁援缘源猿辕远苑怨院愿"};
  372. code char PY_mb_yue[]   ={"曰约月岳悦阅跃粤越"};
  373. code char PY_mb_yun[]   ={"云匀郧耘允陨孕运晕酝韵蕴"};
  374. code char PY_mb_za[]    ={"匝杂砸咋"};
  375. code char PY_mb_zai[]   ={"灾哉栽宰载再在仔"};
  376. code char PY_mb_zan[]   ={"咱攒暂赞"};
  377. code char PY_mb_zang[]  ={"赃脏葬"};
  378. code char PY_mb_zao[]   ={"遭糟凿早枣蚤澡藻灶皂造噪燥躁"};
  379. code char PY_mb_ze[]    ={"则择泽责"};
  380. code char PY_mb_zei[]   ={"贼"};
  381. code char PY_mb_zen[]   ={"怎"};
  382. code char PY_mb_zeng[]  ={"增憎赠"};
  383. code char PY_mb_zha[]   ={"喳渣扎札轧闸铡眨乍诈炸榨柞"};
  384. code char PY_mb_zhai[]  ={"斋摘宅翟窄债寨"};
  385. code char PY_mb_zhan[]  ={"沾毡粘詹瞻斩展盏崭辗占战栈站绽湛蘸"};
  386. code char PY_mb_zhang[] ={"长张章彰漳樟涨掌丈仗帐杖胀账障瘴"};
  387. code char PY_mb_zhao[]  ={"招昭找沼召兆赵照罩肇爪"};
  388. code char PY_mb_zhe[]   ={"遮折哲蛰辙者锗这浙蔗着"};
  389. code char PY_mb_zhen[]  ={"贞针侦珍真砧斟甄臻诊枕疹阵振镇震帧"};
  390. code char PY_mb_zheng[] ={"争征怔挣狰睁蒸拯整正证郑政症"};
  391. code char PY_mb_zhi[]   ={"之支汁芝吱枝知织肢脂蜘执侄直值职植殖止只旨址纸指趾至志制帜治炙质峙挚秩致掷痔窒智滞稚置"};
  392. code char PY_mb_zhong[] ={"中忠终盅钟衷肿种仲众重"};
  393. code char PY_mb_zhou[]  ={"州舟诌周洲粥轴肘帚咒宙昼皱骤"};
  394. code char PY_mb_zhu[]   ={"朱诛株珠诸猪蛛竹烛逐主拄煮嘱瞩住助注贮驻柱祝著蛀筑铸"};
  395. code char PY_mb_zhua[]  ={"抓"};
  396. code char PY_mb_zhuai[] ={"拽"};
  397. code char PY_mb_zhuan[] ={"专砖转撰篆"};
  398. code char PY_mb_zhuang[]={"妆庄桩装壮状幢撞"};
  399. code char PY_mb_zhui[]  ={"追椎锥坠缀赘"};
  400. code char PY_mb_zhun[]  ={"谆准"};
  401. code char PY_mb_zhuo[]  ={"卓拙捉桌灼茁浊酌啄琢"};
  402. code char PY_mb_zi[]    ={"孜兹咨姿资淄滋籽子紫滓字自渍"};
  403. code char PY_mb_zong[]  ={"宗综棕踪鬃总纵"};
  404. code char PY_mb_zou[]   ={"邹走奏揍"};
  405. code char PY_mb_zu[]    ={"租足卒族诅阻组祖"};
  406. code char PY_mb_zuan[]  ={"赚纂钻"};
  407. code char PY_mb_zui[]   ={"嘴最罪醉"};
  408. code char PY_mb_zun[]   ={"尊遵"};
  409. code char PY_mb_zuo[]   ={"昨左佐作坐座做"};
  410. code char PY_mb_space[] ={""};
  411. /*"拼音输入法查询码表,二级字母索引表(index)"*/
  412. struct PY_index code PY_index_a[]={{"",PY_mb_a},
  413.                                     {"i",PY_mb_ai},
  414.                                     {"n",PY_mb_an},
  415.                                     {"ng",PY_mb_ang},
  416.                                     {"o",PY_mb_ao}};
  417. struct PY_index code PY_index_b[]={{"a",PY_mb_ba},
  418.                                     {"ai",PY_mb_bai},
  419.                                     {"an",PY_mb_ban},
  420.                                     {"ang",PY_mb_bang},
  421.                                     {"ao",PY_mb_bao},
  422.                                     {"ei",PY_mb_bei},
  423.                                     {"en",PY_mb_ben},
  424.                                     {"eng",PY_mb_beng},
  425.                                     {"i",PY_mb_bi},
  426.                                     {"ian",PY_mb_bian},
  427.                                     {"iao",PY_mb_biao},
  428.                                     {"ie",PY_mb_bie},
  429.                                     {"in",PY_mb_bin},
  430.                                     {"ing",PY_mb_bing},
  431.                                     {"o",PY_mb_bo},
  432.                                     {"u",PY_mb_bu}};
  433. struct PY_index code PY_index_c[]={{"a",PY_mb_ca},
  434.                                     {"ai",PY_mb_cai},
  435.                                     {"an",PY_mb_can},
  436.                                     {"ang",PY_mb_cang},
  437.                                     {"ao",PY_mb_cao},
  438.                                     {"e",PY_mb_ce},
  439.                                     {"eng",PY_mb_ceng},
  440.                                     {"ha",PY_mb_cha},
  441.                                     {"hai",PY_mb_chai},
  442.                                     {"han",PY_mb_chan},
  443.                                     {"hang",PY_mb_chang},
  444.                                     {"hao",PY_mb_chao},
  445.                                     {"he",PY_mb_che},
  446.                                     {"hen",PY_mb_chen},
  447.                                     {"heng",PY_mb_cheng},
  448.                                     {"hi",PY_mb_chi},
  449.                                     {"hong",PY_mb_chong},
  450.                                     {"hou",PY_mb_chou},
  451.                                     {"hu",PY_mb_chu},
  452.                                     {"huai",PY_mb_chuai},
  453.                                     {"huan",PY_mb_chuan},
  454.                                     {"huang",PY_mb_chuang},
  455.                                     {"hui",PY_mb_chui},
  456.                                     {"hun",PY_mb_chun},
  457.                                     {"huo",PY_mb_chuo},
  458.                                     {"i",PY_mb_ci},
  459.                                     {"ong",PY_mb_cong},
  460.                                     {"ou",PY_mb_cou},
  461.                                     {"u",PY_mb_cu},
  462.                                     {"uan",PY_mb_cuan},
  463.                                     {"ui",PY_mb_cui},
  464.                                     {"un",PY_mb_cun},
  465.                                     {"uo",PY_mb_cuo}};
  466. struct PY_index code PY_index_d[]={{"a   ",PY_mb_da},
  467.                                     {"ai",PY_mb_dai},
  468.                                     {"an",PY_mb_dan},
  469.                                     {"ang",PY_mb_dang},
  470.                                     {"ao",PY_mb_dao},
  471.                                     {"e",PY_mb_de},
  472.                                     {"eng",PY_mb_deng},
  473.                                     {"i",PY_mb_di},
  474.                                     {"ian",PY_mb_dian},
  475.                                     {"iao",PY_mb_diao},
  476.                                     {"ie",PY_mb_die},
  477.                                     {"ing",PY_mb_ding},
  478.                                     {"iu",PY_mb_diu},
  479.                                     {"ong",PY_mb_dong},
  480.                                     {"ou",PY_mb_dou},
  481.                                     {"u",PY_mb_du},
  482.                                     {"uan",PY_mb_duan},
  483.                                     {"ui",PY_mb_dui},
  484.                                     {"un",PY_mb_dun},
  485.                                     {"uo",PY_mb_duo}};
  486. struct PY_index code PY_index_e[]={{"",PY_mb_e},
  487.                                     {"n",PY_mb_en},
  488.                                     {"r",PY_mb_er}};
  489. struct PY_index code PY_index_f[]={{"a",PY_mb_fa},
  490.                                     {"an",PY_mb_fan},
  491.                                     {"ang",PY_mb_fang},
  492.                                     {"ei",PY_mb_fei},
  493.                                     {"en",PY_mb_fen},
  494.                                     {"eng",PY_mb_feng},
  495.                                     {"o",PY_mb_fo},
  496.                                     {"ou",PY_mb_fou},
  497.                                     {"u",PY_mb_fu}};
  498. struct PY_index code PY_index_g[]={{"a",PY_mb_ga},
  499.                                     {"ai",PY_mb_gai},
  500.                                     {"an",PY_mb_gan},
  501.                                     {"ang",PY_mb_gang},
  502.                                     {"ao",PY_mb_gao},
  503.                                     {"e",PY_mb_ge},
  504.                                     {"ei",PY_mb_gei},
  505.                                     {"en",PY_mb_gan},
  506.                                     {"eng",PY_mb_geng},
  507.                                     {"ong",PY_mb_gong},
  508.                                     {"ou",PY_mb_gou},
  509.                                     {"u",PY_mb_gu},
  510.                                     {"ua",PY_mb_gua},
  511.                                     {"uai",PY_mb_guai},
  512.                                     {"uan",PY_mb_guan},
  513.                                     {"uang",PY_mb_guang},
  514.                                     {"ui",PY_mb_gui},
  515.                                     {"un",PY_mb_gun},
  516.                                     {"uo",PY_mb_guo}};
  517. struct PY_index code PY_index_h[]={{"a",PY_mb_ha},
  518.                                     {"ai",PY_mb_hai},
  519.                                     {"an",PY_mb_han},
  520.                                     {"ang",PY_mb_hang},
  521.                                     {"ao",PY_mb_hao},
  522.                                     {"e",PY_mb_he},
  523.                                     {"ei",PY_mb_hei},
  524.                                     {"en",PY_mb_hen},
  525.                                     {"eng",PY_mb_heng},
  526.                                     {"ong",PY_mb_hong},
  527.                                     {"ou",PY_mb_hou},
  528.                                     {"u",PY_mb_hu},
  529.                                     {"ua",PY_mb_hua},
  530.                                     {"uai",PY_mb_huai},
  531.                                     {"uan",PY_mb_huan},
  532.                                     {"uang ",PY_mb_huang},
  533.                                     {"ui",PY_mb_hui},
  534.                                     {"un",PY_mb_hun},
  535.                                     {"uo",PY_mb_huo}};
  536. struct PY_index code PY_index_i[]={"",PY_mb_space};
  537. struct PY_index code PY_index_j[]={{"i",PY_mb_ji},
  538.                                     {"ia",PY_mb_jia},
  539.                                     {"ian",PY_mb_jian},
  540.                                     {"iang",PY_mb_jiang},
  541.                                     {"iao",PY_mb_jiao},
  542.                                     {"ie",PY_mb_jie},
  543.                                     {"in",PY_mb_jin},
  544.                                     {"ing",PY_mb_jing},
  545.                                     {"iong",PY_mb_jiong},
  546.                                     {"iu",PY_mb_jiu},
  547.                                     {"u",PY_mb_ju},
  548.                                     {"uan",PY_mb_juan},
  549.                                     {"ue",PY_mb_jue},
  550.                                     {"un",PY_mb_jun}};
  551. struct PY_index code PY_index_k[]={{"a",PY_mb_ka},
  552.                                     {"ai",PY_mb_kai},
  553.                                     {"an",PY_mb_kan},
  554.                                     {"ang",PY_mb_kang},
  555.                                     {"ao",PY_mb_kao},
  556.                                     {"e",PY_mb_ke},
  557.                                     {"en",PY_mb_ken},
  558.                                     {"eng",PY_mb_keng},
  559.                                     {"ong",PY_mb_kong},
  560.                                     {"ou",PY_mb_kou},
  561.                                     {"u",PY_mb_ku},
  562.                                     {"ua",PY_mb_kua},
  563.                                     {"uai",PY_mb_kuai},
  564.                                     {"uan",PY_mb_kuan},
  565.                                     {"uang",PY_mb_kuang},
  566.                                     {"ui",PY_mb_kui},
  567.                                     {"un",PY_mb_kun},
  568.                                     {"uo",PY_mb_kuo}};
  569. struct PY_index code PY_index_l[]={{"a",PY_mb_la},
  570.                                     {"ai",PY_mb_lai},
  571.                                     {"an",PY_mb_lan},
  572.                                     {"ang",PY_mb_lang},
  573.                                     {"ao",PY_mb_lao},
  574.                                     {"e",PY_mb_le},
  575.                                     {"ei",PY_mb_lei},
  576.                                     {"eng",PY_mb_leng},
  577.                                     {"i",PY_mb_li},
  578.                                     {"ian",PY_mb_lian},
  579.                                     {"iang",PY_mb_liang},
  580.                                     {"iao",PY_mb_liao},
  581.                                     {"ie",PY_mb_lie},
  582.                                     {"in",PY_mb_lin},
  583.                                     {"ing",PY_mb_ling},
  584.                                     {"iu",PY_mb_liu},
  585.                                     {"ong",PY_mb_long},
  586.                                     {"ou",PY_mb_lou},
  587.                                     {"u",PY_mb_lu},
  588.                                     {"uan",PY_mb_luan},
  589.                                     {"ue",PY_mb_lue},
  590.                                     {"un",PY_mb_lun},
  591.                                     {"uo",PY_mb_luo},
  592.                                     {"v",PY_mb_lv}};
  593. struct PY_index code PY_index_m[]={{"a",PY_mb_ma},
  594.                                     {"ai",PY_mb_mai},
  595.                                     {"an",PY_mb_man},
  596.                                     {"ang",PY_mb_mang},
  597.                                     {"ao",PY_mb_mao},
  598.                                     {"e",PY_mb_me},
  599.                                     {"ei",PY_mb_mei},
  600.                                     {"en",PY_mb_men},
  601.                                     {"eng",PY_mb_meng},
  602.                                     {"i",PY_mb_mi},
  603.                                     {"ian",PY_mb_mian},
  604.                                     {"iao",PY_mb_miao},
  605.                                     {"ie",PY_mb_mie},
  606.                                     {"in",PY_mb_min},
  607.                                     {"ing",PY_mb_ming},
  608.                                     {"iu",PY_mb_miu},
  609.                                     {"o",PY_mb_mo},
  610.                                     {"ou",PY_mb_mou},
  611.                                     {"u",PY_mb_mu}};
  612. struct PY_index code PY_index_n[]={{"a",PY_mb_na},
  613.                                     {"ai",PY_mb_nai},
  614.                                     {"an",PY_mb_nan},
  615.                                     {"ang",PY_mb_nang},
  616.                                     {"ao",PY_mb_nao},
  617.                                     {"e",PY_mb_ne},
  618.                                     {"ei",PY_mb_nei},
  619.                                     {"en",PY_mb_nen},
  620.                                     {"eng",PY_mb_neng},
  621.                                     {"i",PY_mb_ni},
  622.                                     {"ian",PY_mb_nian},
  623.                                     {"iang",PY_mb_niang},
  624.                                     {"iao",PY_mb_niao},
  625.                                     {"ie",PY_mb_nie},
  626.                                     {"in",PY_mb_nin},
  627.                                     {"ing",PY_mb_ning},
  628.                                     {"iu",PY_mb_niu},
  629.                                     {"ong",PY_mb_nong},
  630.                                     {"u",PY_mb_nu},
  631.                                     {"uan",PY_mb_nuan},
  632.                                     {"ue",PY_mb_nue},
  633.                                     {"uo",PY_mb_nuo},
  634.                                     {"v",PY_mb_nv}};
  635. struct PY_index code PY_index_o[]={{"",PY_mb_o},
  636.                                     {"u",PY_mb_ou}};
  637. struct PY_index code PY_index_p[]={{"a",PY_mb_pa},
  638.                                     {"ai",PY_mb_pai},
  639.                                     {"an",PY_mb_pan},
  640.                                     {"ang",PY_mb_pang},
  641.                                     {"ao",PY_mb_pao},
  642.                                     {"ei",PY_mb_pei},
  643.                                     {"en",PY_mb_pen},
  644.                                     {"eng",PY_mb_peng},
  645.                                     {"i",PY_mb_pi},
  646.                                     {"ian",PY_mb_pian},
  647.                                     {"iao",PY_mb_piao},
  648.                                     {"ie",PY_mb_pie},
  649.                                     {"in",PY_mb_pin},
  650.                                     {"ing",PY_mb_ping},
  651.                                     {"o",PY_mb_po},
  652.                                     {"ou",PY_mb_pou},
  653.                                     {"u",PY_mb_pu}};
  654. struct PY_index code PY_index_q[]={{"i",PY_mb_qi},
  655.                                     {"ia",PY_mb_qia},
  656.                                     {"ian",PY_mb_qian},
  657.                                     {"iang",PY_mb_qiang},
  658.                                     {"iao",PY_mb_qiao},
  659.                                     {"ie",PY_mb_qie},
  660.                                     {"in",PY_mb_qin},
  661.                                     {"ing",PY_mb_qing},
  662.                                     {"iong",PY_mb_qiong},
  663.                                     {"iu",PY_mb_qiu},
  664.                                     {"u",PY_mb_qu},
  665.                                     {"uan",PY_mb_quan},
  666.                                     {"ue",PY_mb_que},
  667.                                     {"un",PY_mb_qun}};
  668. struct PY_index code PY_index_r[]={{"an",PY_mb_ran},
  669.                                     {"ang",PY_mb_rang},
  670.                                     {"ao",PY_mb_rao},
  671.                                     {"e",PY_mb_re},
  672.                                     {"en",PY_mb_ren},
  673.                                     {"eng",PY_mb_reng},
  674.                                     {"i",PY_mb_ri},
  675.                                     {"ong",PY_mb_rong},
  676.                                     {"ou",PY_mb_rou},
  677.                                     {"u",PY_mb_ru},
  678.                                     {"uan",PY_mb_ruan},
  679.                                     {"ui",PY_mb_rui},
  680.                                     {"un",PY_mb_run},
  681.                                     {"uo",PY_mb_ruo}};
  682. struct PY_index code PY_index_s[]={{"a",PY_mb_sa},
  683.                                     {"ai",PY_mb_sai},
  684.                                     {"an",PY_mb_san},
  685.                                     {"ang",PY_mb_sang},
  686.                                     {"ao",PY_mb_sao},
  687.                                     {"e",PY_mb_se},
  688.                                     {"en",PY_mb_sen},
  689.                                     {"eng",PY_mb_seng},
  690.                                     {"ha",PY_mb_sha},
  691.                                     {"hai",PY_mb_shai},
  692.                                     {"han",PY_mb_shan},
  693.                                     {"hang ",PY_mb_shang},
  694.                                     {"hao",PY_mb_shao},
  695.                                     {"he",PY_mb_she},
  696.                                     {"hen",PY_mb_shen},
  697.                                     {"heng",PY_mb_sheng},
  698.                                     {"hi",PY_mb_shi},
  699.                                     {"hou",PY_mb_shou},
  700.                                     {"hu",PY_mb_shu},
  701.                                     {"hua",PY_mb_shua},
  702.                                     {"huai",PY_mb_shuai},
  703.                                     {"huan",PY_mb_shuan},
  704.                                     {"huang",PY_mb_shuang},
  705.                                     {"hui",PY_mb_shui},
  706.                                     {"hun",PY_mb_shun},
  707.                                     {"huo",PY_mb_shuo},
  708.                                     {"i",PY_mb_si},
  709.                                     {"ong",PY_mb_song},
  710.                                     {"ou",PY_mb_sou},
  711.                                     {"u",PY_mb_su},
  712.                                     {"uan",PY_mb_suan},
  713.                                     {"ui",PY_mb_sui},
  714.                                     {"un",PY_mb_sun},
  715.                                     {"uo",PY_mb_suo}};
  716. struct PY_index code PY_index_t[]={{"a",PY_mb_ta},
  717.                                     {"ai",PY_mb_tai},
  718.                                     {"an",PY_mb_tan},
  719.                                     {"ang",PY_mb_tang},
  720.                                     {"ao",PY_mb_tao},
  721.                                     {"e",PY_mb_te},
  722.                                     {"eng",PY_mb_teng},
  723.                                     {"i",PY_mb_ti},
  724.                                     {"ian",PY_mb_tian},
  725.                                     {"iao",PY_mb_tiao},
  726.                                     {"ie",PY_mb_tie},
  727.                                     {"ing",PY_mb_ting},
  728.                                     {"ong",PY_mb_tong},
  729.                                     {"ou",PY_mb_tou},
  730.                                     {"u",PY_mb_tu},
  731.                                     {"uan",PY_mb_tuan},
  732.                                     {"ui",PY_mb_tui},
  733.                                     {"un",PY_mb_tun},
  734.                                     {"uo",PY_mb_tuo}};
  735. struct PY_index code PY_index_u[]={{"",PY_mb_space}};
  736. struct PY_index code PY_index_v[]={{"",PY_mb_space}};
  737. struct PY_index code PY_index_w[]={{"a",PY_mb_wa},
  738.                                     {"ai",PY_mb_wai},
  739.                                     {"an",PY_mb_wan},
  740.                                     {"ang",PY_mb_wang},
  741.                                     {"ei",PY_mb_wei},
  742.                                     {"en",PY_mb_wen},
  743.                                     {"eng",PY_mb_weng},
  744.                                     {"o",PY_mb_wo},
  745.                                     {"u",PY_mb_wu}};
  746. struct PY_index code PY_index_x[]={{"i",PY_mb_xi},
  747.                                     {"ia",PY_mb_xia},
  748.                                     {"ian",PY_mb_xiao},
  749.                                     {"iang",PY_mb_xiang},
  750.                                     {"iao",PY_mb_xiao},
  751.                                     {"ie",PY_mb_xie},
  752.                                     {"in",PY_mb_xin},
  753.                                     {"ing",PY_mb_xing},
  754.                                     {"iong",PY_mb_xiong},
  755.                                     {"iu",PY_mb_xiu},
  756.                                     {"u",PY_mb_xu},
  757.                                     {"uan",PY_mb_xuan},
  758.                                     {"ue",PY_mb_xue},
  759.                                     {"un",PY_mb_xun}};
  760. struct PY_index code PY_index_y[]={{"a",PY_mb_ya},
  761.                                     {"an",PY_mb_yan},
  762.                                     {"ang",PY_mb_yang},
  763.                                     {"ao",PY_mb_yao},
  764.                                     {"e",PY_mb_ye},
  765.                                     {"i",PY_mb_yi},
  766.                                     {"in",PY_mb_yin},
  767.                                     {"ing",PY_mb_ying},
  768.                                     {"o",PY_mb_yo},
  769.                                     {"ong",PY_mb_yong},
  770.                                     {"ou",PY_mb_you},
  771.                                     {"u",PY_mb_yu},
  772.                                     {"uan",PY_mb_yuan},
  773.                                     {"ue",PY_mb_yue},
  774.                                     {"un",PY_mb_yun}};
  775. struct PY_index code PY_index_z[]={{"a",PY_mb_za},
  776.                                     {"ai",PY_mb_zai},
  777.                                     {"an",PY_mb_zan},
  778.                                     {"ang",PY_mb_zang},
  779.                                     {"ao",PY_mb_zao},
  780.                                     {"e",PY_mb_ze},
  781.                                     {"ei",PY_mb_zei},
  782.                                     {"en",PY_mb_zen},
  783.                                     {"eng",PY_mb_zeng},
  784.                                     {"ha",PY_mb_zha},
  785.                                     {"hai",PY_mb_zhai},
  786.                                     {"han",PY_mb_zhan},
  787.                                     {"hang",PY_mb_zhang},
  788.                                     {"hao",PY_mb_zhao},
  789.                                     {"he",PY_mb_zhe},
  790.                                     {"hen",PY_mb_zhen},
  791.                                     {"heng",PY_mb_zheng},
  792.                                     {"hi",PY_mb_zhi},
  793.                                     {"hong",PY_mb_zhong},
  794.                                     {"hou",PY_mb_zhou},
  795.                                     {"hu",PY_mb_zhu},
  796.                                     {"hua",PY_mb_zhua},
  797.                                     {"huai",PY_mb_zhuai},
  798.                                     {"huan",PY_mb_zhuan},
  799.                                     {"huang",PY_mb_zhuang},
  800.                                     {"hui",PY_mb_zhui},
  801.                                     {"hun",PY_mb_zhun},
  802.                                     {"huo",PY_mb_zhuo},
  803.                                     {"i",PY_mb_zi},
  804.                                     {"ong",PY_mb_zong},
  805.                                     {"ou",PY_mb_zou},
  806.                                     {"u",PY_mb_zu},
  807.                                     {"uan",PY_mb_zuan},
  808.                                     {"ui",PY_mb_zui},
  809.                                     {"un",PY_mb_zun},
  810.                                     {"uo",PY_mb_zuo}};
  811. struct PY_index code PY_index_end[]={"",PY_mb_space};
  812. /*定义首字母索引表*/
  813. struct PY_index code *PY_index_headletter[]={PY_index_a,
  814.                                             PY_index_b,
  815.                                             PY_index_c,
  816.                                             PY_index_d,
  817.                                             PY_index_e,
  818.                                             PY_index_f,
  819.                                             PY_index_g,
  820.                                             PY_index_h,
  821.                                             PY_index_i,
  822.                                             PY_index_j,
  823.                                             PY_index_k,
  824.                                             PY_index_l,
  825.                                             PY_index_m,
  826.                                             PY_index_n,
  827.                                             PY_index_o,
  828.                                             PY_index_p,
  829.                                             PY_index_q,
  830.                                             PY_index_r,
  831.                                             PY_index_s,
  832.                                             PY_index_t,
  833.                                             PY_index_u,
  834.                                             PY_index_v,
  835.                                             PY_index_w,
  836.                                             PY_index_x,
  837.                                             PY_index_y,
  838.                                             PY_index_z,
  839.                                             PY_index_end};
  840. char * py_ime(char *strInput_py_str)
  841. {
  842.     struct PY_index *cpHZ,*cpHZedge;
  843.     char i,cInputStrLength;
  844.     cInputStrLength=strlen(strInput_py_str);    /*输入拼音串长度*/
  845.     if(*strInput_py_str=='')return("");       /*如果输入空字符返回0*/
  846.     for(i=0;i<cInputStrLength;i++)
  847.         *(strInput_py_str+i)|=0x20;             /*将字母串转为小写*/
  848.     if(*strInput_py_str=='i')return("");        /*错误拼音输入*/
  849.     if(*strInput_py_str=='u')return("");
  850.     if(*strInput_py_str=='v')return("");
  851.     cpHZ=PY_index_headletter[strInput_py_str[0]-'a'];        /*查首字母索引*/
  852.     cpHZedge=PY_index_headletter[strInput_py_str[0]-'a'+1];  /*设置指针界限*/
  853.     strInput_py_str++;                           /*指向拼音串第二个字母*/
  854.     while(cpHZ<cpHZedge)                         /*索引表不超界*/
  855.     {
  856.         for(i=0;i<cInputStrLength;i++)
  857.         {
  858.             if(*(strInput_py_str+i)!=*((*cpHZ).PY+i))break;    /*发现字母串不配,退出*/
  859.         }
  860.         if(i==cInputStrLength)        /*字母串全配*/
  861.         {
  862.             return (*cpHZ).PY_mb;
  863.         }
  864.         cpHZ++;
  865.     }
  866.     return "";                      /*无果而终*/
  867. }