智能拼音输入法编程源码
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
char PY_mb_gua[] ={"瓜刮剐寡挂褂"};
char PY_mb_guai[] ={"乖拐怪"};
char PY_mb_guan[] ={"关观官冠棺馆管贯惯灌罐"};
char PY_mb_guang[] ={"光广逛"};
char PY_mb_gui[] ={"归圭龟规闺硅瑰轨诡癸鬼刽柜贵桂跪"};
char PY_mb_deng[] ={"灯登蹬等邓凳瞪"};
char PY_mb_di[] ={"低堤滴狄迪敌涤笛嫡底抵地弟帝递第缔蒂"};
char PY_mb_dian[] ={"掂滇颠典点碘电佃甸店垫惦淀奠殿靛"};
char PY_mb_diao[] ={"刁叼凋碉雕吊钓掉"};
*
pyInput.c - 拼音输入法模块
*/
#include <string.h>
#include <stdio.h>
struct PY_index
{
char *PY;
char *PY_mb;
};
/* "拼音输入法汉字排列表,码表(mb)" */
char PY_mb_a[] ={"阿啊"};
char PY_mb_e[] ={"讹俄娥峨鹅蛾额厄扼恶饿鄂遏"};
char PY_mb_en[] ={"恩"};
char PY_mb_er[] ={"儿而尔耳洱饵二贰"};
char PY_mb_fa[] ={"发乏伐罚阀筏法珐"};
char PY_mb_fan[] ={"帆番翻藩凡矾钒烦樊繁反返犯泛饭范贩"};
char PY_mb_chun[] ={"春椿纯唇淳醇蠢"};
char PY_mb_chuo[] ={"戳"};
char PY_mb_ci[] ={"疵词茨瓷慈辞磁雌此次刺赐"};
char PY_mb_cong[] ={"囱从匆葱聪丛"};
char PY_mb_cou[] ={"凑"};
char PY_mb_jiu[] ={"纠究揪九久灸玖韭酒旧臼咎疚厩救就舅"};
char PY_mb_ju[] ={"居拘狙驹疽鞠局桔菊咀沮举矩句巨拒具炬俱剧惧据距锯聚踞"};
char PY_mb_juan[] ={"娟捐鹃卷倦绢眷"};
char PY_mb_jue[] ={"撅决诀抉绝倔掘爵攫"};
char PY_mb_cao[] ={"操糙曹槽草"};
char PY_mb_ce[] ={"册侧厕测策"};
char PY_mb_ceng[] ={"层蹭曾"};
char PY_mb_cha[] ={"叉插查茬茶搽察碴岔诧差刹"};
char PY_mb_chai[] ={"拆柴豺"};
char PY_mb_jian[] ={"奸尖坚歼间肩艰兼监笺缄煎拣俭柬茧捡减剪检硷简碱见件建饯剑荐贱健涧舰渐溅践鉴键箭"};
char PY_mb_jiang[] ={"江姜将浆僵疆讲奖桨蒋匠降酱"};
char PY_mb_jiao[] ={"交郊娇浇骄胶椒焦蕉礁角狡绞饺矫脚铰搅剿缴叫轿较教窖酵觉嚼"};பைடு நூலகம்
char PY_mb_du[] ={"督毒读犊独堵赌睹妒杜肚度渡镀"};
char PY_mb_duan[] ={"端短段断缎锻"};
char PY_mb_dui[] ={"堆队对兑"};
char PY_mb_dun[] ={"吨敦墩蹲盾钝顿遁"};
char PY_mb_duo[] ={"多哆夺掇朵垛躲剁堕舵惰跺"};
char PY_mb_heng[] ={"亨哼恒横衡"};
char PY_mb_hong[] ={"轰哄烘弘红宏洪虹鸿"};
char PY_mb_hou[] ={"侯喉猴吼后厚候"};
char PY_mb_hu[] ={"乎呼忽弧狐胡壶湖葫瑚糊蝴虎唬互户护沪"};
char PY_mb_hua[] ={"花华哗滑猾化划画话"};
char PY_mb_fo[] ={"佛"};
char PY_mb_fou[] ={"否"};
char PY_mb_fu[] ={"夫肤孵敷弗伏扶拂服俘氟浮涪符袱幅福辐抚甫府斧俯釜辅腑腐父讣付妇负附咐阜复赴副傅富赋缚腹覆"};
char PY_mb_ga[] ={"嘎噶"};
char PY_mb_gai[] ={"该改钙盖溉概"};
char PY_mb_gun[] ={"辊滚棍"};
char PY_mb_guo[] ={"郭锅国果裹过"};
char PY_mb_ha[] ={"蛤哈"};
char PY_mb_hai[] ={"孩骸海亥骇害氦"};
char PY_mb_han[] ={"酣憨含邯函涵寒韩罕喊汉汗旱悍捍焊憾撼翰"};
char PY_mb_huai[] ={"怀徊淮槐坏"};
char PY_mb_huan[] ={"欢还环桓缓幻宦唤换涣患焕痪豢"};
char PY_mb_huang[] ={"荒慌皇凰黄惶煌蝗磺簧恍晃谎幌"};
char PY_mb_hui[] ={"灰恢挥辉徽回蛔悔卉汇会讳绘诲烩贿晦秽惠毁慧"};
char PY_mb_chan[] ={"掺搀谗馋缠蝉产铲阐颤"};
char PY_mb_chang[] ={"昌猖肠尝偿常厂场敞畅倡唱"};
char PY_mb_chao[] ={"抄钞超巢朝嘲潮吵炒绰"};
char PY_mb_che[] ={"车扯彻掣撤澈"};
char PY_mb_chen[] ={"郴尘臣忱沉辰陈晨衬趁"};
char PY_mb_bu[] ={"补哺捕不布步怖部埠簿"};
char PY_mb_ca[] ={"擦"};
char PY_mb_cai[] ={"猜才材财裁采彩睬踩菜蔡"};
char PY_mb_can[] ={"参餐残蚕惭惨灿"};
char PY_mb_cang[] ={"仓沧苍舱藏"};
char PY_mb_gen[] ={"根跟"};
char PY_mb_geng[] ={"更庚耕羹埂耿梗"};
char PY_mb_gong[] ={"工弓公功攻供宫恭躬龚巩汞拱共贡"};
char PY_mb_gou[] ={"勾沟钩狗苟构购垢够"};
char PY_mb_gu[] ={"估咕姑孤沽菇辜箍古谷股骨蛊鼓固故顾雇"};
char PY_mb_hun[] ={"昏荤婚浑魂混"};
char PY_mb_huo[] ={"豁活火伙或货获祸惑霍"};
char PY_mb_ji[] ={"讥击饥圾机肌鸡迹姬积基绩缉畸箕稽激及吉汲级即极急疾棘集嫉辑籍几己挤脊计记伎纪妓忌技际剂季既济继寂寄悸祭蓟冀藉"};
char PY_mb_jia[] ={"加夹佳枷家嘉荚颊甲贾钾价驾架假嫁稼挟"};
char PY_mb_hang[] ={"杭航行"};
char PY_mb_hao[] ={"毫豪嚎壕好郝号浩耗"};
char PY_mb_he[] ={"呵喝禾合何和河阂核荷涸盒菏贺褐赫鹤"};
char PY_mb_hei[] ={"黑嘿"};
char PY_mb_hen[] ={"痕很狠恨"};
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_biao[] ={"彪标膘表"};
char PY_mb_bie[] ={"憋鳖别瘪"};
char PY_mb_bin[] ={"宾彬斌滨濒摈"};
char PY_mb_bing[] ={"冰兵丙秉柄炳饼并病"};
char PY_mb_bo[] ={"拨波玻钵脖菠播伯驳帛泊勃铂舶博渤搏箔膊卜"};
char PY_mb_bai[] ={"白百佰柏摆败拜稗"};
char PY_mb_ban[] ={"扳班般颁斑搬板版办半伴扮拌绊瓣"};
char PY_mb_bang[] ={"邦帮梆绑榜膀蚌傍棒谤磅镑"};
char PY_mb_bao[] ={"包苞胞褒雹宝饱保堡报抱豹鲍暴爆剥薄瀑"};
char PY_mb_cheng[] ={"称撑成呈承诚城乘惩程澄橙逞骋秤"};
char PY_mb_chi[] ={"吃痴弛池驰迟持尺侈齿耻斥赤炽翅"};
char PY_mb_chong[] ={"充冲虫崇宠"};
char PY_mb_chou[] ={"抽仇绸畴愁稠筹酬踌丑瞅臭"};
char PY_mb_fang[] ={"方坊芳防妨房肪仿访纺放"};
char PY_mb_fei[] ={"飞非啡菲肥匪诽吠废沸肺费"};
char PY_mb_fen[] ={"分吩纷芬氛酚坟汾焚粉份奋忿愤粪"};
char PY_mb_feng[] ={"丰风枫封疯峰烽锋蜂冯逢缝讽凤奉"};
char PY_mb_bei[] ={"卑杯悲碑北贝狈备背钡倍被惫焙辈"};
char PY_mb_ben[] ={"奔本苯笨夯"};
char PY_mb_beng[] ={"崩绷甭泵迸蹦"};
char PY_mb_bi[] ={"逼鼻比彼笔鄙币必毕闭庇毖陛毙敝痹蓖弊碧蔽壁避臂"};
char PY_mb_bian[] ={"边编鞭贬扁卞便变遍辨辩辫"};
char PY_mb_gan[] ={"干甘杆肝柑竿秆赶敢感赣"};
char PY_mb_gang[] ={"冈刚岗纲肛缸钢港杠"};
char PY_mb_gao[] ={"皋羔高膏篙糕搞稿镐告"};
char PY_mb_ge[] ={"戈疙哥胳鸽割搁歌阁革格葛隔个各铬咯"};
char PY_mb_gei[] ={"给"};
char PY_mb_die[] ={"爹跌迭谍叠碟蝶"};
char PY_mb_ding[] ={"丁叮盯钉顶鼎订定锭"};
char PY_mb_diu[] ={"丢"};
char PY_mb_dong[] ={"东冬董懂动冻侗恫栋洞"};
char PY_mb_dou[] ={"都兜斗抖陡豆逗痘"};
char PY_mb_dai[] ={"呆歹傣代带待怠殆贷袋逮戴"};
char PY_mb_dan[] ={"丹单担耽郸胆掸旦但诞弹惮淡蛋氮"};
char PY_mb_dang[] ={"当挡党荡档"};
char PY_mb_dao[] ={"刀导岛倒捣祷蹈到悼盗道稻"};
char PY_mb_de[] ={"得德的"};
char PY_mb_jie[] ={"阶皆接秸揭街节劫杰洁结捷睫截竭姐解介戒芥届界疥诫借"};
char PY_mb_jin[] ={"巾今斤金津筋襟仅紧谨锦尽劲近进晋浸烬禁靳"};
char PY_mb_jing[] ={"京经茎荆惊晶睛粳兢精鲸井颈景警净径痉竞竟敬靖境静镜"};
char PY_mb_jiong[] ={"炯窘"};
char PY_mb_chu[] ={"出初除厨滁锄雏橱躇础储楚处搐触矗畜"};
char PY_mb_chuai[] ={"揣"};
char PY_mb_chuan[] ={"川穿传船椽喘串"};
char PY_mb_chuang[]={"闯疮窗床创"};
char PY_mb_chui[] ={"吹炊垂捶锤"};
char PY_mb_ai[] ={"哎哀唉埃挨皑癌矮蔼艾爱隘碍"};
char PY_mb_an[] ={"安氨鞍俺岸按案胺暗"};
char PY_mb_ang[] ={"肮昂盎"};
char PY_mb_ao[] ={"凹敖熬翱袄傲奥澳懊"};
char PY_mb_ba[] ={"八巴叭扒吧芭疤捌笆拔跋把靶坝爸罢霸"};
char PY_mb_guai[] ={"乖拐怪"};
char PY_mb_guan[] ={"关观官冠棺馆管贯惯灌罐"};
char PY_mb_guang[] ={"光广逛"};
char PY_mb_gui[] ={"归圭龟规闺硅瑰轨诡癸鬼刽柜贵桂跪"};
char PY_mb_deng[] ={"灯登蹬等邓凳瞪"};
char PY_mb_di[] ={"低堤滴狄迪敌涤笛嫡底抵地弟帝递第缔蒂"};
char PY_mb_dian[] ={"掂滇颠典点碘电佃甸店垫惦淀奠殿靛"};
char PY_mb_diao[] ={"刁叼凋碉雕吊钓掉"};
*
pyInput.c - 拼音输入法模块
*/
#include <string.h>
#include <stdio.h>
struct PY_index
{
char *PY;
char *PY_mb;
};
/* "拼音输入法汉字排列表,码表(mb)" */
char PY_mb_a[] ={"阿啊"};
char PY_mb_e[] ={"讹俄娥峨鹅蛾额厄扼恶饿鄂遏"};
char PY_mb_en[] ={"恩"};
char PY_mb_er[] ={"儿而尔耳洱饵二贰"};
char PY_mb_fa[] ={"发乏伐罚阀筏法珐"};
char PY_mb_fan[] ={"帆番翻藩凡矾钒烦樊繁反返犯泛饭范贩"};
char PY_mb_chun[] ={"春椿纯唇淳醇蠢"};
char PY_mb_chuo[] ={"戳"};
char PY_mb_ci[] ={"疵词茨瓷慈辞磁雌此次刺赐"};
char PY_mb_cong[] ={"囱从匆葱聪丛"};
char PY_mb_cou[] ={"凑"};
char PY_mb_jiu[] ={"纠究揪九久灸玖韭酒旧臼咎疚厩救就舅"};
char PY_mb_ju[] ={"居拘狙驹疽鞠局桔菊咀沮举矩句巨拒具炬俱剧惧据距锯聚踞"};
char PY_mb_juan[] ={"娟捐鹃卷倦绢眷"};
char PY_mb_jue[] ={"撅决诀抉绝倔掘爵攫"};
char PY_mb_cao[] ={"操糙曹槽草"};
char PY_mb_ce[] ={"册侧厕测策"};
char PY_mb_ceng[] ={"层蹭曾"};
char PY_mb_cha[] ={"叉插查茬茶搽察碴岔诧差刹"};
char PY_mb_chai[] ={"拆柴豺"};
char PY_mb_jian[] ={"奸尖坚歼间肩艰兼监笺缄煎拣俭柬茧捡减剪检硷简碱见件建饯剑荐贱健涧舰渐溅践鉴键箭"};
char PY_mb_jiang[] ={"江姜将浆僵疆讲奖桨蒋匠降酱"};
char PY_mb_jiao[] ={"交郊娇浇骄胶椒焦蕉礁角狡绞饺矫脚铰搅剿缴叫轿较教窖酵觉嚼"};பைடு நூலகம்
char PY_mb_du[] ={"督毒读犊独堵赌睹妒杜肚度渡镀"};
char PY_mb_duan[] ={"端短段断缎锻"};
char PY_mb_dui[] ={"堆队对兑"};
char PY_mb_dun[] ={"吨敦墩蹲盾钝顿遁"};
char PY_mb_duo[] ={"多哆夺掇朵垛躲剁堕舵惰跺"};
char PY_mb_heng[] ={"亨哼恒横衡"};
char PY_mb_hong[] ={"轰哄烘弘红宏洪虹鸿"};
char PY_mb_hou[] ={"侯喉猴吼后厚候"};
char PY_mb_hu[] ={"乎呼忽弧狐胡壶湖葫瑚糊蝴虎唬互户护沪"};
char PY_mb_hua[] ={"花华哗滑猾化划画话"};
char PY_mb_fo[] ={"佛"};
char PY_mb_fou[] ={"否"};
char PY_mb_fu[] ={"夫肤孵敷弗伏扶拂服俘氟浮涪符袱幅福辐抚甫府斧俯釜辅腑腐父讣付妇负附咐阜复赴副傅富赋缚腹覆"};
char PY_mb_ga[] ={"嘎噶"};
char PY_mb_gai[] ={"该改钙盖溉概"};
char PY_mb_gun[] ={"辊滚棍"};
char PY_mb_guo[] ={"郭锅国果裹过"};
char PY_mb_ha[] ={"蛤哈"};
char PY_mb_hai[] ={"孩骸海亥骇害氦"};
char PY_mb_han[] ={"酣憨含邯函涵寒韩罕喊汉汗旱悍捍焊憾撼翰"};
char PY_mb_huai[] ={"怀徊淮槐坏"};
char PY_mb_huan[] ={"欢还环桓缓幻宦唤换涣患焕痪豢"};
char PY_mb_huang[] ={"荒慌皇凰黄惶煌蝗磺簧恍晃谎幌"};
char PY_mb_hui[] ={"灰恢挥辉徽回蛔悔卉汇会讳绘诲烩贿晦秽惠毁慧"};
char PY_mb_chan[] ={"掺搀谗馋缠蝉产铲阐颤"};
char PY_mb_chang[] ={"昌猖肠尝偿常厂场敞畅倡唱"};
char PY_mb_chao[] ={"抄钞超巢朝嘲潮吵炒绰"};
char PY_mb_che[] ={"车扯彻掣撤澈"};
char PY_mb_chen[] ={"郴尘臣忱沉辰陈晨衬趁"};
char PY_mb_bu[] ={"补哺捕不布步怖部埠簿"};
char PY_mb_ca[] ={"擦"};
char PY_mb_cai[] ={"猜才材财裁采彩睬踩菜蔡"};
char PY_mb_can[] ={"参餐残蚕惭惨灿"};
char PY_mb_cang[] ={"仓沧苍舱藏"};
char PY_mb_gen[] ={"根跟"};
char PY_mb_geng[] ={"更庚耕羹埂耿梗"};
char PY_mb_gong[] ={"工弓公功攻供宫恭躬龚巩汞拱共贡"};
char PY_mb_gou[] ={"勾沟钩狗苟构购垢够"};
char PY_mb_gu[] ={"估咕姑孤沽菇辜箍古谷股骨蛊鼓固故顾雇"};
char PY_mb_hun[] ={"昏荤婚浑魂混"};
char PY_mb_huo[] ={"豁活火伙或货获祸惑霍"};
char PY_mb_ji[] ={"讥击饥圾机肌鸡迹姬积基绩缉畸箕稽激及吉汲级即极急疾棘集嫉辑籍几己挤脊计记伎纪妓忌技际剂季既济继寂寄悸祭蓟冀藉"};
char PY_mb_jia[] ={"加夹佳枷家嘉荚颊甲贾钾价驾架假嫁稼挟"};
char PY_mb_hang[] ={"杭航行"};
char PY_mb_hao[] ={"毫豪嚎壕好郝号浩耗"};
char PY_mb_he[] ={"呵喝禾合何和河阂核荷涸盒菏贺褐赫鹤"};
char PY_mb_hei[] ={"黑嘿"};
char PY_mb_hen[] ={"痕很狠恨"};
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_biao[] ={"彪标膘表"};
char PY_mb_bie[] ={"憋鳖别瘪"};
char PY_mb_bin[] ={"宾彬斌滨濒摈"};
char PY_mb_bing[] ={"冰兵丙秉柄炳饼并病"};
char PY_mb_bo[] ={"拨波玻钵脖菠播伯驳帛泊勃铂舶博渤搏箔膊卜"};
char PY_mb_bai[] ={"白百佰柏摆败拜稗"};
char PY_mb_ban[] ={"扳班般颁斑搬板版办半伴扮拌绊瓣"};
char PY_mb_bang[] ={"邦帮梆绑榜膀蚌傍棒谤磅镑"};
char PY_mb_bao[] ={"包苞胞褒雹宝饱保堡报抱豹鲍暴爆剥薄瀑"};
char PY_mb_cheng[] ={"称撑成呈承诚城乘惩程澄橙逞骋秤"};
char PY_mb_chi[] ={"吃痴弛池驰迟持尺侈齿耻斥赤炽翅"};
char PY_mb_chong[] ={"充冲虫崇宠"};
char PY_mb_chou[] ={"抽仇绸畴愁稠筹酬踌丑瞅臭"};
char PY_mb_fang[] ={"方坊芳防妨房肪仿访纺放"};
char PY_mb_fei[] ={"飞非啡菲肥匪诽吠废沸肺费"};
char PY_mb_fen[] ={"分吩纷芬氛酚坟汾焚粉份奋忿愤粪"};
char PY_mb_feng[] ={"丰风枫封疯峰烽锋蜂冯逢缝讽凤奉"};
char PY_mb_bei[] ={"卑杯悲碑北贝狈备背钡倍被惫焙辈"};
char PY_mb_ben[] ={"奔本苯笨夯"};
char PY_mb_beng[] ={"崩绷甭泵迸蹦"};
char PY_mb_bi[] ={"逼鼻比彼笔鄙币必毕闭庇毖陛毙敝痹蓖弊碧蔽壁避臂"};
char PY_mb_bian[] ={"边编鞭贬扁卞便变遍辨辩辫"};
char PY_mb_gan[] ={"干甘杆肝柑竿秆赶敢感赣"};
char PY_mb_gang[] ={"冈刚岗纲肛缸钢港杠"};
char PY_mb_gao[] ={"皋羔高膏篙糕搞稿镐告"};
char PY_mb_ge[] ={"戈疙哥胳鸽割搁歌阁革格葛隔个各铬咯"};
char PY_mb_gei[] ={"给"};
char PY_mb_die[] ={"爹跌迭谍叠碟蝶"};
char PY_mb_ding[] ={"丁叮盯钉顶鼎订定锭"};
char PY_mb_diu[] ={"丢"};
char PY_mb_dong[] ={"东冬董懂动冻侗恫栋洞"};
char PY_mb_dou[] ={"都兜斗抖陡豆逗痘"};
char PY_mb_dai[] ={"呆歹傣代带待怠殆贷袋逮戴"};
char PY_mb_dan[] ={"丹单担耽郸胆掸旦但诞弹惮淡蛋氮"};
char PY_mb_dang[] ={"当挡党荡档"};
char PY_mb_dao[] ={"刀导岛倒捣祷蹈到悼盗道稻"};
char PY_mb_de[] ={"得德的"};
char PY_mb_jie[] ={"阶皆接秸揭街节劫杰洁结捷睫截竭姐解介戒芥届界疥诫借"};
char PY_mb_jin[] ={"巾今斤金津筋襟仅紧谨锦尽劲近进晋浸烬禁靳"};
char PY_mb_jing[] ={"京经茎荆惊晶睛粳兢精鲸井颈景警净径痉竞竟敬靖境静镜"};
char PY_mb_jiong[] ={"炯窘"};
char PY_mb_chu[] ={"出初除厨滁锄雏橱躇础储楚处搐触矗畜"};
char PY_mb_chuai[] ={"揣"};
char PY_mb_chuan[] ={"川穿传船椽喘串"};
char PY_mb_chuang[]={"闯疮窗床创"};
char PY_mb_chui[] ={"吹炊垂捶锤"};
char PY_mb_ai[] ={"哎哀唉埃挨皑癌矮蔼艾爱隘碍"};
char PY_mb_an[] ={"安氨鞍俺岸按案胺暗"};
char PY_mb_ang[] ={"肮昂盎"};
char PY_mb_ao[] ={"凹敖熬翱袄傲奥澳懊"};
char PY_mb_ba[] ={"八巴叭扒吧芭疤捌笆拔跋把靶坝爸罢霸"};