當(dāng)前位置:首頁(yè) > 單片機(jī) > 單片機(jī)
[導(dǎo)讀]說(shuō)明: 拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]); input_py_val為已輸入的拼音碼字符串頭指針, 反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗 應(yīng)用舉例: { unsigned char

說(shuō)明: 拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]); input_py_val為已輸入的拼音碼字符串頭指針, 反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗 應(yīng)用舉例: { unsigned char input_string[]={"bang"}; unsigned char chines_string[100]; sprintf(chines_string,"%s",py_ime(input_string)); } C51程序: //"********************CCDC01采集器測(cè)試儀軟件:拼音輸入法模塊********************" //"* 軟件設(shè)計(jì): *" //"* 日期: 2001/3 *" //"* 編譯環(huán)境:Franklin 3.3.4 *" //"******************************************************************************" #include #include //"********************CCDC01采集器測(cè)試儀軟件:拼音輸入法碼表********************" //"* 軟件設(shè)計(jì):張 凱 *" //"* 日期: 2001/3 *" //"* 編譯環(huán)境:Franklin 3.3.4 *" //"******************************************************************************" //"拼音輸入法漢字排列表" unsigned char code PY_mb_a []={"阿啊"}; unsigned char code PY_mb_ai []={"哎哀唉埃挨皚癌矮藹艾愛(ài)隘礙"}; unsigned char code PY_mb_an []={"安氨鞍俺岸按案胺暗"}; unsigned char code PY_mb_ang []={"骯昂盎"}; unsigned char code PY_mb_ao []={"凹敖熬翱襖傲奧澳懊"}; unsigned char code PY_mb_ba []={"八巴叭扒吧芭疤捌笆拔跋把靶壩爸罷霸"}; unsigned char code PY_mb_bai []={"白百佰柏?cái)[敗拜稗"}; unsigned char code PY_mb_ban []={"扳班般頒斑搬板版辦半伴扮拌絆瓣"}; unsigned char code PY_mb_bang []={"邦幫梆綁榜膀蚌傍棒謗磅鎊"}; unsigned char code PY_mb_bao []={"包苞胞褒雹寶飽保堡報(bào)抱豹鮑暴爆剝薄瀑"}; unsigned char code PY_mb_bei []={"卑杯悲碑北貝狽備背鋇倍被憊焙輩"}; unsigned char code PY_mb_ben []={"奔本苯笨夯"}; unsigned char code PY_mb_beng []={"崩繃甭泵迸蹦"}; unsigned char code PY_mb_bi []={"逼鼻比彼筆鄙幣必畢閉庇毖陛斃敝痹蓖弊碧蔽壁避臂"}; unsigned char code PY_mb_bian []={"邊編鞭貶扁卞便變遍辨辯辮"}; unsigned char code PY_mb_biao []={"彪標(biāo)膘表"}; unsigned char code PY_mb_bie []={"憋鱉別癟"}; unsigned char code PY_mb_bin []={"賓彬斌濱瀕擯"}; unsigned char code PY_mb_bing []={"冰兵丙秉柄炳餅并病"}; unsigned char code PY_mb_bo []={"撥波玻缽脖菠播伯駁帛泊勃鉑舶博渤搏箔膊卜"}; unsigned char code PY_mb_bu []={"補(bǔ)哺捕不布步怖部埠簿"}; unsigned char code PY_mb_ca []={"擦"}; unsigned char code PY_mb_cai []={"猜才材財(cái)裁采彩睬踩菜蔡"}; unsigned char code PY_mb_can []={"參餐殘蠶慚慘燦"}; unsigned char code PY_mb_cang []={"倉(cāng)滄蒼艙藏"}; unsigned char code PY_mb_cao []={"操糙曹槽草"}; unsigned char code PY_mb_ce []={"冊(cè)側(cè)廁測(cè)策"}; unsigned char code PY_mb_ceng []={"層蹭曾"}; unsigned char code PY_mb_cha []={"叉插查茬茶搽察碴岔詫差剎"}; unsigned char code PY_mb_chai []={"拆柴豺"}; unsigned char code PY_mb_chan []={"摻攙讒饞纏蟬產(chǎn)鏟闡顫"}; unsigned char code PY_mb_chang []={"昌猖腸嘗償常廠場(chǎng)敞暢倡唱"}; unsigned char code PY_mb_chao []={"抄鈔超巢朝嘲潮吵炒綽"}; unsigned char code PY_mb_che []={"車(chē)扯徹掣撤澈"}; unsigned char code PY_mb_chen []={"郴塵臣忱沉辰陳晨襯趁"}; unsigned char code PY_mb_cheng []={"稱撐成呈承誠(chéng)城乘懲程澄橙逞騁秤"}; unsigned char code PY_mb_chi []={"吃癡弛池馳遲持尺侈齒恥斥赤熾翅"}; unsigned char code PY_mb_chong []={"充沖蟲(chóng)崇寵"}; unsigned char code PY_mb_chou []={"抽仇綢疇愁稠籌酬躊丑瞅臭"}; unsigned char code PY_mb_chu []={"出初除廚滁鋤雛櫥躇礎(chǔ)儲(chǔ)楚處搐觸矗畜"}; unsigned char code PY_mb_chuai []={"揣"}; unsigned char code PY_mb_chuan []={"川穿傳船椽喘串"}; unsigned char code PY_mb_chuang[]={"闖瘡窗床創(chuàng)"}; unsigned char code PY_mb_chui []={"吹炊垂捶錘"}; unsigned char code PY_mb_chun []={"春椿純唇淳醇蠢"}; unsigned char code PY_mb_chuo []={"戳"}; unsigned char code PY_mb_ci []={"疵詞茨瓷慈辭磁雌此次刺賜"}; unsigned char code PY_mb_cong []={"囪從匆蔥聰叢"}; unsigned char code PY_mb_cou []={"湊"}; unsigned char code PY_mb_cu []={"粗促醋簇"}; unsigned char code PY_mb_cuan []={"躥竄篡"}; unsigned char code PY_mb_cui []={"崔催摧脆淬瘁粹翠"}; unsigned char code PY_mb_cun []={"村存寸"}; unsigned char code PY_mb_cuo []={"搓磋撮挫措錯(cuò)"}; unsigned char code PY_mb_da []={"搭達(dá)答瘩打大"}; unsigned char code PY_mb_dai []={"呆歹傣代帶待怠殆貸袋逮戴"}; unsigned char code PY_mb_dan []={"丹單擔(dān)耽鄲膽撣旦但誕彈憚淡蛋氮"}; unsigned char code PY_mb_dang []={"當(dāng)擋黨蕩檔"}; unsigned char code PY_mb_dao []={"刀導(dǎo)島倒搗禱蹈到悼盜道稻"}; unsigned char code PY_mb_de []={"得德的"}; unsigned char code PY_mb_deng []={"燈登蹬等鄧凳瞪"}; unsigned char code PY_mb_di []={"低堤滴狄迪敵滌笛嫡底抵地弟帝遞第締蒂"}; unsigned char code PY_mb_dian []={"掂滇顛典點(diǎn)碘電佃甸店墊惦淀奠殿靛"}; unsigned char code PY_mb_diao []={"刁叼凋碉雕吊釣掉"}; unsigned char code PY_mb_die []={"爹跌迭諜疊碟蝶"}; unsigned char code PY_mb_ding []={"丁叮盯釘頂鼎訂定錠"}; unsigned char code PY_mb_diu []={"丟"}; unsigned char code PY_mb_dong []={"東冬董懂動(dòng)凍侗恫棟洞"}; unsigned char code PY_mb_dou []={"都兜斗抖陡豆逗痘"}; unsigned char code PY_mb_du []={"督毒讀犢獨(dú)堵賭睹妒杜肚度渡鍍"}; unsigned char code PY_mb_duan []={"端短段斷緞鍛"}; unsigned char code PY_mb_dui []={"堆隊(duì)對(duì)兌"}; unsigned char code PY_mb_dun []={"噸敦墩蹲盾鈍頓遁"}; unsigned char code PY_mb_duo []={"多哆奪掇朵垛躲剁墮舵惰跺"}; unsigned char code PY_mb_e []={"訛俄娥峨鵝蛾額厄扼惡餓鄂遏"}; unsigned char code PY_mb_en []={"恩"}; unsigned char code PY_mb_er []={"兒而爾耳洱餌二貳"}; unsigned char code PY_mb_fa []={"發(fā)乏伐罰閥筏法琺"}; unsigned char code PY_mb_fan []={"帆番翻藩凡礬釩煩樊繁反返犯泛飯范販"}; unsigned char code PY_mb_fang []={"方坊芳防妨房肪仿訪紡放"}; unsigned char code PY_mb_fei []={"飛非啡菲肥匪誹吠廢沸肺費(fèi)"}; unsigned char code PY_mb_fen []={"分吩紛芬氛酚墳汾焚粉份奮忿憤糞"}; unsigned char code PY_mb_feng []={"豐風(fēng)楓封瘋峰烽鋒蜂馮逢縫諷鳳奉"}; unsigned char code PY_mb_fo []={"佛"}; unsigned char code PY_mb_fou []={"否"}; unsigned char code PY_mb_fu []={"夫膚孵敷弗伏扶拂服俘氟浮涪符袱幅福輻撫甫府斧俯釜輔腑腐父訃付婦負(fù)附咐阜復(fù)赴副傅富賦縛腹覆"}; unsigned char code PY_mb_ga []={"嘎噶"}; unsigned char code PY_mb_gai []={"該改鈣蓋溉概"}; unsigned char code PY_mb_gan []={"干甘桿肝柑竿稈趕敢感贛"}; unsigned char code PY_mb_gang []={"岡剛崗綱肛缸鋼港杠"}; unsigned char code PY_mb_gao []={"皋羔高膏篙糕搞稿鎬告"}; unsigned char code PY_mb_ge []={"戈疙哥胳鴿割擱歌閣革格葛隔個(gè)各鉻咯"}; unsigned char code PY_mb_gei []={"給"}; unsigned char code PY_mb_gen []={"根跟"}; unsigned char code PY_mb_geng []={"更庚耕羹埂耿梗"}; unsigned char code PY_mb_gong []={"工弓公功攻供宮恭躬龔鞏汞拱共貢"}; unsigned char code PY_mb_gou []={"勾溝鉤狗茍構(gòu)購(gòu)垢夠"}; unsigned char code PY_mb_gu []={"估咕姑孤沽菇辜箍古谷股骨蠱鼓固故顧雇"}; unsigned char code PY_mb_gua []={"瓜刮剮寡掛褂"}; unsigned char code PY_mb_guai []={"乖拐怪"}; unsigned char code PY_mb_guan []={"關(guān)觀官冠棺館管貫慣灌罐"}; unsigned char code PY_mb_guang []={"光廣逛"}; unsigned char code PY_mb_gui []={"歸圭龜規(guī)閨硅瑰軌詭癸鬼劊柜貴桂跪"}; unsigned char code PY_mb_gun []={"輥滾棍"}; unsigned char code PY_mb_guo []={"郭鍋國(guó)果裹過(guò)"}; unsigned char code PY_mb_ha []={"蛤哈"}; unsigned char code PY_mb_hai []={"孩骸海亥駭害氦"}; unsigned char code PY_mb_han []={"酣憨含邯函涵寒韓罕喊漢汗旱悍捍焊憾撼翰"}; unsigned char code PY_mb_hang []={"杭航行"}; unsigned char code PY_mb_hao []={"毫豪嚎壕好郝號(hào)浩耗"}; unsigned char code PY_mb_he []={"呵喝禾合何和河閡核荷涸盒菏賀褐赫鶴"}; unsigned char code PY_mb_hei []={"黑嘿"}; unsigned char code PY_mb_hen []={"痕很狠恨"}; unsigned char code PY_mb_heng []={"亨哼恒橫衡"}; unsigned char code PY_mb_hong []={"轟哄烘弘紅宏洪虹鴻"}; unsigned char code PY_mb_hou []={"侯喉猴吼后厚候"}; unsigned char code PY_mb_hu []={"乎呼忽弧狐胡壺湖葫瑚糊蝴虎?;糇o(hù)滬"}; unsigned char code PY_mb_hua []={"花華嘩滑猾化劃畫(huà)話"}; unsigned char code PY_mb_huai []={"懷徊淮槐壞"}; unsigned char code PY_mb_huan []={"歡還環(huán)桓緩幻宦喚換渙患煥瘓豢"}; unsigned char code PY_mb_huang []={"荒慌皇凰黃惶煌蝗磺簧恍晃謊幌"}; unsigned char code PY_mb_hui []={"灰恢揮輝徽回蛔悔卉匯會(huì)諱繪誨燴賄晦穢惠毀慧"}; unsigned char code PY_mb_hun []={"昏葷婚渾魂混"}; unsigned char code PY_mb_huo []={"豁活火伙或貨獲禍惑霍"}; unsigned char code PY_mb_ji []={"譏擊饑圾機(jī)肌雞跡姬積基績(jī)緝畸箕稽激及吉汲級(jí)即極急疾棘集嫉輯籍幾己擠脊計(jì)記伎紀(jì)妓忌技際劑季既濟(jì)繼寂寄悸祭薊冀藉"}; unsigned char code PY_mb_jia []={"加夾佳枷家嘉莢頰甲賈鉀價(jià)駕架假嫁稼挾"}; unsigned char code PY_mb_jian []={"奸尖堅(jiān)殲間肩艱兼監(jiān)箋緘煎揀儉柬繭撿減剪檢鹼簡(jiǎn)堿見(jiàn)件建餞劍薦賤健澗艦漸濺踐鑒鍵箭"}; unsigned char code PY_mb_jiang []={"江姜將漿僵疆講獎(jiǎng)槳蔣匠降醬"}; unsigned char code PY_mb_jiao []={"交郊嬌澆驕膠椒焦蕉礁角狡絞餃矯腳鉸攪剿繳叫轎較教窖酵覺(jué)嚼"}; unsigned char code PY_mb_jie []={"階皆接秸揭街節(jié)劫杰潔結(jié)捷睫截竭姐解介戒芥屆界疥誡借"}; unsigned char code PY_mb_jin []={"巾今斤金津筋襟僅緊謹(jǐn)錦盡勁近進(jìn)晉浸燼禁靳"}; unsigned char code PY_mb_jing []={"京經(jīng)莖荊驚晶睛粳兢精鯨井頸景警凈徑痙競(jìng)竟敬靖境靜鏡"}; unsigned char code PY_mb_jiong []={"炯窘"}; unsigned char code PY_mb_jiu []={"糾究揪九久灸玖韭酒舊臼咎疚廄救就舅"}; unsigned char code PY_mb_ju []={"居拘狙駒疽鞠局桔菊咀沮舉矩句巨拒具炬俱劇懼據(jù)距鋸聚踞"}; unsigned char code PY_mb_juan []={"娟捐鵑卷倦絹眷"}; unsigned char code PY_mb_jue []={"撅決訣抉絕倔掘爵攫"}; unsigned char code PY_mb_jun []={"軍君均鈞菌俊郡峻浚駿竣"}; unsigned char code PY_mb_ka []={"咖喀卡"}; unsigned char code PY_mb_kai []={"開(kāi)揩凱慨楷"}; unsigned char code PY_mb_kan []={"檻刊勘堪坎砍看"}; unsigned char code PY_mb_kang []={"康慷糠扛亢抗炕"}; unsigned char code PY_mb_kao []={"考拷烤靠"}; unsigned char code PY_mb_ke []={"坷苛柯科棵顆磕殼咳可渴克刻客課"}; unsigned char code PY_mb_ken []={"肯墾懇啃"}; unsigned char code PY_mb_keng []={"吭坑"}; unsigned char code PY_mb_kong []={"空孔恐控"}; unsigned char code PY_mb_kou []={"摳口扣寇"}; unsigned char code PY_mb_ku []={"枯哭窟苦庫(kù)褲酷"}; unsigned char code PY_mb_kua []={"夸垮挎胯跨"}; unsigned char code PY_mb_kuai []={"塊快儈筷"}; unsigned char code PY_mb_kuan []={"寬款"}; unsigned char code PY_mb_kuang []={"匡筐狂況曠礦框眶"}; unsigned char code PY_mb_kui []={"虧巋盔窺奎葵魁傀愧潰饋"}; unsigned char code PY_mb_kun []={"坤昆捆困"}; unsigned char code PY_mb_kuo []={"擴(kuò)括闊廓"}; unsigned char code PY_mb_la []={"垃拉啦喇臘蠟辣"}; unsigned char code PY_mb_lai []={"來(lái)萊賴"}; unsigned char code PY_mb_lan []={"蘭攔欄婪闌藍(lán)讕瀾籃覽攬纜懶爛濫"}; unsigned char code PY_mb_lang []={"郎狼廊瑯榔朗浪"}; unsigned char code PY_mb_lao []={"撈勞牢老佬姥澇烙酪"}; unsigned char code PY_mb_le []={"樂(lè)勒了"}; unsigned char code PY_mb_lei []={"雷鐳壘磊蕾儡肋淚類累擂"}; unsigned char code PY_mb_leng []={"棱楞冷"}; unsigned char code PY_mb_li []={"厘梨貍離莉犁漓璃黎籬禮李里哩理鯉力歷厲立吏麗利勵(lì)瀝例隸俐荔栗礫粒傈痢"}; unsigned char code PY_mb_lian []={"連簾憐漣蓮聯(lián)廉鐮斂臉練煉戀鏈"}; unsigned char code PY_mb_liang []={"倆良涼梁糧粱兩亮諒輛晾量"}; unsigned char code PY_mb_liao []={"潦遼療聊僚寥廖撩燎鐐料撂"}; unsigned char code PY_mb_lie []={"列劣烈獵裂"}; unsigned char code PY_mb_lin []={"鄰林臨淋琳霖磷鱗凜吝賃拎"}; unsigned char code PY_mb_ling []={"伶靈嶺玲凌鈴陵羚菱零齡領(lǐng)令另"}; unsigned char code PY_mb_liu []={"溜劉流留琉硫餾榴瘤柳六"}; unsigned char code PY_mb_long []={"龍嚨籠聾隆窿隴壟攏"}; unsigned char code PY_mb_lou []={"婁樓摟簍陋漏"}; unsigned char code PY_mb_lu []={"露盧廬蘆爐顱鹵虜擄魯陸錄賂鹿祿碌路戮潞麓"}; unsigned char code PY_mb_luan []={"孿巒攣灤卵亂"}; unsigned char code PY_mb_lue []={"掠略"}; unsigned char code PY_mb_lun []={"掄侖倫淪綸輪論"}; unsigned char code PY_mb_luo []={"羅蘿邏鑼籮騾螺裸洛絡(luò)駱落"}; unsigned char code PY_mb_lv []={"濾驢呂侶旅鋁屢縷履律慮率綠氯"}; unsigned char code PY_mb_ma []={"媽麻馬瑪碼螞罵嗎嘛"}; unsigned char code PY_mb_mai []={"埋買(mǎi)邁麥賣(mài)脈"}; unsigned char code PY_mb_man []={"蠻饅瞞滿曼謾慢漫蔓"}; unsigned char code PY_mb_mang []={"忙芒盲茫莽氓"}; unsigned char code PY_mb_mao []={"貓毛矛茅錨卯鉚茂冒貿(mào)帽貌"}; unsigned char code PY_mb_me []={"么"}; unsigned char code PY_mb_mei []={"沒(méi)枚玫眉梅媒煤酶霉每美鎂妹昧媚寐"}; unsigned char code PY_mb_men []={"門(mén)悶們"}; unsigned char code PY_mb_meng []={"萌盟檬猛蒙錳孟夢(mèng)"}; unsigned char code PY_mb_mi []={"彌迷謎醚糜靡米瞇泌覓秘密冪蜜"}; unsigned char code PY_mb_mian []={"眠綿棉免勉娩冕緬面"}; unsigned char code PY_mb_miao []={"苗描瞄秒渺藐妙廟"}; unsigned char code PY_mb_mie []={"滅蔑"}; unsigned char code PY_mb_min []={"民皿抿閩憫敏"}; unsigned char code PY_mb_ming []={"名明鳴銘螟命"}; unsigned char code PY_mb_miu []={"謬"}; unsigned char code PY_mb_mo []={"貉摸摹模膜摩磨蘑魔抹末沫陌莫寞漠墨默"}; unsigned char code PY_mb_mou []={"牟謀某"}; unsigned char code PY_mb_mu []={"母畝牡姆拇木目牧募墓幕睦慕暮穆"}; unsigned char code PY_mb_na []={"拿哪那納娜鈉吶"}; unsigned char code PY_mb_nai []={"乃奶氖奈耐"}; unsigned char code PY_mb_nan []={"男南難"}; unsigned char code PY_mb_nang []={"囊"}; unsigned char code PY_mb_nao []={"撓惱腦鬧淖"}; unsigned char code PY_mb_ne []={"呢"}; unsigned char code PY_mb_nei []={"內(nèi)餒"}; unsigned char code PY_mb_nen []={"嫩"}; unsigned char code PY_mb_neng []={"能"}; unsigned char code PY_mb_ni []={"妮尼泥倪霓你擬逆匿溺膩"}; unsigned char code PY_mb_nian []={"拈年捻攆碾念蔫"}; unsigned char code PY_mb_niang []={"娘釀"}; unsigned char code PY_mb_niao []={"鳥(niǎo)尿"}; unsigned char code PY_mb_nie []={"捏涅聶嚙鑷鎳孽"}; unsigned char code PY_mb_nin []={"您"}; unsigned char code PY_mb_ning []={"寧擰獰檸凝濘"}; unsigned char code PY_mb_niu []={"牛扭紐鈕"}; unsigned char code PY_mb_nong []={"農(nóng)濃膿弄"}; unsigned char code PY_mb_nu []={"奴努怒"}; unsigned char code PY_mb_nuan []={"暖"}; unsigned char code PY_mb_nue []={"瘧虐"}; unsigned char code PY_mb_nuo []={"挪諾懦糯"}; unsigned char code PY_mb_nv []={"女"}; unsigned char code PY_mb_o []={"哦"}; unsigned char code PY_mb_ou []={"歐毆鷗嘔偶藕漚"}; unsigned char code PY_mb_pa []={"趴啪爬耙琶帕怕"}; unsigned char code PY_mb_pai []={"拍徘排牌派湃"}; unsigned char code PY_mb_pan []={"潘攀盤(pán)磐判叛盼畔"}; unsigned char code PY_mb_pang []={"乓龐旁耪胖"}; unsigned char code PY_mb_pao []={"拋刨咆炮袍跑泡"}; unsigned char code PY_mb_pei []={"呸胚陪培賠裴沛佩配"}; unsigned char code PY_mb_pen []={"噴盆"}; unsigned char code PY_mb_peng []={"抨砰烹朋彭棚硼蓬鵬澎篷膨捧碰"}; unsigned char code PY_mb_pi []={"辟批坯披砒劈霹皮毗疲啤琵脾匹痞屁僻譬"}; unsigned char code PY_mb_pian []={"片偏篇騙"}; unsigned char code PY_mb_piao []={"漂飄瓢票"}; unsigned char code PY_mb_pie []={"撇瞥"}; unsigned char code PY_mb_pin []={"拼貧頻品聘"}; unsigned char code PY_mb_ping []={"乒平評(píng)憑坪蘋(píng)屏瓶萍"}; unsigned char code PY_mb_po []={"坡潑頗婆迫破粕魄"}; unsigned char code PY_mb_pou []={"剖"}; unsigned char code PY_mb_pu []={"脯仆撲鋪莆菩葡蒲樸圃埔浦普譜曝"}; unsigned char code PY_mb_qi []={"七沏妻柒凄棲戚期欺漆祁齊其奇歧祈臍崎畦騎棋旗乞企豈啟起氣訖迄棄汽泣契砌器"}; unsigned char code PY_mb_qia []={"掐恰洽"}; unsigned char code PY_mb_qian []={"千仟扦遷釬牽鉛謙簽前錢(qián)鉗乾潛黔淺遣譴欠塹嵌歉"}; unsigned char code PY_mb_qiang []={"嗆羌槍腔強(qiáng)墻薔搶"}; unsigned char code PY_mb_qiao []={"悄敲鍬橇喬僑橋瞧巧俏峭竅翹撬鞘"}; unsigned char code PY_mb_qie []={"切茄且怯竊"}; unsigned char code PY_mb_qin []={"親侵欽芹秦琴禽勤擒寢沁"}; unsigned char code PY_mb_qing []={"青氫輕傾卿清情晴氰擎頃請(qǐng)慶"}; unsigned char code PY_mb_qiong []={"窮瓊"}; unsigned char code PY_mb_qiu []={"丘邱秋囚求泅酋球"}; unsigned char code PY_mb_qu []={"區(qū)曲驅(qū)屈蛆軀趨渠取娶齲去趣"}; unsigned char code PY_mb_quan []={"圈全權(quán)泉拳痊醛顴犬勸券"}; unsigned char code PY_mb_que []={"炔缺瘸卻雀確鵲榷"}; unsigned char code PY_mb_qun []={"裙群"}; unsigned char code PY_mb_ran []={"然燃冉染"}; unsigned char code PY_mb_rang []={"瓤嚷壤攘讓"}; unsigned char code PY_mb_rao []={"饒擾繞"}; unsigned char code PY_mb_re []={"惹熱"}; unsigned char code PY_mb_ren []={"人仁壬忍刃認(rèn)任紉妊韌"}; unsigned char code PY_mb_reng []={"扔仍"}; unsigned char code PY_mb_ri []={"日"}; unsigned char code PY_mb_rong []={"戎絨茸榮容溶蓉熔融冗"}; unsigned char code PY_mb_rou []={"柔揉肉"}; unsigned char code PY_mb_ru []={"如茹儒孺蠕汝乳辱入褥"}; unsigned char code PY_mb_ruan []={"阮軟"}; unsigned char code PY_mb_rui []={"蕊銳瑞"}; unsigned char code PY_mb_run []={"閏潤(rùn)"}; unsigned char code PY_mb_ruo []={"若弱"}; unsigned char code PY_mb_sa []={"撒灑薩"}; unsigned char code PY_mb_sai []={"塞腮鰓賽"}; unsigned char code PY_mb_san []={"三叁傘散"}; unsigned char code PY_mb_sang []={"桑嗓喪"}; unsigned char code PY_mb_sao []={"搔騷掃嫂"}; unsigned char code PY_mb_se []={"色澀瑟"}; unsigned char code PY_mb_sen []={"森"}; unsigned char code PY_mb_seng []={"僧"}; unsigned char code PY_mb_sha []={"殺沙紗砂莎傻啥煞廈"}; unsigned char code PY_mb_shai []={"篩曬"}; unsigned char code PY_mb_shan []={"山刪杉衫珊煽閃陜汕苫扇善繕擅膳贍柵"}; unsigned char code PY_mb_shang []={"傷商墑裳晌賞上尚"}; unsigned char code PY_mb_shao []={"捎梢燒稍勺芍韶少邵紹哨"}; unsigned char code PY_mb_she []={"奢賒舌蛇舍設(shè)社射涉赦懾?cái)z"}; unsigned char code PY_mb_shen []={"申伸身呻紳娠砷深神沈?qū)弸鹉I甚滲慎什"}; unsigned char code PY_mb_sheng []={"升生聲牲勝甥繩省圣盛剩"}; unsigned char code PY_mb_shi []={"匙尸失師虱詩(shī)施獅濕十石時(shí)識(shí)實(shí)拾蝕食史矢使始駛屎士氏世仕市示式事侍勢(shì)視試飾室恃拭是柿適逝釋嗜誓噬似"}; unsigned char code PY_mb_shou []={"收手守首壽受獸售授瘦"}; unsigned char code PY_mb_shu []={"書(shū)抒叔樞殊梳淑疏舒輸蔬孰贖熟暑黍署鼠蜀薯曙術(shù)戍束述樹(shù)豎恕庶數(shù)墅漱屬"}; unsigned char code PY_mb_shua []={"刷耍"}; unsigned char code PY_mb_shuai []={"衰摔甩帥"}; unsigned char code PY_mb_shuan []={"拴栓"}; unsigned char code PY_mb_shuang[]={"雙霜爽"}; unsigned char code PY_mb_shui []={"誰(shuí)水稅睡"}; unsigned char code PY_mb_shun []={"吮順?biāo)此?quot;}; unsigned char code PY_mb_shuo []={"說(shuō)爍朔碩"}; unsigned char code PY_mb_si []={"絲司私思斯嘶撕死巳四寺伺飼嗣肆"}; unsigned char code PY_mb_song []={"松慫聳訟宋誦送頌"}; unsigned char code PY_mb_sou []={"嗽搜艘擻"}; unsigned char code PY_mb_su []={"蘇酥俗訴肅素速粟塑溯僳"}; unsigned char code PY_mb_suan []={"酸蒜算"}; unsigned char code PY_mb_sui []={"雖綏隋隨髓歲祟遂碎隧穗"}; unsigned char code PY_mb_sun []={"孫損筍"}; unsigned char code PY_mb_suo []={"唆梭蓑縮所索瑣鎖"}; unsigned char code PY_mb_ta []={"她他它塌塔獺撻踏蹋"}; unsigned char code PY_mb_tai []={"胎臺(tái)抬苔太汰態(tài)泰酞"}; unsigned char code PY_mb_tan []={"坍貪攤灘癱壇談痰譚潭檀坦袒毯嘆炭探碳"}; unsigned char code PY_mb_tang []={"湯唐堂棠塘搪膛糖倘淌躺燙趟"}; unsigned char code PY_mb_tao []={"濤絳掏滔逃桃陶淘萄討套"}; unsigned char code PY_mb_te []={"特"}; unsigned char code PY_mb_teng []={"疼騰謄藤"}; unsigned char code PY_mb_ti []={"剔梯銻踢啼提題蹄體屜剃涕惕替嚏"}; unsigned char code PY_mb_tian []={"天添田恬甜填腆舔"}; unsigned char code PY_mb_tiao []={"調(diào)挑條迢眺跳"}; unsigned char code PY_mb_tie []={"貼鐵帖"}; unsigned char code PY_mb_ting []={"廳汀聽(tīng)烴廷亭庭停挺艇"}; unsigned char code PY_mb_tong []={"通同彤桐銅童酮瞳統(tǒng)捅桶筒痛"}; unsigned char code PY_mb_tou []={"偷頭投透"}; unsigned char code PY_mb_tu []={"凸禿突圖徒涂途屠土吐兔"}; unsigned char code PY_mb_tuan []={"湍團(tuán)"}; unsigned char code PY_mb_tui []={"推頹腿退蛻褪"}; unsigned char code PY_mb_tun []={"囤吞屯臀"}; unsigned char code PY_mb_tuo []={"托拖脫馱陀駝鴕妥橢拓唾"}; unsigned char code PY_mb_wa []={"哇娃挖洼蛙瓦襪"}; unsigned char code PY_mb_wai []={"歪外"}; unsigned char code PY_mb_wan []={"彎灣豌丸完玩頑烷宛挽晚婉惋皖碗萬(wàn)腕"}; unsigned char code PY_mb_wang []={"汪亡王網(wǎng)往枉妄忘旺望"}; unsigned char code PY_mb_wei []={"危威微巍為韋圍違桅唯惟維濰偉偽尾緯葦委萎衛(wèi)未位味畏胃尉謂喂渭蔚慰魏"}; unsigned char code PY_mb_wen []={"溫瘟文紋聞蚊吻紊穩(wěn)問(wèn)"}; unsigned char code PY_mb_weng []={"翁嗡甕"}; unsigned char code PY_mb_wo []={"撾渦窩蝸我沃臥握斡"}; unsigned char code PY_mb_wu []={"烏污嗚巫屋誣鎢無(wú)毋吳吾蕪梧五午伍塢武侮捂舞勿務(wù)戊物誤悟晤霧"}; unsigned char code PY_mb_xi []={"夕汐西吸希昔析矽息犧悉惜烯硒晰犀稀溪錫熄熙嘻膝習(xí)席襲媳檄洗喜戲系細(xì)隙"}; unsigned char code PY_mb_xia []={"蝦瞎匣俠峽狹暇轄霞下嚇夏"}; unsigned char code PY_mb_xian []={"銑仙先纖掀锨鮮閑弦賢咸涎舷銜嫌顯險(xiǎn)縣現(xiàn)線限憲陷餡羨獻(xiàn)腺"}; unsigned char code PY_mb_xiang []={"鄉(xiāng)相香廂湘箱襄鑲詳祥翔享響想向巷項(xiàng)象像橡"}; unsigned char code PY_mb_xiao []={"宵消蕭硝銷霄囂淆小曉孝肖哮效校笑嘯"}; unsigned char code PY_mb_xie []={"些楔歇蝎協(xié)邪脅斜諧攜鞋寫(xiě)泄瀉卸屑械謝懈蟹"}; unsigned char code PY_mb_xin []={"心忻芯辛欣鋅新薪信釁"}; unsigned char code PY_mb_xing []={"興星惺猩腥刑邢形型醒杏姓幸性"}; unsigned char code PY_mb_xiong []={"兇兄匈?zèng)靶匦坌?quot;}; unsigned char code PY_mb_xiu []={"宿休修羞朽秀繡袖銹嗅"}; unsigned char code PY_mb_xu []={"戌須虛噓需墟徐許旭序敘恤緒續(xù)酗婿絮蓄吁"}; unsigned char code PY_mb_xuan []={"軒宣喧玄懸旋選癬絢眩"}; unsigned char code PY_mb_xue []={"削靴薛穴學(xué)雪血"}; unsigned char code PY_mb_xun []={"勛熏尋巡旬馴詢循訓(xùn)訊汛迅遜殉"}; unsigned char code PY_mb_ya []={"丫壓呀押鴉鴨牙芽蚜崖涯衙啞雅亞訝"}; unsigned char code PY_mb_yan []={"咽煙淹焉閹延嚴(yán)言巖沿炎研鹽閻蜒顏奄衍掩眼演厭彥硯唁宴艷驗(yàn)諺堰焰雁燕"}; unsigned char code PY_mb_yang []={"央殃秧鴦?chuàng)P羊陽(yáng)楊佯瘍洋仰養(yǎng)氧癢樣漾"}; unsigned char code PY_mb_yao []={"僥妖腰邀堯姚窯謠搖遙瑤咬舀藥要耀鑰"}; unsigned char code PY_mb_ye []={"椰噎爺耶也冶野業(yè)葉曳頁(yè)夜掖液腋"}; unsigned char code PY_mb_yi []={"一伊衣醫(yī)依銥壹揖儀夷沂宜姨胰移遺頤疑彝乙已以矣蟻倚椅義億憶藝議亦屹異役抑譯邑易繹詣疫益誼翌逸意溢肄裔毅翼臆"}; unsigned char code PY_mb_yin []={"因陰姻茵蔭音殷吟寅淫銀尹引飲隱印"}; unsigned char code PY_mb_ying []={"應(yīng)英嬰纓櫻鷹迎盈熒瑩螢營(yíng)蠅贏穎影映硬"}; unsigned char code PY_mb_yo []={"喲"}; unsigned char code PY_mb_yong []={"傭擁癰庸雍臃永詠泳勇涌恿蛹踴用"}; unsigned char code PY_mb_you []={"優(yōu)憂幽悠尤由猶郵油鈾游友有酉又右幼佑誘釉"}; unsigned char code PY_mb_yu []={"迂淤渝于予余盂魚(yú)俞娛漁隅愉逾愚榆虞輿與宇嶼羽雨禹語(yǔ)玉馭芋育郁獄峪浴預(yù)域欲喻寓御裕遇愈譽(yù)豫"}; unsigned char code PY_mb_yuan []={"冤鴛淵元員園垣原圓袁援緣源猿轅遠(yuǎn)苑怨院愿"}; unsigned char code PY_mb_yue []={"曰約月岳悅閱躍粵越"}; unsigned char code PY_mb_yun []={"云勻鄖耘允隕孕運(yùn)暈醞韻蘊(yùn)"}; unsigned char code PY_mb_za []={"匝雜砸咋"}; unsigned char code PY_mb_zai []={"災(zāi)哉栽宰載再在仔"}; unsigned char code PY_mb_zan []={"咱攢暫贊"}; unsigned char code PY_mb_zang []={"贓臟葬"}; unsigned char code PY_mb_zao []={"遭糟鑿早棗蚤澡藻灶皂造噪燥躁"}; unsigned char code PY_mb_ze []={"則擇澤責(zé)"}; unsigned char code PY_mb_zei []={"賊"}; unsigned char code PY_mb_zen []={"怎"}; unsigned char code PY_mb_zeng []={"增憎贈(zèng)"}; unsigned char code PY_mb_zha []={"喳渣扎札軋閘鍘眨乍詐炸榨柞"}; unsigned char code PY_mb_zhai []={"齋摘宅翟窄債寨"}; unsigned char code PY_mb_zhan []={"沾氈粘詹瞻斬展盞嶄輾占戰(zhàn)棧站綻湛蘸"}; unsigned char code PY_mb_zhang []={"長(zhǎng)張章彰漳樟漲掌丈仗帳杖脹賬障瘴"}; unsigned char code PY_mb_zhao []={"招昭找沼召兆趙照罩肇爪"}; unsigned char code PY_mb_zhe []={"遮折哲蟄轍者鍺這浙蔗著"}; unsigned char code PY_mb_zhen []={"貞針偵珍真砧斟甄臻診枕疹陣振鎮(zhèn)震幀"}; unsigned char code PY_mb_zheng []={"爭(zhēng)征怔掙猙睜蒸拯整正證鄭政癥"}; unsigned char code PY_mb_zhi []={"之支汁芝吱枝知織肢脂蜘執(zhí)侄直值職植殖止只旨址紙指趾至志制幟治炙質(zhì)峙摯秩致擲痔窒智滯稚置"}; unsigned char code PY_mb_zhong []={"中忠終盅鐘衷腫種仲眾重"}; unsigned char code PY_mb_zhou []={"州舟謅周洲粥軸肘帚咒宙晝皺驟"}; unsigned char code PY_mb_zhu []={"朱誅株珠諸豬蛛竹燭逐主拄煮囑矚住助注貯駐柱祝著蛀筑鑄"}; unsigned char code PY_mb_zhua []={"抓"}; unsigned char code PY_mb_zhuai []={"拽"}; unsigned char code PY_mb_zhuan []={"專磚轉(zhuǎn)撰篆"}; unsigned char code PY_mb_zhuang[]={"妝莊樁裝壯狀幢撞"}; unsigned char code PY_mb_zhui []={"追椎錐墜綴贅"}; unsigned char code PY_mb_zhun []={"諄準(zhǔn)"}; unsigned char code PY_mb_zhuo []={"卓拙捉桌灼茁濁酌啄琢"}; unsigned char code PY_mb_zi []={"孜茲咨姿資淄滋籽子紫滓字自漬"}; unsigned char code PY_mb_zong []={"宗綜棕蹤鬃總縱"}; unsigned char code PY_mb_zou []={"鄒走奏揍"}; unsigned char code PY_mb_zu []={"租足卒族詛阻組祖"}; unsigned char code PY_mb_zuan []={"賺纂鉆"}; unsigned char code PY_mb_zui []={"嘴最罪醉"}; unsigned char code PY_mb_zun []={"尊遵"}; unsigned char code PY_mb_zuo []={"昨左佐作坐座做"}; //================================================================================================ //"拼音輸入法查詢碼表" unsigned char code PY_index_a[][8]={ {" ",0x00,0x00}, {"i ",0x05,0x00}, {"n ",0x20,0x00}, {"ng ",0x33,0x00}, {"o ",0x3A,0x00}}; unsigned char code PY_index_b[][8]={ {"a ",0x4D,0x00}, {"ai ",0x70,0x00}, {"an ",0x81,0x00}, {"ang ",0xA0,0x00}, {"ao ",0xB9,0x00}, {"ei ",0xDE,0x00}, {"en ",0xFD,0x00}, {"eng ",0x08,0x01}, {"i ",0x15,0x01}, {"ian ",0x44,0x01}, {"iao ",0x5D,0x01}, {"ie ",0x66,0x01}, {"in ",0x6F,0x01}, {"ing ",0x7C,0x01}, {"o ",0x8F,0x01}, {"u ",0xB8,0x01}}; unsigned char code PY_index_c[][8]={ {"a ",0xCD,0x01}, {"ai ",0xD0,0x01}, {"an ",0xE7,0x01}, {"ang ",0xF6,0x01}, {"ao ",0x01,0x02}, {"e ",0x0C,0x02}, {"eng ",0x17,0x02}, {"ha ",0x1E,0x02}, {"hai ",0x37,0x02}, {"han ",0x3E,0x02}, {"hang ",0x53,0x02}, {"hao ",0x6C,0x02}, {"he ",0x81,0x02}, {"hen ",0x8E,0x02}, {"heng ",0xA3,0x02}, {"hi ",0xC2,0x02}, {"hong ",0xE1,0x02}, {"hou ",0xEC,0x02}, {"hu ",0x05,0x03}, {"huai ",0x28,0x03}, {"huan ",0x2B,0x03}, {"huang",0x3A,0x03}, {"hui ",0x45,0x03}, {"hun ",0x50,0x03}, {"huo ",0x5F,0x03}, {"i ",0x62,0x03}, {"ong ",0x7B,0x03}, {"ou ",0x88,0x03}, {"u ",0x8B,0x03}, {"uan ",0x94,0x03}, {"ui ",0x9B,0x03}, {"un ",0xAC,0x03}, {"uo ",0xB3,0x03}}; unsigned char code PY_index_d[][8]={ {"a ",0xC0,0x03}, {"ai ",0xCD,0x03}, {"an ",0xE6,0x03}, {"ang ",0x05,0x04}, {"ao ",0x10,0x04}, {"e ",0x29,0x04}, {"eng ",0x30,0x04}, {"i ",0x3F,0x04}, {"ian ",0x64,0x04}, {"iao ",0x85,0x04}, {"ie ",0x96,0x04}, {"ing ",0xA5,0x04}, {"iu ",0xB8,0x04}, {"ong ",0xBB,0x04}, {"ou ",0xD0,0x04}, {"u ",0xE1,0x04}, {"uan ",0xFE,0x04}, {"ui ",0x0B,0x05}, {"un ",0x14,0x05}, {"uo ",0x25,0x05}}; unsigned char code PY_index_e[][8]={ {" ",0x3E,0x05}, {"n ",0x59,0x05}, {"r ",0x5C,0x05}}; unsigned char code PY_index_f[][8]={ {"a ",0x6D,0x05}, {"an ",0x7E,0x05}, {"ang ",0xA1,0x05}, {"ei ",0xB8,0x05}, {"en ",0xD1,0x05}, {"eng ",0xF0,0x05}, {"o ",0x0F,0x06}, {"ou ",0x12,0x06}, {"u ",0x15,0x06}}; unsigned char code PY_index_g[][8]={ {"a ",0x6E,0x06}, {"ai ",0x73,0x06}, {"an ",0x80,0x06}, {"ang ",0x97,0x06}, {"ao ",0xAA,0x06}, {"e ",0xBF,0x06}, {"ei ",0xE2,0x06}, {"en ",0xE5,0x06}, {"eng ",0xEA,0x06}, {"ong ",0xF9,0x06}, {"ou ",0x18,0x07}, {"u ",0x2B,0x07}, {"ua ",0x50,0x07}, {"uai ",0x5D,0x07}, {"uan ",0x64,0x07}, {"uang ",0x7B,0x07}, {"ui ",0x82,0x07}, {"un ",0xA3,0x07}, {"uo ",0xAA,0x07}}; unsigned char code PY_index_h[][8]={ {"a ",0xB7,0x07}, {"ai ",0xBC,0x07}, {"an ",0xCB,0x07}, {"ang ",0xF2,0x07}, {"ao ",0xF9,0x07}, {"e ",0x0C,0x08}, {"ei ",0x2F,0x08}, {"en ",0x34,0x08}, {"eng ",0x3D,0x08}, {"ong ",0x48,0x08}, {"ou ",0x5B,0x08}, {"u ",0x6A,0x08}, {"ua ",0x8F,0x08}, {"uai ",0xA2,0x08}, {"uan ",0xAD,0x08}, {"uang ",0xCA,0x08}, {"ui ",0xE7,0x08}, {"un ",0x12,0x09}, {"uo ",0x1F,0x09}}; unsigned char code PY_index_j[][8]={ {"i ",0x34,0x09}, {"ia ",0xA1,0x09}, {"ian ",0xC6,0x09}, {"iang ",0x15,0x0A}, {"iao ",0x30,0x0A}, {"ie ",0x69,0x0A}, {"in ",0x9C,0x0A}, {"ing ",0xC5,0x0A}, {"iong ",0xF8,0x0A}, {"iu ",0xFD,0x0A}, {"u ",0x20,0x0B}, {"uan ",0x55,0x0B}, {"ue ",0x64,0x0B}, {"un ",0x77,0x0B}}; unsigned char code PY_index_k[][8]={ {"a ",0x8E,0x0B}, {"ai ",0x95,0x0B}, {"an ",0xA0,0x0B}, {"ang ",0xAF,0x0B}, {"ao ",0xBE,0x0B}, {"e ",0xC7,0x0B}, {"en ",0xE6,0x0B}, {"eng ",0xEF,0x0B}, {"ong ",0xF4,0x0B}, {"ou ",0xFD,0x0B}, {"u ",0x06,0x0C}, {"ua ",0x15,0x0C}, {"uai ",0x20,0x0C}, {"uan ",0x29,0x0C}, {"uang ",0x2E,0x0C}, {"ui ",0x3F,0x0C}, {"un ",0x56,0x0C}, {"uo ",0x5F,0x0C}}; unsigned char code PY_index_l[][8]={ {"a ",0x68,0x0C}, {"ai ",0x77,0x0C}, {"an ",0x7E,0x0C}, {"ang ",0x9D,0x0C}, {"ao ",0xAC,0x0C}, {"e ",0xBF,0x0C}, {"ei ",0xC6,0x0C}, {"eng ",0xDD,0x0C}, {"i ",0xE4,0x0C}, {"ian ",0x29,0x0D}, {"iang ",0x46,0x0D}, {"iao ",0x5F,0x0D}, {"ie ",0x78,0x0D}, {"in ",0x83,0x0D}, {"ing ",0x9C,0x0D}, {"iu ",0xB9,0x0D}, {"ong ",0xD0,0x0D}, {"ou ",0xE3,0x0D}, {"u ",0xF0,0x0D}, {"uan ",0x19,0x0E}, {"ue ",0x26,0x0E}, {"un ",0x2B,0x0E}, {"uo ",0x3A,0x0E}, {"v ",0x53,0x0E}}; unsigned char code PY_index_m[][8]={ {"a ",0x70,0x0E}, {"ai ",0x83,0x0E}, {"an ",0x90,0x0E}, {"ang ",0xA3,0x0E}, {"ao ",0xB0,0x0E}, {"e ",0xC9,0x0E}, {"ei ",0xCC,0x0E}, {"en ",0xED,0x0E}, {"eng ",0xF4,0x0E}, {"i ",0x05,0x0F}, {"ian ",0x22,0x0F}, {"iao ",0x35,0x0F}, {"ie ",0x46,0x0F}, {"in ",0x4B,0x0F}, {"ing ",0x58,0x0F}, {"iu ",0x65,0x0F}, {"o ",0x68,0x0F}, {"ou ",0x8D,0x0F}, {"u ",0x94,0x0F}}; unsigned char code PY_index_n[][8]={ {"a ",0xB3,0x0F}, {"ai ",0xC2,0x0F}, {"an ",0xCD,0x0F}, {"ang ",0xD4,0x0F}, {"ao ",0xD7,0x0F}, {"e ",0xE2,0x0F}, {"ei ",0xE5,0x0F}, {"en ",0xEA,0x0F}, {"eng ",0xED,0x0F}, {"i ",0xF0,0x0F}, {"ian ",0x07,0x10}, {"iang ",0x16,0x10}, {"iao ",0x1B,0x10}, {"ie ",0x20,0x10}, {"in ",0x2F,0x10}, {"ing ",0x32,0x10}, {"iu ",0x3F,0x10}, {"ong ",0x48,0x10}, {"u ",0x51,0x10}, {"uan ",0x58,0x10}, {"ue ",0x5B,0x10}, {"uo ",0x60,0x10}, {"v ",0x69,0x10}}; unsigned char code PY_index_o[][8]={ {" ",0x6C,0x10}, {"u ",0x6F,0x10}}; unsigned char code PY_index_p[][8]={ {"a ",0x7E,0x10}, {"ai ",0x8D,0x10}, {"an ",0x9A,0x10}, {"ang ",0xAB,0x10}, {"ao ",0xB6,0x10}, {"ei ",0xC5,0x10}, {"en ",0xD8,0x10}, {"eng ",0xDD,0x10}, {"i ",0xFA,0x10}, {"ian ",0x1F,0x11}, {"iao ",0x28,0x11}, {"ie ",0x31,0x11}, {"in ",0x36,0x11}, {"ing ",0x41,0x11}, {"o ",0x54,0x11}, {"ou ",0x65,0x11}, {"u ",0x68,0x11}}; unsigned char code PY_index_q[][8]={ {"i ",0x87,0x11}, {"ia ",0xD0,0x11}, {"ian ",0xD7,0x11}, {"iang ",0x04,0x12}, {"iao ",0x15,0x12}, {"ie ",0x34,0x12}, {"in ",0x3F,0x12}, {"ing ",0x56,0x12}, {"iong ",0x71,0x12}, {"iu ",0x76,0x12}, {"u ",0x87,0x12}, {"uan ",0xA2,0x12}, {"ue ",0xB9,0x12}, {"un ",0xCA,0x12}}; unsigned char code PY_index_r[][8]={ {"an ",0xCF,0x12}, {"ang ",0xD8,0x12}, {"ao ",0xE3,0x12}, {"e ",0xEA,0x12}, {"en ",0xEF,0x12}, {"eng ",0x04,0x13}, {"i ",0x09,0x13}, {"ong ",0x0C,0x13}, {"ou ",0x21,0x13}, {"u ",0x28,0x13}, {"uan ",0x3D,0x13}, {"ui ",0x42,0x13}, {"un ",0x49,0x13}, {"uo ",0x4E,0x13}}; unsigned char code PY_index_s[][8]={ {"a ",0x53,0x13}, {"ai ",0x5A,0x13}, {"an ",0x63,0x13}, {"ang ",0x6C,0x13}, {"ao ",0x73,0x13}, {"e ",0x7C,0x13}, {"en ",0x83,0x13}, {"eng ",0x86,0x13}, {"ha ",0x89,0x13}, {"hai ",0x9C,0x13}, {"han ",0xA1,0x13}, {"hang ",0xC4,0x13}, {"hao ",0xD5,0x13}, {"he ",0xEC,0x13}, {"hen ",0x05,0x14}, {"heng ",0x28,0x14}, {"hi ",0x3F,0x14}, {"hou ",0xA0,0x14}, {"hu ",0xB5,0x14}, {"hua ",0xF8,0x14}, {"huai ",0xFD,0x14}, {"huan ",0x06,0x15}, {"huang",0x0B,0x15}, {"hui ",0x12,0x15}, {"hun ",0x1B,0x15}, {"huo ",0x24,0x15}, {"i ",0x2D,0x15}, {"ong ",0x4C,0x15}, {"ou ",0x5D,0x15}, {"u ",0x66,0x15}, {"uan ",0x7D,0x15}, {"ui ",0x84,0x15}, {"un ",0x9B,0x15}, {"uo ",0xA2,0x15}}; unsigned char code PY_index_t[][8]={ {"a ",0xB3,0x15}, {"ai ",0xC6,0x15}, {"an ",0xD9,0x15}, {"ang ",0xFE,0x15}, {"ao ",0x19,0x16}, {"e ",0x30,0x16}, {"eng ",0x33,0x16}, {"i ",0x3C,0x16}, {"ian ",0x5B,0x16}, {"iao ",0x6C,0x16}, {"ie ",0x79,0x16}, {"ing ",0x80,0x16}, {"ong ",0x95,0x16}, {"ou ",0xB0,0x16}, {"u ",0xB9,0x16}, {"uan ",0xD0,0x16}, {"ui ",0xD5,0x16}, {"un ",0xE2,0x16}, {"uo ",0xEB,0x16}}; unsigned char code PY_index_w[][8]={ {"a ",0x02,0x17}, {"ai ",0x11,0x17}, {"an ",0x16,0x17}, {"ang ",0x39,0x17}, {"ei ",0x4E,0x17}, {"en ",0x91,0x17}, {"eng ",0xA6,0x17}, {"o ",0xAD,0x17}, {"u ",0xC0,0x17}}; unsigned char code PY_index_x[][8]={ {"i ",0xFB,0x17}, {"ia ",0x40,0x18}, {"ian ",0x59,0x18}, {"iang ",0x90,0x18}, {"iao ",0xB9,0x18}, {"ie ",0xDC,0x18}, {"in ",0x05,0x19}, {"ing ",0x1A,0x19}, {"iong ",0x37,0x19}, {"iu ",0x46,0x19}, {"u ",0x5B,0x19}, {"uan ",0x82,0x19}, {"ue ",0x97,0x19}, {"un ",0xA6,0x19}}; unsigned char code PY_index_y[][8]={ {"a ",0xC3,0x19}, {"an ",0xE4,0x19}, {"ang ",0x27,0x1A}, {"ao ",0x4A,0x1A}, {"e ",0x6D,0x1A}, {"i ",0x8C,0x1A}, {"in ",0xF7,0x1A}, {"ing ",0x18,0x1B}, {"o ",0x3D,0x1B}, {"ong ",0x40,0x1B}, {"ou ",0x5F,0x1B}, {"u ",0x88,0x1B}, {"uan ",0xE1,0x1B}, {"ue ",0x0A,0x1C}, {"un ",0x1D,0x1C}}; unsigned char code PY_index_z[][8]={ {"a ",0x36,0x1C}, {"ai ",0x3F,0x1C}, {"an ",0x50,0x1C}, {"ang ",0x59,0x1C}, {"ao ",0x60,0x1C}, {"e ",0x7D,0x1C}, {"ei ",0x86,0x1C}, {"en ",0x89,0x1C}, {"eng ",0x8C,0x1C}, {"ha ",0x93,0x1C}, {"hai ",0xAE,0x1C}, {"han ",0xBD,0x1C}, {"hang ",0xE0,0x1C}, {"hao ",0x01,0x1D}, {"he ",0x18,0x1D}, {"hen ",0x2F,0x1D}, {"heng ",0x52,0x1D}, {"hi ",0x6F,0x1D}, {"hong ",0xC6,0x1D}, {"hou ",0xDD,0x1D}, {"hu ",0xFA,0x1D}, {"hua ",0x2F,0x1E}, {"huai ",0x32,0x1E}, {"huan ",0x35,0x1E}, {"huang",0x40,0x1E}, {"hui ",0x51,0x1E}, {"hun ",0x5E,0x1E}, {"huo ",0x63,0x1E}, {"i ",0x78,0x1E}, {"ong ",0x95,0x1E}, {"ou ",0xA4,0x1E}, {"u ",0xAD,0x1E}, {"uan ",0xBE,0x1E}, {"ui ",0xC5,0x1E}, {"un ",0xCE,0x1E}, {"uo ",0xD3,0x1E}}; unsigned char code PY_index_end[][8]={" ",0,0}; //================================================================================================ //================================================================================================ //"========================================變量聲明========================================" unsigned int code py_mb_begin=(unsigned int)%26;amp;PY_mb_a[0]; unsigned char code (* code PY_index_pointer[27])[8]={ PY_index_a,PY_index_b,PY_index_c,PY_index_d,PY_index_e,PY_index_f,PY_index_g,PY_index_h, PY_index_j,PY_index_j,PY_index_k,PY_index_l,PY_index_m,PY_index_n,PY_index_o,PY_index_p, PY_index_q,PY_index_r,PY_index_s,PY_index_t,PY_index_w,PY_index_w,PY_index_w,PY_index_x, PY_index_y,PY_index_z,PY_index_end}; //"========================================函數(shù)聲明========================================" //"拼音輸入法杳詢函數(shù),input_py為已輸入的拼音碼,反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗" unsigned char code * py_ime(unsigned char input_py_val[]); //"========================================主程序體========================================" unsigned char code * py_ime(unsigned char input_py_val[]) { unsigned char code (* xdata p1)[8],(* xdata p2)[8],(* xdata p3)[8]; unsigned char xdata i=1; if (input_py_val[0]==0) return(0); //"如果輸入空字符返回0" if (input_py_val[0]==’i’) return(0); if (input_py_val[0]==’u’) return(0); if (input_py_val[0]==’v’) return(0); p1=p2=PY_index_pointer[input_py_val[0]-0x61]; //"計(jì)算入口樹(shù)根" p3=PY_index_pointer[input_py_val[0]-0x60]; //"設(shè)置指針界限" if (p1==0) return(0); //"查詢失敗返回0" while (p1p1=p2; while (p1if (((*p1)[i]==input_py_val[i+1])%26;amp;%26;amp;((*p1)[i-1]==input_py_val[i])) { p2=p1; i++; } else p1++; return((unsigned char code *)((*p2)[6]+(*p2)[7]*256+py_mb_begin)); //"返回查詢結(jié)果首地址" }

本站聲明: 本文章由作者或相關(guān)機(jī)構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點(diǎn),本站亦不保證或承諾內(nèi)容真實(shí)性等。需要轉(zhuǎn)載請(qǐng)聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請(qǐng)及時(shí)聯(lián)系本站刪除。
換一批
延伸閱讀

9月2日消息,不造車(chē)的華為或?qū)⒋呱龈蟮莫?dú)角獸公司,隨著阿維塔和賽力斯的入局,華為引望愈發(fā)顯得引人矚目。

關(guān)鍵字: 阿維塔 塞力斯 華為

倫敦2024年8月29日 /美通社/ -- 英國(guó)汽車(chē)技術(shù)公司SODA.Auto推出其旗艦產(chǎn)品SODA V,這是全球首款涵蓋汽車(chē)工程師從創(chuàng)意到認(rèn)證的所有需求的工具,可用于創(chuàng)建軟件定義汽車(chē)。 SODA V工具的開(kāi)發(fā)耗時(shí)1.5...

關(guān)鍵字: 汽車(chē) 人工智能 智能驅(qū)動(dòng) BSP

北京2024年8月28日 /美通社/ -- 越來(lái)越多用戶希望企業(yè)業(yè)務(wù)能7×24不間斷運(yùn)行,同時(shí)企業(yè)卻面臨越來(lái)越多業(yè)務(wù)中斷的風(fēng)險(xiǎn),如企業(yè)系統(tǒng)復(fù)雜性的增加,頻繁的功能更新和發(fā)布等。如何確保業(yè)務(wù)連續(xù)性,提升韌性,成...

關(guān)鍵字: 亞馬遜 解密 控制平面 BSP

8月30日消息,據(jù)媒體報(bào)道,騰訊和網(wǎng)易近期正在縮減他們對(duì)日本游戲市場(chǎng)的投資。

關(guān)鍵字: 騰訊 編碼器 CPU

8月28日消息,今天上午,2024中國(guó)國(guó)際大數(shù)據(jù)產(chǎn)業(yè)博覽會(huì)開(kāi)幕式在貴陽(yáng)舉行,華為董事、質(zhì)量流程IT總裁陶景文發(fā)表了演講。

關(guān)鍵字: 華為 12nm EDA 半導(dǎo)體

8月28日消息,在2024中國(guó)國(guó)際大數(shù)據(jù)產(chǎn)業(yè)博覽會(huì)上,華為常務(wù)董事、華為云CEO張平安發(fā)表演講稱,數(shù)字世界的話語(yǔ)權(quán)最終是由生態(tài)的繁榮決定的。

關(guān)鍵字: 華為 12nm 手機(jī) 衛(wèi)星通信

要點(diǎn): 有效應(yīng)對(duì)環(huán)境變化,經(jīng)營(yíng)業(yè)績(jī)穩(wěn)中有升 落實(shí)提質(zhì)增效舉措,毛利潤(rùn)率延續(xù)升勢(shì) 戰(zhàn)略布局成效顯著,戰(zhàn)新業(yè)務(wù)引領(lǐng)增長(zhǎng) 以科技創(chuàng)新為引領(lǐng),提升企業(yè)核心競(jìng)爭(zhēng)力 堅(jiān)持高質(zhì)量發(fā)展策略,塑強(qiáng)核心競(jìng)爭(zhēng)優(yōu)勢(shì)...

關(guān)鍵字: 通信 BSP 電信運(yùn)營(yíng)商 數(shù)字經(jīng)濟(jì)

北京2024年8月27日 /美通社/ -- 8月21日,由中央廣播電視總臺(tái)與中國(guó)電影電視技術(shù)學(xué)會(huì)聯(lián)合牽頭組建的NVI技術(shù)創(chuàng)新聯(lián)盟在BIRTV2024超高清全產(chǎn)業(yè)鏈發(fā)展研討會(huì)上宣布正式成立。 活動(dòng)現(xiàn)場(chǎng) NVI技術(shù)創(chuàng)新聯(lián)...

關(guān)鍵字: VI 傳輸協(xié)議 音頻 BSP

北京2024年8月27日 /美通社/ -- 在8月23日舉辦的2024年長(zhǎng)三角生態(tài)綠色一體化發(fā)展示范區(qū)聯(lián)合招商會(huì)上,軟通動(dòng)力信息技術(shù)(集團(tuán))股份有限公司(以下簡(jiǎn)稱"軟通動(dòng)力")與長(zhǎng)三角投資(上海)有限...

關(guān)鍵字: BSP 信息技術(shù)
關(guān)閉
關(guān)閉