此文章是vip文章,如何查看?  

1,点击链接获取密钥 http://nicethemes.cn/product/view29882.html

2,在下方输入文章查看密钥即可立即查看当前vip文章


拼音输入法实现

  • 时间:
  • 浏览:
  • 来源:互联网


拼音输入法实现:

#include<stdio.h> 
#include<string.h> 
#include<stdio.h> 

struct PY_index 
{ 
    char *PY; 
    char *PY_mb; 
}; 

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

/*"拼音输入法查询码表,二级字母索引表(index)"*/ 
struct PY_index  PY_index_a[]={{"",PY_mb_a}, 
                                    {"i",PY_mb_ai}, 
                                    {"n",PY_mb_an}, 
                                    {"ng",PY_mb_ang}, 
                                    {"o",PY_mb_ao}}; 
struct PY_index  PY_index_b[]={{"a",PY_mb_ba}, 
                                    {"ai",PY_mb_bai}, 
                                    {"an",PY_mb_ban}, 
                                    {"ang",PY_mb_bang}, 
                                    {"ao",PY_mb_bao}, 
                                    {"ei",PY_mb_bei}, 
                                    {"en",PY_mb_ben}, 
                                    {"eng",PY_mb_beng}, 
                                    {"i",PY_mb_bi}, 
                                    {"ian",PY_mb_bian}, 
                                    {"iao",PY_mb_biao}, 
                                    {"ie",PY_mb_bie}, 
                                    {"in",PY_mb_bin}, 
                                    {"ing",PY_mb_bing}, 
                                    {"o",PY_mb_bo}, 
                                    {"u",PY_mb_bu}}; 
struct PY_index  PY_index_c[]={{"a",PY_mb_ca}, 
                                    {"ai",PY_mb_cai}, 
                                    {"an",PY_mb_can}, 
                                    {"ang",PY_mb_cang}, 
                                    {"ao",PY_mb_cao}, 
                                    {"e",PY_mb_ce}, 
                                    {"eng",PY_mb_ceng}, 
                                    {"ha",PY_mb_cha}, 
                                    {"hai",PY_mb_chai}, 
                                    {"han",PY_mb_chan}, 
                                    {"hang",PY_mb_chang}, 
                                    {"hao",PY_mb_chao}, 
                                    {"he",PY_mb_che}, 
                                    {"hen",PY_mb_chen}, 
                                    {"heng",PY_mb_cheng}, 
                                    {"hi",PY_mb_chi}, 
                                    {"hong",PY_mb_chong}, 
                                    {"hou",PY_mb_chou}, 
                                    {"hu",PY_mb_chu}, 
                                    {"huai",PY_mb_chuai}, 
                                    {"huan",PY_mb_chuan}, 
                                    {"huang",PY_mb_chuang}, 
                                    {"hui",PY_mb_chui}, 
                                    {"hun",PY_mb_chun}, 
                                    {"huo",PY_mb_chuo}, 
                                    {"i",PY_mb_ci}, 
                                    {"ong",PY_mb_cong}, 
                                    {"ou",PY_mb_cou}, 
                                    {"u",PY_mb_cu}, 
                                    {"uan",PY_mb_cuan}, 
                                    {"ui",PY_mb_cui}, 
                                    {"un",PY_mb_cun}, 
                                    {"uo",PY_mb_cuo}}; 
struct PY_index  PY_index_d[]={{"a   ",PY_mb_da}, 
                                    {"ai",PY_mb_dai}, 
                                    {"an",PY_mb_dan}, 
                                    {"ang",PY_mb_dang}, 
                                    {"ao",PY_mb_dao}, 
                                    {"e",PY_mb_de}, 
                                    {"eng",PY_mb_deng}, 
                                    {"i",PY_mb_di}, 
                                    {"ian",PY_mb_dian}, 
                                    {"iao",PY_mb_diao}, 
                                    {"ie",PY_mb_die}, 
                                    {"ing",PY_mb_ding}, 
                                    {"iu",PY_mb_diu}, 
                                    {"ong",PY_mb_dong}, 
                                    {"ou",PY_mb_dou}, 
                                    {"u",PY_mb_du}, 
                                    {"uan",PY_mb_duan}, 
                                    {"ui",PY_mb_dui}, 
                                    {"un",PY_mb_dun}, 
                                    {"uo",PY_mb_duo}}; 
struct PY_index  PY_index_e[]={{"",PY_mb_e}, 
                                    {"n",PY_mb_en}, 
                                    {"r",PY_mb_er}}; 
struct PY_index  PY_index_f[]={{"a",PY_mb_fa}, 
                                    {"an",PY_mb_fan}, 
                                    {"ang",PY_mb_fang}, 
                                    {"ei",PY_mb_fei}, 
                                    {"en",PY_mb_fen}, 
                                    {"eng",PY_mb_feng}, 
                                    {"o",PY_mb_fo}, 
                                    {"ou",PY_mb_fou}, 
                                    {"u",PY_mb_fu}}; 
struct PY_index  PY_index_g[]={{"a",PY_mb_ga}, 
                                    {"ai",PY_mb_gai}, 
                                    {"an",PY_mb_gan}, 
                                    {"ang",PY_mb_gang}, 
                                    {"ao",PY_mb_gao}, 
                                    {"e",PY_mb_ge}, 
                                    {"ei",PY_mb_gei}, 
                                    {"en",PY_mb_gan}, 
                                    {"eng",PY_mb_geng}, 
                                    {"ong",PY_mb_gong}, 
                                    {"ou",PY_mb_gou}, 
                                    {"u",PY_mb_gu}, 
                                    {"ua",PY_mb_gua}, 
                                    {"uai",PY_mb_guai}, 
                                    {"uan",PY_mb_guan}, 
                                    {"uang",PY_mb_guang}, 
                                    {"ui",PY_mb_gui}, 
                                    {"un",PY_mb_gun}, 
                                    {"uo",PY_mb_guo}}; 
struct PY_index  PY_index_h[]={{"a",PY_mb_ha}, 
                                    {"ai",PY_mb_hai}, 
                                    {"an",PY_mb_han}, 
                                    {"ang",PY_mb_hang}, 
                                    {"ao",PY_mb_hao}, 
                                    {"e",PY_mb_he}, 
                                    {"ei",PY_mb_hei}, 
                                    {"en",PY_mb_hen}, 
                                    {"eng",PY_mb_heng}, 
                                    {"ong",PY_mb_hong}, 
                                    {"ou",PY_mb_hou}, 
                                    {"u",PY_mb_hu}, 
                                    {"ua",PY_mb_hua}, 
                                    {"uai",PY_mb_huai}, 
                                    {"uan",PY_mb_huan}, 
                                    {"uang ",PY_mb_huang}, 
                                    {"ui",PY_mb_hui}, 
                                    {"un",PY_mb_hun}, 
                                    {"uo",PY_mb_huo}}; 
struct PY_index  PY_index_i[]={"",PY_mb_space}; 
struct PY_index  PY_index_j[]={{"i",PY_mb_ji}, 
                                    {"ia",PY_mb_jia}, 
                                    {"ian",PY_mb_jian}, 
                                    {"iang",PY_mb_jiang}, 
                                    {"iao",PY_mb_jiao}, 
                                    {"ie",PY_mb_jie}, 
                                    {"in",PY_mb_jin}, 
                                    {"ing",PY_mb_jing}, 
                                    {"iong",PY_mb_jiong}, 
                                    {"iu",PY_mb_jiu}, 
                                    {"u",PY_mb_ju}, 
                                    {"uan",PY_mb_juan}, 
                                    {"ue",PY_mb_jue}, 
                                    {"un",PY_mb_jun}}; 
struct PY_index  PY_index_k[]={{"a",PY_mb_ka}, 
                                    {"ai",PY_mb_kai}, 
                                    {"an",PY_mb_kan}, 
                                    {"ang",PY_mb_kang}, 
                                    {"ao",PY_mb_kao}, 
                                    {"e",PY_mb_ke}, 
                                    {"en",PY_mb_ken}, 
                                    {"eng",PY_mb_keng}, 
                                    {"ong",PY_mb_kong}, 
                                    {"ou",PY_mb_kou}, 
                                    {"u",PY_mb_ku}, 
                                    {"ua",PY_mb_kua}, 
                                    {"uai",PY_mb_kuai}, 
                                    {"uan",PY_mb_kuan}, 
                                    {"uang",PY_mb_kuang}, 
                                    {"ui",PY_mb_kui}, 
                                    {"un",PY_mb_kun}, 
                                    {"uo",PY_mb_kuo}}; 
struct PY_index  PY_index_l[]={{"a",PY_mb_la}, 
                                    {"ai",PY_mb_lai}, 
                                    {"an",PY_mb_lan}, 
                                    {"ang",PY_mb_lang}, 
                                    {"ao",PY_mb_lao}, 
                                    {"e",PY_mb_le}, 
                                    {"ei",PY_mb_lei}, 
                                    {"eng",PY_mb_leng}, 
                                    {"i",PY_mb_li}, 
                                    {"ian",PY_mb_lian}, 
                                    {"iang",PY_mb_liang}, 
                                    {"iao",PY_mb_liao}, 
                                    {"ie",PY_mb_lie}, 
                                    {"in",PY_mb_lin}, 
                                    {"ing",PY_mb_ling}, 
                                    {"iu",PY_mb_liu}, 
                                    {"ong",PY_mb_long}, 
                                    {"ou",PY_mb_lou}, 
                                    {"u",PY_mb_lu}, 
                                    {"uan",PY_mb_luan}, 
                                    {"ue",PY_mb_lue}, 
                                    {"un",PY_mb_lun}, 
                                    {"uo",PY_mb_luo}, 
                                    {"v",PY_mb_lv}}; 
struct PY_index  PY_index_m[]={{"a",PY_mb_ma}, 
                                    {"ai",PY_mb_mai}, 
                                    {"an",PY_mb_man}, 
                                    {"ang",PY_mb_mang}, 
                                    {"ao",PY_mb_mao}, 
                                    {"e",PY_mb_me}, 
                                    {"ei",PY_mb_mei}, 
                                    {"en",PY_mb_men}, 
                                    {"eng",PY_mb_meng}, 
                                    {"i",PY_mb_mi}, 
                                    {"ian",PY_mb_mian}, 
                                    {"iao",PY_mb_miao}, 
                                    {"ie",PY_mb_mie}, 
                                    {"in",PY_mb_min}, 
                                    {"ing",PY_mb_ming}, 
                                    {"iu",PY_mb_miu}, 
                                    {"o",PY_mb_mo}, 
                                    {"ou",PY_mb_mou}, 
                                    {"u",PY_mb_mu}}; 
struct PY_index  PY_index_n[]={{"a",PY_mb_na}, 
                                    {"ai",PY_mb_nai}, 
                                    {"an",PY_mb_nan}, 
                                    {"ang",PY_mb_nang}, 
                                    {"ao",PY_mb_nao}, 
                                    {"e",PY_mb_ne}, 
                                    {"ei",PY_mb_nei}, 
                                    {"en",PY_mb_nen}, 
                                    {"eng",PY_mb_neng}, 
                                    {"i",PY_mb_ni}, 
                                    {"ian",PY_mb_nian}, 
                                    {"iang",PY_mb_niang}, 
                                    {"iao",PY_mb_niao}, 
                                    {"ie",PY_mb_nie}, 
                                    {"in",PY_mb_nin}, 
                                    {"ing",PY_mb_ning}, 
                                    {"iu",PY_mb_niu}, 
                                    {"ong",PY_mb_nong}, 
                                    {"u",PY_mb_nu}, 
                                    {"uan",PY_mb_nuan}, 
                                    {"ue",PY_mb_nue}, 
                                    {"uo",PY_mb_nuo}, 
                                    {"v",PY_mb_nv}}; 
struct PY_index  PY_index_o[]={{"",PY_mb_o}, 
                                    {"u",PY_mb_ou}}; 
struct PY_index  PY_index_p[]={{"a",PY_mb_pa}, 
                                    {"ai",PY_mb_pai}, 
                                    {"an",PY_mb_pan}, 
                                    {"ang",PY_mb_pang}, 
                                    {"ao",PY_mb_pao}, 
                                    {"ei",PY_mb_pei}, 
                                    {"en",PY_mb_pen}, 
                                    {"eng",PY_mb_peng}, 
                                    {"i",PY_mb_pi}, 
                                    {"ian",PY_mb_pian}, 
                                    {"iao",PY_mb_piao}, 
                                    {"ie",PY_mb_pie}, 
                                    {"in",PY_mb_pin}, 
                                    {"ing",PY_mb_ping}, 
                                    {"o",PY_mb_po}, 
                                    {"ou",PY_mb_pou}, 
                                    {"u",PY_mb_pu}}; 
struct PY_index  PY_index_q[]={{"i",PY_mb_qi}, 
                                    {"ia",PY_mb_qia}, 
                                    {"ian",PY_mb_qian}, 
                                    {"iang",PY_mb_qiang}, 
                                    {"iao",PY_mb_qiao}, 
                                    {"ie",PY_mb_qie}, 
                                    {"in",PY_mb_qin}, 
                                    {"ing",PY_mb_qing}, 
                                    {"iong",PY_mb_qiong}, 
                                    {"iu",PY_mb_qiu}, 
                                    {"u",PY_mb_qu}, 
                                    {"uan",PY_mb_quan}, 
                                    {"ue",PY_mb_que}, 
                                    {"un",PY_mb_qun}}; 
struct PY_index  PY_index_r[]={{"an",PY_mb_ran}, 
                                    {"ang",PY_mb_rang}, 
                                    {"ao",PY_mb_rao}, 
                                    {"e",PY_mb_re}, 
                                    {"en",PY_mb_ren}, 
                                    {"eng",PY_mb_reng}, 
                                    {"i",PY_mb_ri}, 
                                    {"ong",PY_mb_rong}, 
                                    {"ou",PY_mb_rou}, 
                                    {"u",PY_mb_ru}, 
                                    {"uan",PY_mb_ruan}, 
                                    {"ui",PY_mb_rui}, 
                                    {"un",PY_mb_run}, 
                                    {"uo",PY_mb_ruo}}; 
struct PY_index  PY_index_s[]={{"a",PY_mb_sa}, 
                                    {"ai",PY_mb_sai}, 
                                    {"an",PY_mb_san}, 
                                    {"ang",PY_mb_sang}, 
                                    {"ao",PY_mb_sao}, 
                                    {"e",PY_mb_se}, 
                                    {"en",PY_mb_sen}, 
                                    {"eng",PY_mb_seng}, 
                                    {"ha",PY_mb_sha}, 
                                    {"hai",PY_mb_shai}, 
                                    {"han",PY_mb_shan}, 
                                    {"hang ",PY_mb_shang}, 
                                    {"hao",PY_mb_shao}, 
                                    {"he",PY_mb_she}, 
                                    {"hen",PY_mb_shen}, 
                                    {"heng",PY_mb_sheng}, 
                                    {"hi",PY_mb_shi}, 
                                    {"hou",PY_mb_shou}, 
                                    {"hu",PY_mb_shu}, 
                                    {"hua",PY_mb_shua}, 
                                    {"huai",PY_mb_shuai}, 
                                    {"huan",PY_mb_shuan}, 
                                    {"huang",PY_mb_shuang}, 
                                    {"hui",PY_mb_shui}, 
                                    {"hun",PY_mb_shun}, 
                                    {"huo",PY_mb_shuo}, 
                                    {"i",PY_mb_si}, 
                                    {"ong",PY_mb_song}, 
                                    {"ou",PY_mb_sou}, 
                                    {"u",PY_mb_su}, 
                                    {"uan",PY_mb_suan}, 
                                    {"ui",PY_mb_sui}, 
                                    {"un",PY_mb_sun}, 
                                    {"uo",PY_mb_suo}}; 
struct PY_index  PY_index_t[]={{"a",PY_mb_ta}, 
                                    {"ai",PY_mb_tai}, 
                                    {"an",PY_mb_tan}, 
                                    {"ang",PY_mb_tang}, 
                                    {"ao",PY_mb_tao}, 
                                    {"e",PY_mb_te}, 
                                    {"eng",PY_mb_teng}, 
                                    {"i",PY_mb_ti}, 
                                    {"ian",PY_mb_tian}, 
                                    {"iao",PY_mb_tiao}, 
                                    {"ie",PY_mb_tie}, 
                                    {"ing",PY_mb_ting}, 
                                    {"ong",PY_mb_tong}, 
                                    {"ou",PY_mb_tou}, 
                                    {"u",PY_mb_tu}, 
                                    {"uan",PY_mb_tuan}, 
                                    {"ui",PY_mb_tui}, 
                                    {"un",PY_mb_tun}, 
                                    {"uo",PY_mb_tuo}}; 
struct PY_index  PY_index_u[]={{"",PY_mb_space}}; 
struct PY_index  PY_index_v[]={{"",PY_mb_space}}; 
struct PY_index  PY_index_w[]={{"a",PY_mb_wa}, 
                                    {"ai",PY_mb_wai}, 
                                    {"an",PY_mb_wan}, 
                                    {"ang",PY_mb_wang}, 
                                    {"ei",PY_mb_wei}, 
                                    {"en",PY_mb_wen}, 
                                    {"eng",PY_mb_weng}, 
                                    {"o",PY_mb_wo}, 
                                    {"u",PY_mb_wu}}; 
struct PY_index  PY_index_x[]={{"i",PY_mb_xi}, 
                                    {"ia",PY_mb_xia}, 
                                    {"ian",PY_mb_xiao}, 
                                    {"iang",PY_mb_xiang}, 
                                    {"iao",PY_mb_xiao}, 
                                    {"ie",PY_mb_xie}, 
                                    {"in",PY_mb_xin}, 
                                    {"ing",PY_mb_xing}, 
                                    {"iong",PY_mb_xiong}, 
                                    {"iu",PY_mb_xiu}, 
                                    {"u",PY_mb_xu}, 
                                    {"uan",PY_mb_xuan}, 
                                    {"ue",PY_mb_xue}, 
                                    {"un",PY_mb_xun}}; 
struct PY_index  PY_index_y[]={{"a",PY_mb_ya}, 
                                    {"an",PY_mb_yan}, 
                                    {"ang",PY_mb_yang}, 
                                    {"ao",PY_mb_yao}, 
                                    {"e",PY_mb_ye}, 
                                    {"i",PY_mb_yi}, 
                                    {"in",PY_mb_yin}, 
                                    {"ing",PY_mb_ying}, 
                                    {"o",PY_mb_yo}, 
                                    {"ong",PY_mb_yong}, 
                                    {"ou",PY_mb_you}, 
                                    {"u",PY_mb_yu}, 
                                    {"uan",PY_mb_yuan}, 
                                    {"ue",PY_mb_yue}, 
                                    {"un",PY_mb_yun}}; 
struct PY_index  PY_index_z[]={{"a",PY_mb_za}, 
                                    {"ai",PY_mb_zai}, 
                                    {"an",PY_mb_zan}, 
                                    {"ang",PY_mb_zang}, 
                                    {"ao",PY_mb_zao}, 
                                    {"e",PY_mb_ze}, 
                                    {"ei",PY_mb_zei}, 
                                    {"en",PY_mb_zen}, 
                                    {"eng",PY_mb_zeng}, 
                                    {"ha",PY_mb_zha}, 
                                    {"hai",PY_mb_zhai}, 
                                    {"han",PY_mb_zhan}, 
                                    {"hang",PY_mb_zhang}, 
                                    {"hao",PY_mb_zhao}, 
                                    {"he",PY_mb_zhe}, 
                                    {"hen",PY_mb_zhen}, 
                                    {"heng",PY_mb_zheng}, 
                                    {"hi",PY_mb_zhi}, 
                                    {"hong",PY_mb_zhong}, 
                                    {"hou",PY_mb_zhou}, 
                                    {"hu",PY_mb_zhu}, 
                                    {"hua",PY_mb_zhua}, 
                                    {"huai",PY_mb_zhuai}, 
                                    {"huan",PY_mb_zhuan}, 
                                    {"huang",PY_mb_zhuang}, 
                                    {"hui",PY_mb_zhui}, 
                                    {"hun",PY_mb_zhun}, 
                                    {"huo",PY_mb_zhuo}, 
                                    {"i",PY_mb_zi}, 
                                    {"ong",PY_mb_zong}, 
                                    {"ou",PY_mb_zou}, 
                                    {"u",PY_mb_zu}, 
                                    {"uan",PY_mb_zuan}, 
                                    {"ui",PY_mb_zui}, 
                                    {"un",PY_mb_zun}, 
                                    {"uo",PY_mb_zuo}}; 
struct PY_index  PY_index_end[]={"",PY_mb_space}; 

/*定义首字母索引表*/ 
struct PY_index *PY_index_headletter[]={PY_index_a, 
                                            PY_index_b, 
                                            PY_index_c, 
                                            PY_index_d, 
                                            PY_index_e, 
                                            PY_index_f, 
                                            PY_index_g, 
                                            PY_index_h, 
                                            PY_index_i, 
                                            PY_index_j, 
                                            PY_index_k, 
                                            PY_index_l, 
                                            PY_index_m, 
                                            PY_index_n, 
                                            PY_index_o, 
                                            PY_index_p, 
                                            PY_index_q, 
                                            PY_index_r, 
                                            PY_index_s, 
                                            PY_index_t, 
                                            PY_index_u, 
                                            PY_index_v, 
                                            PY_index_w, 
                                            PY_index_x, 
                                            PY_index_y, 
                                            PY_index_z, 
                                            PY_index_end}; 

char * py_ime(char *strInput_py_str) 
{ 
    struct PY_index *cpHZ,*cpHZedge; 
    char i,cInputStrLength; 

    cInputStrLength=strlen(strInput_py_str);    /*输入拼音串长度*/ 
    if(*strInput_py_str=='\0') return("");       /*如果输入空字符返回0*/ 

    for(i=0;i<cInputStrLength;i++) 
        *(strInput_py_str+i)|=0x20;             /*将字母串转为小写*/ 

    if(*strInput_py_str=='i') return("");        /*错误拼音输入*/ 
    if(*strInput_py_str=='u') return(""); 
    if(*strInput_py_str=='v') return(""); 

    cpHZ=PY_index_headletter[strInput_py_str[0]-'a'];        /*查首字母索引*/ 
    cpHZedge=PY_index_headletter[strInput_py_str[0]-'a'+1];  /*设置指针界限*/ 

    strInput_py_str++;                           /*指向拼音串第二个字母*/ 
    while(cpHZ<cpHZedge)                         /*索引表不超界*/ 
    { 
        for(i=0;i<cInputStrLength;i++) 
        { 
            if(*(strInput_py_str+i)!=*((*cpHZ).PY+i)) 
            	break;    /*发现字母串不配,退出*/ 
        } 
        if(i==cInputStrLength)        /*字母串全配*/ 
        { 
            return (*cpHZ).PY_mb; 
        } 
        cpHZ++; 
    } 
    return "";                      /*无果而终*/ 
} 




int main(int argc, char **argv) 
{ 
	//char input_string[]="yI"; 
	char chinese_string[255]; 
		
	printf("in %s \n", argv[1]);
	while(1) 
	{ 
		
		sprintf(chinese_string,"%s",py_ime(argv[1])); 
		printf("%s \n", chinese_string);
		sleep(3);
	} 
	return 0;
} 


本文链接http://element-ui.cn/news/show-577206.aspx