Implementation of a simple T9 input method (with code)

zhaozj2021-02-12  140

Article difficulty: beginners

The core program for T9 input method (provided by my friend NIX), a total of two files, one is nixinputmethod.h, and one is T9.c; see Appendix.

The implementation method of the specific input method is as follows:

1. First create a dialog box, then put two controls: IDC_EDIT1 and IDC_WORD (Static Control)

2. In order to implement one side in Edit, intelligent features will occur in STATIC, so our implementation is as follows:

a) Overload function PretranslateMessage so that it can capture all events in the keyboard, so its implementation is as follows:

BOOL CMY11DLG :: PretranslateMessage (MSG * PMSG)

{

Try {

CWND * pctrl = getfocus ();

/ *

* You can switch between cursor focus via ENTER

* /

IF (pmsg-> message == wm_keydown && getasynckeystate (vk_tab))

{

// Get the char index of the calet position

INT NPOS = loword (m_myeditctl.charfrompos (m_myeditctl.getcaretpos ()));

// Select Zero Chars

m_myeditctl.setsel (NPOS, NPOS);

// The Replace That Selection with a Tab

M_MyEditctl.ReplaceSel ("/ t", true);

// no need to do a msg translation, so quit.

// That Way No Further Processing Gets Done

Return True;

Else

IF (GetAsyncKeyState) // entry

{

Switch (PCTRL-> getdlgctrlid ()) {

Case IDOK:

IF (! reset) {

AfxMessageBox ("OK");

RESET = 1;

} else {

RESET = 0;

Getdlgitem (IDC_STATIC) -> setfocus ();

}

Break;

DEFAULT:

PMSG-> WPARAM = VK_TAB;

}

Else

/ *

* Select the first word by 1, 2, 3 ....

* /

IF (pmsg-> message == wm_keydown && (isdigit (pmsg-> wparam) || (pmsg-> wparam> 64 && pmsg-> wparam <91)) {

CString Str;

IF (Isdigit (PMSG-> WPARAM) {

Getdlgitem (IDC_WORD) -> getWindowText (STR);

Char * temp = str.getBuffer (100);

Char zi [3];

Zi [0] = Temp [2 * (PMSG-> WPARAM - 48) -2];

Zi [1] = Temp [2 * (PMSG-> WPARAM - 48) -1];

Zi [2] = '/ 0';

PCTRL-> SetwindowText (zi); str.releasebuffer ();

Return True;

}

Updatedata ();

PCTRL-> GetWindowText (STR);

Str = (PMSG-> WPARAM 32);

CshincoinputMethod Pime;

Getdlgitem (IDC_WORD) -> setWindowText (Pime.GetinputString ((unsigned char *) Str.getBuffer (100)))

Str.releaseBuffer ();

}

Return CDIALOG :: PretranslateMessage (PMSG);

} catch (...) {

// afxMessageBox ("Error");

}

Return True;

}

This will basically implement an input method. If you add the word library, you can realize something similar to intelligent ABC. Of course, you still need to work hard!

The above program is just the test, you can re-see the implementation of the input method, if you need code, please contact me.

appendix:

// NiXINPUTMETHOD.H: Interface for the cshincoinputMethod Class.

//

//

#if! defined (AFX_SHINCOINPUTMETHOD_H__40148888_4731_

4A

49_87cc_

4F

9cfcaf

77A

5__included_)

#define AFX_SHINCOINPUTMETHOD_H__40148888_4731_

4A

49_87cc_

4F

9cfcaf

77A

5__included_

#iF _MSC_VER> 1000

#pragma overce

#ENDIF / / 100 m _ _ _

Class CnixInputMethod

{

PUBLIC:

UNSIGNED long py_mb_begin;

CString getInputString (Byte Input_PY_VAL []);

BYTE * py_ime (byte input_py_val []);

CNIXINPUTMETHOD ();

Virtual ~ cnixinputmethod ();

}

#ENDIF /! Defined (AFX_SHINCOINPUTMETHOD_H__40148888_4731_

4A

49_87cc_

4F

9cfcaf

77A

5__included_)

/ *

* T9.c

* /

#include "stdafx.h"

#include "nixinputmethod.h"

BYTE PY_MB_A [] [255] =

{

{"Ah, 锕 锕 嗄 腌 腌"}

{"哀 唉 埃 挨 矮 矮 矮 爱"},

{"Animal Saze"}

{"盎 盎"},

{"The diamond"}

{"八 巴 扒 吧 捌 捌 捌 跋 跋 把 坝 坝 霸"}

{"Bai Bayi Bai defeated"}

{"Trenching the tangle to the plate version of the half companion dress"}

{"Bang helps tied to the top"},

{"Bao Yingxiao Bao Yibao"},

{"Hymnous mulberry mesh Beige 狈 背 背 倍 倍 被 焙 辈"}

{"Benbenbenzoly"},

{"Branches"}

{"Missing Noses than the pen, there must be barely to the brightest brightening righteous chest of the wall"}

{"Side-editing whip is flattering," {"标 膘"},

{"鳖 别"},

{"Bin Binbin Bin Bin"}

{"Icefrieva Bing Bing Cookies and disease"}

{"Dial Box Bear Spinach Poemlum Bo Bum Platinum Boxing Bo Chant Po"}

{"Replenishing the Prestige of the Book"}

{"礤礤"},

{"Guess the material financial guides"},

{"Participation of the disabled silkworm"}

{"Cang Chad"},

{"Wondering Cao Sullar Grass"}

{"Brochway side toilet test"}

{"Layer"}

{"Fork epithelial tea, obey the break, the battle is awkward"},

{"Demolition"},

{"Breaking 谗馋 蝉 产 产 阐"}

{"Chang mad intestines redefined often planting"},

{"Copy the bank" 嘲}}}

{"The car is stunned"},

{"尘 臣 沉 陈 陈 陈晨 衬"}

{"Strong to Cheng Chengcheng Take the Scales"}

{"Eat insertion pool, late, the level, the shame, the wings"},

{"Film Chong"}

{"The savage silk"} "}"}

{"Erroid of the kitchen pumped tinttrans in the middle of the city"}

{"surmise"},

{"Sichuan wear boat, asthma"},

{"风窗 创"},

{"Blowing the hammer"}

{"Chun Ying pure lips"}

{"stamp"},

{"词 慈 次 赐"}

{"Chimney from the Ruff Cong"}

{"Make up"},

{"Rough vinegar"}

{"蹿 蹿 窜"}

{"Cui Zone Treated Crisp Quaternary"}

{"Village memory"},

{"Learn the knockout"},

{"Great to the bump"}

{"Staying in the Dai Dai to take a lending bag"}

{"Dan single bursts, bold, Dan Dan, bounz, is a nitrogen"}

{"When a gender stating"}

{"Knife is island to push to the Epiry Rice"}

{"Delivery"}

{"Lamp and other Deng Heng"}

{"Di Di Di Enemy"} ,,,,,,,,,,,,,,,

{"掂 掂 点 点 佃 佃 佃 惦"}

{"刁 叼 钓"}

{"迭 迭 叠 碟 蝶"},

{"Ding Ding Nail Jings Ding Doubled ingot"}

{"throw"},

{"East Dong Dong Bo King Kong"}

{"Take the steep beans to eat acne"}

{"Shiyu read 犊 杜 杜 肚 镀"}

{"Terminal Short Dramatic Venus"},

{"Stack of"}

{"Tons of Dun Paddle Drop"}

{"More 掇 掇 朵 躲 剁 堕 惰 惰 跺"}

{"俄 娥 恶 饿 饿"}

{"Yep"},

{"Children's East bait two"},

{"I have a short punishment valve fault"},

{"Sailing flourifiable 钒 钒 钒 樊 反 返 犯 犯 饭 饭"}

{"Fangfang Fang Fa-imitedly ated for textile"}

{"Flying flyphi fertilizer wigwhere"}

{"Orientation of the fen's phlegm and phenolic burning"}

{"Fengfeng Maple Feng Feng Feng Feng Bee Feng Feng Feng Seiyeong"}

{"Buddha"},

{"no"},

{"Skin hatching Fogfu clothing fluct floato floats Fujian Fu Jing Fu Fufu 俯 俯 讣 妇 妇 附 附 复 复 复 副 副 傅 傅 妇 妇 赋 傅 傅 傅 傅 傅 妇 妇 妇 赋 傅 傅 傅 傅 傅 妇 妇 傅 傅 傅 傅 傅 妇 赋 赋 傅 傅 傅 傅 傅 妇 赋 赋 傅 傅 傅 傅 傅 傅 傅 傅 赋 赋 傅 傅 傅 傅 傅 傅 傅 赋 赋

{"噶"},

{"Change calcium cover"}

{"Ganzu liver citrus ruth to catch the stalk"} {"Ongoogang Opere Steel Harbor"}

{"高 高 篙 篙 稿 稿 稿 稿"}

{"Goshi's arm cuts the Ge Ge Guezes each chrome"}

{"give"},

{"Root"},

{"More Geng cultivated"}

{"Worker Bow Mechanics Gong Gong Gonggao Arch"}

{"Hook hook dog ingredients"}

{"Estimated 孤 孤 孤 菇 菇 古 古 古 股 鼓 固 故 故 顾 顾 顾 顾

{"剐 剐"},

{"拐 怪"},

{"Review Guan Guan Guan Guardian Tube"}

{"Guangdong Sone"},

{"归 规 规 轨 轨 鬼 刽 刽 刽 贵 贵 贵 贵 贵 贵 贵 贵 贵 贵

{"Roller"},

{"Guo Bo Guo Fang"}

{"哈"},

{"Sea Hai 氦"}

{"涵 寒 寒 韩 罕 罕 翰 翰 翰 翰 悍 悍 捍 捍 捍 捍 捍 悍

{"Hanghang"},

{"豪 好"}

{"喝 禾 阂 阂 阂 荷 盒 盒 褐 赫 鹤"}

{"Black 嘿"},

{"Trace is very hated"}

{"哼 恒 衡"}

{"Breaking the Honghong Honghong Honghong"}

{"Hou throat monkey"}}

{"Repelling the fox Huhu Lake Cry Cong Panning Mutual Households"}

{"Hua Hua 哗 滑 化 画"}

{"Huai Huai Run"}

{"Huan also contends to swear"}}

{"Washalastive Queen Huang Qihuang 煌 簧 簧 谎 谎"}

{"Sweeping Huhui Hui return to the regrettale flower union bribes bribes the bribes"}

{"Full wedding soul"}

{"Experienignone or Goods won the 霍"}

{"Strike the hungry machine, the giji foundation, the tattoo, the Ji Ji, the intensive 疾 集 集 籍 几 几 几 计 计 计 记 记 纪 妓 妓 妓 妓 妓 纪 寂 纪 寂 纪 纪 寂 寂 寂 寂 寂 寂 寂 寂 寂 纪 纪 纪 纪 纪 寂 寂 纪 寂 纪 寂 寂 寂 纪 寂 寂 纪Safety borrowing "}

{"Delta Jiajia Jiajia Brake"},

{"The talence of the talents and the difficulties and the people and the quarter, the cockroach, the cockroach, the scratch, the clear, the alkali, the son, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer]}

{"Jiang Jiang put the slurry of the stiff 4 mark"},

{"Extraudio Give Primer Genti Pepper Computer Reef Cunning Dump Pickup"} "

{"All the straw freely, the street festival, the joy, the joy, the sister, the sister, the next, the session"},

{"The towel is today, Jinjin gluten is only in the Jin Jinjin"},

{"Jing Jing Jingjing Jing Jing Jing Jingjing Whale Jiqi Jing Jingjing Spasmo"}

{""},

{"Cutting Jiu Jiu Long Moxibustion] 玖 酒 疚 就 舅 舅 舅 舅 舅 舅 舅 舅 舅 舅

{"Residential" 居 驹 咀 咀 沮 具 具 具 具 具 聚 聚

{"Juan donated"} "}

{"撅 诀 诀 绝"}

{"Army Junjun Junjun Junjun Jun"}

{"Coffee card"},

{"Kai Kai Yite"}

{"Snorker Kafan chop"}

{"慷 炕 炕"}

{"Testing"}

{"The Heping Coke" is coughing thirst for the cough "}

{"Ken Yu"}

{"吭 吭"},

{"Empty Personal Punch"}

{"抠口 寇"},

{"Cry Cave Bitter Cool"},

{"Broken Saturp"}

{"Block fast chopsticks"}

{"Wide"},

{"The basket is madness 矿 矿"}

{"Deep Wheel, Verde Kuxi Kui Dai Dai"}

{"Kun Kun Bundle"}

{"Imagine Outline"},

{"Lala Lay Shuttle"}, {"Lai Lai"}

{"Lan Block Yerwand Blue Blue Blue Basket Show to Lazy"}

{"Lang Wolf Gorge Yitang Language"}

{"Fishing Lao Dress Old 佬 涝 涝"}

{"Lele"}

{"Thunder and Lai Lei Lei Chair"}

{"Venkharfeng"},

{"Triflery 狸 莉 璃 璃 璃 礼 理 理 理 例 吏 吏 吏 吏 例 例 例 例 例 例 例 例 傈 傈" 傈 傈 傈 "

{"Curtain Patient Lianlian Lian Lian Decoction"},

{"Two Liangliang Liang Food Two Emergency Vehicles"}

{"辽 聊 僚 寥 廖 撩 撩 镣 撂"}

{"Columns are hunting"}

{"Neighboring forest Lin Lin Lin Lin Scales"},

{"灵 岭 领 另"}

{"Slow Liu Luo Yan Sulfurius Liu Liu"}

{"Lon Cage Trail Walridge"}

{"楼"}

{"Lunlu caucah craniolululum Lu Lu Lu Lu Lu Lu Lu Yun Yu"}

{"Twin 挛 滦 乱"}

{"略 锊"}

{"抡 抡 伦 纶 纶 轮 囵"}

{"Luo Luo Logu 箩 骡 裸 洛 洛 Luo Lu"}

{"Filter Lu Lu Lu Lu aluminum has repeatedly throwing the rate of green chloride"}

{"Mom Maima Code Anthematoes"}

{"Buying Mai Wai Wai"},

{"Barbariums are full of manda slower"}

{"Busy and Blind"}

{"Cat Mao Mao Anchor Rivent Courtyard"}

{"?"},

{"No Mei Mengmei Medium Coal Enzyme Magnesium Magnesium Girl"}

{"Diagon"}

{"Meng Leng Shumng Manganese Men Meng"}

{"Mili Mystery Ethers]} 蜜 蜜"}

{"Sleep cotton is free to bother,"

{"Milting Skill Simpike Sudden Contented Temple"}

{"Descending"},

{"Foot"}

{"Ming Ming Ming Ming"}

{"absurd"},

{"貉 貉 模 模 膜 摩磨 魔 抹 陌 寞 寞"}

{"Momi"}

{"Mother mu of peony thumbnomephiza grazing tomb"},

{"Where to Naña sodium"}

{"Nai milk 氖 Nai"}

{"Men's Difficult"}

{"bag"},

{"恼 脑 淖"},

{"}},

{"Lei"},

{"Tender"},

{"can"},

{"Ni Ni Ni Ni you intert forward"}

{"拈年 撵 撵 蔫 蔫"}

{"酿"},

{"Bird diaper"},

{"Pinch Nie Zene, nickel"},

{"you"},

{"Ning Runned Luffy"}

{"Bowb button"},

{"Agricultural Puzzle"}

{"努 怒"},

{"warm"},

{"Malarial"},

{"Normalo coward"},

{"Female"},

{"Oh"},

{"European Varudental"}

{"啪 琶 帕 帕"}

{"拍 排 牌 派"},

{"Pan Climlation" 盼 盼 "}

{"Bang Pen]}

{"Throwing drafting robe running"}

{"呸 embryos accompanying compensation with Pei Pei"}

{"Spraying"},

{"Temporary Points and Peng Sheds Boron"}

{"The batch of billets are peeled and tired, the hurts, the spleen, the fart"}

{"Slices of Definition"}

{"Boyflush scoop"}, {""},

{"Poor"}}

{"Ping Pingping Ping Ping Ping Ping Ping"}

{"Slope Pills is forcing" 魄 "}

{"Cross-section"},

{"仆 扑 铺 莆 菩 朴 圃 普 普 曝"}

{"Seven-teng and wife 栖 戚 祁 齐 其 奇 脐 脐 畦 畦 畦 讫 汽 汽 企 企 企 企 企 企 企 企 企 企 乞 企 砌 砌 砌 砌 砌 砌 砌 砌 器 砌 器

{"Just"},

{"Thousands of 仟 扦 前 前 钱 钱

{"羌 枪 腔 强 wall rose"}

{"Snewing the whisper, Qiao Qiaqiao, squatting"},

{"Take the cucumbers"},

{"Acudieo Qinqin Qinqin Poultry Document"}

{"Qingyang Light Qingqing Qingqingqing Ho Hook Please celebrate"}

{"Poven"},

{"Qiu Qiu Qiushu" 泅 Emirates "}

{"District song drives and flexed body to take the tend to fume"}

{"Total Springs Boxing"}

{"Alkyne deficiency but star}"}

{"Skirt"},

{"然 然 冉"},

{"瓤 瓤 攘 让"}

{"Rap around"},

{"热 喏"}

{"People Ren Ren 忍 刃 认 任 任 妊"}

{"Throwing still"},

{"Japanese 驲"},

{"Delveaser"}}}

{"Soft meat"},

{"Ru Ru Ru's wigs are insulting"},

{"软"},

{"Ruirui"}

{"润"},

{"If weak"},

{"Sprinkle"},

{"鳃 鳃"}

{"Three 叁 umbrelles"}

{"Mulberry"}

{"嫂 嫂"}

{"Color 瑟"},

{"Sen"},

{"monk"},

{"Killing Sanda Sanda Stupid Brake"},

{"Sintering"}

{"Mountain punch, Shan, San Shantou, Shanxi, good, good, etc."}

{"Injured business, reward,"

{"Tellar Burning Squeezing Meries Shaoyu"}

{"赊 赊 舍 社 社"}

{"Applying to the body of arsenic arsenic arsenal deep and deep 婶 婶 婶 渗 什"}

{"Sheng Sheng Sheng Sheng Win"},

{"Spoon Dramato Shi Shi Shi Shishi Ten Stone Time Life Pickups History History Sitting Sitting Sitting Sites Winning Wipe Winking Tommatmat Tommatmatmat Tommon Short Diverts Shattening "}

{"Close to the first life is being sold in the sale"}

{"Book 抒 叔 叔 淑 蔬 蔬 蔬 孰 署 署 署 署 署 数 数 属 数 数 属 属 属 数 数 数 数 数

{"Brush"},

{"Decoy"},

{"栓"},

{"Double Frost"},

{"Who is sleeping"},

{"顺 舜"},

{"Swit"}

{"Si Division's private screams to tear the four temples"}

{"Pine Title Song Delivery"}

{"搜 艘 擞"}

{"Soviet crocked Su Su Sui"}

{"Chute"}

{"Although it is tunes with my heart,"

{"Grandfast shoot"}

{"Somymate stimulation"}

{"She is collapsed,"} 蹋 "}

{"Fettale Radai Lifting Timely Thai"}

{"贪 摊 滩 谭 谭 檀

{"Tang Tang Tang Tang Yugu, if you are lying"}

{"涛 掏 掏 滔 陶 陶 套"},

{"特 忑 铽慝"},

{"The pain of the 誊 誊"}, {"提 提 题 题 屉 屉 剃 惕"

{"Tiantian Tian Yu Fill"}

{"Tune the challenge to jump"}

{"Iron Stickers"}

{"Hall Tinti Resurgent Ting Ting Ting Stocard"},

{"Tongxiang Tong copper tannone keto 捅 捅"},

{"Peeling Head and Penetration"}

{"Circumatic Mutan Puzzle Tu"},

{"Hills"}

{"Pulling the legs to fade"}

{"Swallowing hips"}

{"Trusted to the ostrich" 鸵 驼 驼 拓 拓 "}

{"Wowbow Digs Frog Socks"}

{"外 外"},

{"Bending Goss of Pegs Tuning" 皖 万 万 "}

{"Wang Dynasty Wang network to the hope"},

{"The dangerous micro-horror is Weiwei, Wei Wei, Wei Wei, the Wei Wei, the fake, the martial arts, is not a taste of the stomach,"},

{"Wenye Wenxiao Night"}

{"嗡"},

{"Lod Vortex"} 卧 握 "}

{"Wuwu 呜巫 屋 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无 无

{"Xiqi Xi Xi Xiqi is sacrificed, the cheriene, the rhuburbate, Xi Xi, the smart, the joy, the joy, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer, the singer]

{"Shrimp, Xia Zhenxia, ​​Xiansha, Shaped,"}

{"Milling Fairy First Fibli and Wonderful Scenery Savory Sauquin Syndrome Premium Shipping Constitutional Film"}

{"Township Xiangxiang Xiangboxiang inlaid inquiry Xiangxiang Enjoy the Symption to the Alley"},

{"Lian Yi Xiao Deni Sales 小小 孝 肖 肖 校 校 校 校 校"}

{"Some Wedges, the evil spirits, the sneakers, and diarrhea and ungenerated chips Xie imitation crabs"},

{"Heart Xin Xin Xin Zinc new salary"}

{"Xingxing 惺 形 型 幸 性"}

{"The brothers and hui brai bear"}

{"Summer is mirror, embroidered embroidery, rust"},

{"虚 虚 需 许 序 序 绪 绪 吁 吁 吁"}

{"Xuan Xuan] 癣 癣 绚"}

{"Shark Xue School Snow Blood"}

{"旬 旬 讯 讯 讯 讯 讯 讯 讯"}

{"丫 压 呀 牙 崖 崖 衙 衙 衙" 衙 亚 亚 亚 亚 亚 亚

{"Sterling, Yan Yan, Yan Yan, Yan Yan, Yan Yan, Yan Yan, Dream, Daiyan,"},

{"Central Rushing Yang Yang Yang Yang Yan Yang Yang Yang Yang Sample"}

{"侥 腰 尧 尧 摇 钥 钥 钥 钥 钥 钥 钥 钥 钥 钥

{"Coconut Yeye Yeye Yeye Leaf Page Night Tights"}

{"Yi Yi Yi Yi Yi Yi Yi Yi Yiyi Pulling Run Run Run" has been in the chair of Huiyi Yi Yi Yi Yi Yi Yi Yao Xiyi easy to overflow肄 肄 毅 翼 "}

{"Because of the Yin Yin Yin Yin Yin Yin Yin Yin]}

{"Yingying Baby Cherry Eagle Ying Ying Ying Ying Fang Ying Yingying"}

{"Yo"},

{"Commissioning, 痈 雍 雍 咏 咏"}

{"Excellent and sorrowful esteil of the oily, uranium tourants, have a prayer,"},

{"Dredienly 渝 渝 余 愉 愉 愚 榆 榆 舆 舆 语 语 语 育 育 育 育 育 育 育 御

{"渊 元 元 垣 原 Yuan Yuan Yuan Yuan Yuanyuan Yuanyuan Yuanyuan"}

{"约 月 岳 岳 阅 粤 粤"},

{"Yun Yun 郧 耘 允 允 运 运"}

{"咋 咋 咋"}

{"The disaster planting slaughter is again"},

{"赞 赞"},

{"Cunning"},

{"Worse chisel early jujube 蚤 藻 藻 皂 皂 造 燥"}

{"Select Ze Ze Zuo"}

{"thief"},

{"How"},

{"Gaze"},

{"Scrupine Zaza rolling 铡 乍 乍 乍 柞"}

{"Zhaizhao 宅 翟 narrow net village"}

{"Zhan felt stick Zhan Zhanzhuo 盏 崭 战 栈 站 站"}} "} {" Chang Zhang Zhang Zhangzhang Chang Yizhun "}

{"Zhao Zhao finds the biogue Zhao Zhaozhao Cup"},

{"Showing the species of 锗 这"}

{"The needle detects Zhenzhen anvil Xuan Xue diagnosed pillow championship town shock frame"}

{"Strue 怔 earn steamed and steaming and sprouting Zheng Zheng Zheng"}

{"The juice Chri-branch Zhiwa limb fat is a gimmick of the grain granules of the plant, the paper refers to the Zhi Zhi, the 炙 挚 秩 致 掷" 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔 痔

{"Zhongzhong's end 盅 衷 衷 衷"}

{"State boat Zhouzhou porridge axis arms"},

{"Zhu Zhuzhu Pearl Pig Consisher Bamboo Cand Cand Cand Candy Boys Help Note Storage Pillar wish to cast"}

{"Grab"},

{""},

{"Special brick transfer"}

{"Charger of makeup piles"}

{"Character cone falling"}

{"谆 谆"},

{"Zhuozhen table burden"}

{"兹 资 字 字 自"}

{"Conversion Bristate"}

{"Zou Yun"},

{"Lease Face Strip Team Group Ancestors"}

{"Making Drill"}

{"The most evil drunk"}

{"Respect"},

{"Sitting in Zuo Wei yesterday"}

}

//index:

BYTE PY_DEX_A [] [9] = {

{0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0xFF, 0x00, 0x00},

{'n', 0x20, 0x20, 0x20, 0x20, 0x20, 0xFe, 0x01, 0x00},

{'n', 'g', 0x20, 0x20, 0x20, 0x20, 0xfd, 0x02, 0x00},

{'o', 0x20, 0x20, 0x20, 0x20, 0x20, 0xfc, 0x03, 0x00}

}

BYTE PY_DEX_B [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0xfb, 0x04, 0x00},

{'a', 'I', 0x20, 0x20, 0x20, 0x20, 0xfa, 0x05, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xf9, 0x06, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xf8, 0x07, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0xf7, 0x08, 0x00},

{'E', 'I', 0x20, 0x20, 0x20, 0x20, 0xF6, 0x09, 0x00},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0xf5,0x

0A

, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xF4, 0x0b, 0x00},

{'I', 0x20, 0X20, 0X20, 0X20, 0X20, 0XF3, 0x

0C

, 0x00},

{'I', 'A', 'N', 0x20, 0X20, 0X20, 0xF2, 0x0D, 0x00},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0xf1, 0x0e, 0x00},

{'I', 'E', 0x20, 0x20, 0x20, 0x20, 0xF0, 0x0f

, 0x00},

{'i', 'n', 0x20, 0x20, 0x20, 0x20, 0xef, 0x10, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0xee, 0x11, 0x00},

{'o', 0x20, 0x20, 0x20, 0x20, 0x20, 0xed, 0x12, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0xec, 0x13, 0x00}

}

BYTE PY_DEX_C [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0xeb, 0x14, 0x00},

{'A', 'I', 0x20, 0X20, 0x20, 0X20, 0XEA, 0x15, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xe9, 0x16, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xe8, 0x17, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0xe7, 0x18, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0xe6, 0x19, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xe5, 0x

1A

, 0x00},

{'h', 'a', 0x20, 0x20, 0x20, 0x20, 0xe4, 0x1b, 0x00},

{'h', 'a', 'i', 0x20, 0x20, 0x20, 0xe3, 0x

1C

, 0x00},

{'h', 'a', 'n', 0x20, 0x20, 0x20, 0xe2, 0x1d, 0x00},

{'h', 'a', 'n', 'g', 0x20, 0x20, 0xe1, 0x1e, 0x00},

{'h', 'a', 'o', 0x20,0x20,0x20,0 xe0, 0x

Allf

, 0x00},

{'h', 'e', ​​0x20, 0x20, 0x20, 0x20, 0xDF, 0x20, 0x00},

{'h', 'e', ​​'n', 0x20, 0x20, 0x20, 0xde, 0x21, 0x00},

{'h', 'e', ​​'n', 'g', 0x20, 0x20, 0xDD, 0x22, 0x00},

{'h', 'i', 0x20, 0x20, 0x20, 0x20, 0xDC, 0x23, 0x00},

{'h', 'o', 'n', 'g', 0x20, 0x20, 0xDB, 0x24, 0x00},

{'h', 'o', 'u', 0x20, 0x20, 0x20, 0xDa, 0x25, 0x00},

{'h', 'u', 0x20, 0x20, 0x20, 0x20, 0xD9, 0x26, 0x00},

{'h', 'u', 'a', 'i', 0x20, 0x20, 0xD8, 0x27, 0x00},

{'h', 'u', 'a', 'n', 0x20, 0x20, 0xD7, 0x28, 0x00}, {'h', 'u', 'a', 'n', 'g', 0x20 , 0xD6, 0x29, 0x00},

{'h', 'u', 'i', 0x20, 0x20, 0x20, 0x2X

2A

, 0x00},

{'h', 'u', 'n', 0x20, 0x20, 0x20, 0xD4, 0x2b, 0x00},

{'h', 'u', 'o', 0x20,0x20,0x20,0x2,0x

2C

, 0x00},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0xD2, 0x2D, ​​0x00},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0xd1, 0x2e, 0x00},

{'o', 'u', 0x20, 0x20,0x20,0x20,0x0,0x

2F

, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0xcf, 0x30, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0xce, 0x31, 0x00},

{'u', 'i', 0x20, 0x20, 0x20, 0x20, 0xcd, 0x32, 0x00},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0xcc, 0x33, 0x00},

{'u', 'o', 0x20, 0x20, 0x20, 0x20, 0xcb, 0x34, 0x00}

}

BYTE PY_DEX_D [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0xca, 0x35, 0x00},

{'A', 'I', 0x20, 0x20, 0x20, 0x20, 0xc9, 0x36, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xc8, 0x37, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xc7, 0x38, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0xc6, 0x39, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0xc5, 0x

3A

, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xc4, 0x3b, 0x00},

{'i', 0x20, 0x20, 0x20, 0x20, 0x20, 0xc3, 0x

3C

, 0x00},

{'I', 'A', 'N', 0x20, 0X20, 0X20, 0XC2, 0X3D, 0x00},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0xc1, 0x3e, 0x00},

{'I', 'E', 0x20, 0X20, 0X20, 0X20, 0XC0, 0X

3F

, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0xBF, 0x40, 0x00},

{'I', 'u', 0x20, 0x20, 0x20, 0x20, 0xbe, 0x41, 0x00}, {'o', 'n', 'g', 0x20, 0x20, 0x20, 0xbd, 0x42, 0x00},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0xbc, 0x43, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0xbb, 0x44, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0xba, 0x45, 0x00},

{'u', 'i', 0x20, 0x20, 0x20, 0x20, 0xb9, 0x46, 0x00},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0xb8, 0x47, 0x00},

{'u', 'o', 0x20, 0x20,0x20,0x20,0xb7,0x48,0x00}

}

BYTE PY_INDEX_E [] [9] = {

{0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0xB6, 0x49, 0x00},

{'n', 0x20, 0x20, 0x20, 0x20, 0x20, 0xb5,0x

4A

, 0x00},

{'r', 0x20, 0x20, 0x20, 0x20, 0x20, 0xB4, 0X4B, 0x00}

}

BYTE PY_DEX_F [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0xB3, 0x

4C

, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xB2, 0x4D, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xb1, 0x4e, 0x00},

{'E', 'I', 0x20, 0X20, 0X20, 0X20, 0XB0, 0X

4F

, 0x00},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0xAF, 0x50, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xae, 0x51, 0x00},

{'o', 0x20, 0x20, 0x20, 0x20, 0x20, 0xAD, 0x52, 0x00},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0xAc, 0x53, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0XAb, 0x54, 0x00}

}

BYTE PY_INDEX_G [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0xaa, 0x55, 0x00},

{'A', 'I', 0x20, 0x20, 0x20, 0x20, 0xA9, 0x56, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xA8, 0x57, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xa7, 0x58, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0xa6, 0x59, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0xa5, 0x

5A

, 0x00},

{'E', 'I', 0x20, 0X20, 0X20, 0x20, 0XA4, 0X5B, 0x00}, {'e', 'n', 0x20, 0x20, 0x20, 0x20, 0xa3, 0x

5C

, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xa2, 0x5d, 0x00},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0xa1, 0x5e, 0x00},

{'o', 'u', 0x20,0x20,0x20,0x20,0xa0,0x

5F

, 0x00},

{'u', 0x20,0x20,0x20,0x20,0x20,0x

9f

0x60, 0x00},

{'u', 'a', 0x20, 0x20, 0x20, 0x20, 0x9e, 0x61, 0x00},

{'u', 'a', 'i', 0x20, 0x20, 0x20, 0x9d, 0x62, 0x00},

{'u', 'a', 'n', 0x20, 0x20,0x20,0x

9C

0x63, 0x00},

{'u', 'a', 'n', 'g', 0x20, 0x20, 0x9b, 0x64, 0x00},

{'u', 'I', 0x20, 0x20, 0x20, 0x20, 0x

9A

0x65, 0x00},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0x99, 0x66, 0x00},

{'u', 'o', 0x20, 0x20,0x20,0x20,0x98,0x67,0x00}

}

BYTE PY_DEX_H [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0x97, 0x68, 0x00},

{'A', 'I', 0x20, 0x20, 0x20, 0x20, 0x96, 0x69, 0x00},

{'A', 'N', 0x20, 0X20, 0X20, 0X20, 0X95, 0X

6A

, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x94, 0x6b, 0x00},

{'a', 'o', 0x20, 0x20,0x20,0x20,0x93,0x

6C

, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0x92, 0x6d, 0x00},

{'e', 'I', 0x20, 0x20, 0x20, 0x20, 0x91, 0x6e, 0x00},

{'E', 'N', 0x20, 0X20, 0X20, 0X20, 0X90, 0X

6F

, 0x00},

{'e', 'n', 'g', 0x20, 0x20,0x20,0x

8f

0x70, 0x00},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0x8e, 0x71, 0x00},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0x8d, 0x72, 0x00},

{'u', 0x20,0x20,0x20,0x20,0x20,0x

8C

, 0x73, 0x00},

{'u', 'a', 0x20, 0x20, 0x20, 0x20, 0x8b, 0x74, 0x00},

{'u', 'a', 'i', 0x20, 0x20, 0x20, 0x8a

0x75, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0x89, 0x76, 0x00},

{'u', 'a', 'n', 'g', 0x20, 0x20, 0x88, 0x77, 0x00},

{'u', 'i', 0x20, 0x20, 0x20, 0x20, 0x87, 0x78, 0x00},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0x86, 0x79, 0x00},

{'u', 'o', 0x20, 0x20, 0x20,0x20,0x85,0x

7A

, 0x00}

}

BYTE PY_INDEX_J [] [9] = {

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0x84, 0x7b, 0x00},

{'I', 'A', 0x20, 0x20,0x20,0x20,0x83,0x

7C

, 0x00},

{'i', 'a', 'n', 0x20, 0x20, 0x20, 0x82, 0x7d, 0x00},

{'I', 'A', 'N', 'g', 0x20, 0x20, 0x81, 0x7e, 0x00},

{'I', 'A', 'O', 0x20,0x20,0x20,0x80,0x

7f

, 0x00},

{'I', 'E', 0x20, 0x20, 0x20, 0x20, 0x

7f

0x80, 0x00},

{'I', 'n', 0x20, 0x20, 0x20, 0x20, 0x7e, 0x81, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0x7d, 0x82, 0x00},

{'I', 'O', 'N', 'G', 0x20, 0X20, 0X

7C

, 0x83, 0x00},

{'I', 'u', 0x20, 0x20, 0x20, 0x20, 0x7b, 0x84, 0x00},

{'u', 0x20,0x20,0x20,0x20,0x20,0x

7A

0x85, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0x79, 0x86, 0x00},

{'u', 'e', ​​0x20, 0x20, 0x20, 0x20, 0x78, 0x87, 0x00},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0x77, 0x88, 0x00}

}

Byte py_index_k [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0x76, 0x89, 0x00},

{'A', 'I', 0x20, 0x20, 0x20, 0x20, 0x75, 0x

8A

, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0x74, 0x8b, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x73, 0x

8C

, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0x72, 0x8d, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0x71, 0x8e, 0x00}, {'e', 'n', 0x20, 0x20, 0x20, 0x20, 0x70, 0x

8f

, 0x00},

{'e', 'n', 'g', 0x20, 0x20,0x20,0x

6F

, 0x90, 0x00},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0x6e, 0x91, 0x00},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0x6d, 0x92, 0x00},

{'u', 0x20,0x20,0x20,0x20,0x20,0x

6C

0x93, 0x00},

{'u', 'a', 0x20, 0x20, 0x20, 0x20, 0x6b, 0x94, 0x00},

{'u', 'a', 'i', 0x20, 0x20, 0x20,0x

6A

0x95, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0x69, 0x96, 0x00},

{'u', 'a', 'n', 'g', 0x20, 0x20, 0x68, 0x97, 0x00},

{'u', 'i', 0x20, 0x20, 0x20, 0x20, 0x67, 0x98, 0x00},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0x66, 0x99, 0x00},

{'u', 'o', 0x20, 0x20,0x20,0x20,0x65,0x

9A

, 0x00}

}

BYTE PY_INDEX_L [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0x64, 0x9b, 0x00},

{'a', 'I', 0x20, 0x20, 0x20, 0x20, 0x63, 0x

9C

, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0x62, 0x9d, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x61, 0x9e, 0x00},

{'a', 'o', 0x20, 0x20,0x20,0x20,0x60,0x

9f

, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20,0x

5F

0xA0, 0x00},

{'e', 'I', 0x20, 0x20, 0x20, 0x20, 0x5e, 0xA1, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0x5d, 0xA2, 0x00},

{'I', 0x20, 0X20, 0X20, 0X20, 0X20, 0X

5C

0xA3, 0x00},

{'I', 'A', 'N', 0x20, 0X20, 0X20, 0X5B, 0xA4, 0x00},

{'I', 'A', 'N', 'G', 0x20, 0x20, 0X

5A

0xA5, 0x00},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0x59, 0xA6, 0x00},

{'I', 'E', 0x20, 0x20, 0xA7, 0x00}, {'I', 'N', 0x20, 0X20, 0X20, 0X20, 0X57, 0XA8, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0x56, 0xA9, 0x00},

{'I', 'u', 0x20, 0x20, 0x20, 0x20, 0x55, 0xaa, 0x00},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0x54, 0xAb, 0x00},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0x53, 0xAc, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0x52, 0xAD, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0x51, 0xae, 0x00},

{'u', 'e', ​​0x20, 0x20, 0x20, 0x20, 0x50, 0xAF, 0x00},

{'u', 'n', 0x20, 0x20,0x20,0x20,0x

4F

0xB0, 0x00},

{'u', 'o', 0x20, 0x20, 0x20, 0x20, 0x4e, 0xB1, 0x00},

{'v', 0x20, 0x20, 0x20, 0x20, 0x20, 0x4d, 0xB2, 0x00}

}

BYTE PY_DEX_M [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0x

4C

0xB3, 0x00},

{'A', 'I', 0x20, 0x20, 0x20, 0x20, 0x4b, 0xB4, 0x00},

{'a', 'n', 0x20, 0x20,0x20,0x20,0x

4A

0xB5, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x49, 0xB6, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0x48, 0xB7, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0x47, 0xB8, 0x00},

{'e', 'I', 0x20, 0x20, 0x20, 0x20, 0x46, 0xB9, 0x00},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0x45, 0xba, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0x44, 0xbb, 0x00},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0X43, 0XBC, 0x00},

{'I', 'A', 'N', 0x20, 0X20, 0X20, 0X42, 0XBD, 0x00},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0x41, 0xbe, 0x00},

{'i', 'e', ​​0x20, 0x20, 0x20, 0x20, 0x40, 0xbf, 0x00},

{'I', 'N', 0x20, 0X20, 0x20, 0X20, 0X

3F

0xc0, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0x3e, 0xc1, 0x00}, {'i', 'u', 0x20, 0x20, 0x20, 0x20, 0x3d, 0xc2,0x00},

{'o', 0x20,0x20,0x20,0x20,0x20,0x

3C

, 0xc3, 0x00},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0x3b, 0xc4, 0x00},

{'u', 0x20,0x20,0x20,0x20,0x20,0x

3A

0xC5, 0x00}

}

BYTE PY_INDEX_N [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0x39, 0xc6, 0x00},

{'A', 'I', 0x20, 0x20, 0x20, 0x20, 0x38, 0xc7, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0x37, 0xc8, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x36, 0xc9, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0x35, 0xca, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0x34, 0xcb, 0x00},

{'e', 'I', 0x20, 0x20, 0x20, 0x20, 0x33, 0xcc, 0x00},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0x32, 0xcd, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0x31, 0xce, 0x00},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0x30, 0xcf, 0x00},

{'I', 'A', 'N', 0x20, 0x20, 0X20, 0X

2F

0xD0, 0x00},

{'I', 'A', 'N', 'g', 0x20, 0x20, 0x2e, 0xD1, 0x00},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0x2d, 0xD2, 0x00},

{'I', 'E', 0x20, 0x20, 0x20, 0x20, 0x

2C

0xD3, 0x00},

{'I', 'n', 0x20, 0x20, 0x20, 0x20, 0x2b, 0xD4, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20,0x

2A

0xD5, 0x00},

{'I', 'u', 0x20, 0x20, 0x20, 0x20, 0x29, 0xD6, 0x00},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0x28, 0xD7, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0x27, 0xD8, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0x26, 0xD9, 0x00},

{'u', 'e', ​​0x20, 0x20, 0x20, 0x20, 0x25, 0xDa, 0x00},

{'u', 'o', 0x20, 0x20, 0x20, 0x00}, {'v', 0x20, 0x20, 0x20, 0x20, 0x20, 0x23, 0xDc, 0x00}

}

BYTE PY_DEX_O [] [9] = {

{0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x22, 0xDD, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0x21, 0xde, 0x00}

}

BYTE PY_DEX_P [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0xDF, 0x00},

{'a', 'I', 0x20, 0x20, 0x20, 0x20, 0x

Allf

0xE0, 0x00},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0x1e, 0xe1, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x1d, 0xE2, 0x00},

{'a', 'o', 0x20, 0x20,0x20,0x20,0x

1C

0xE3, 0x00},

{'e', 'I', 0x20, 0x20, 0x20, 0x20, 0x1b, 0xE4, 0x00},

{'E', 'N', 0x20, 0X20, 0X20, 0X20, 0X

1A

0xE5, 0x00},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0x19, 0xe6, 0x00},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0x18, 0xE7, 0x00},

{'i', 'a', 'n', 0x20, 0x20, 0x20, 0x17, 0xe8, 0x00},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0x16, 0xE9, 0x00},

{'I', 'E', 0x20, 0X20, 0X20, 0X20, 0X15, 0XEA, 0x00},

{'i', 'n', 0x20, 0x20, 0x20, 0x20, 0x14, 0xeb, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0x13, 0xec, 0x00},

{'o', 0x20, 0x20, 0x20, 0x20, 0x20, 0x12, 0xed, 0x00},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0x11, 0xee, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0x10, 0xef, 0x00}

}

BYTE PY_INDEX_Q [] [9] = {

{'I', 0x20, 0X20, 0X20, 0X20, 0X20, 0X

0F

0xF0, 0x00},

{'i', 'a', 0x20, 0x20, 0x20, 0x20, 0x0e, 0xf1, 0x00},

{'I', 'A', 'N', 0x20, 0X20, 0X20, 0X0D, 0xF2, 0x00},

{'I', 'A', 'N', 'G', 0x20, 0x20, 0X

0C

0xF3, 0x00},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0x0b, 0xF4, 0x00},

{'I', 'E', 0x20, 0x20, 0x20, 0x20, 0x

0A

0xF5, 0x00},

{'I', 'N', 0x20, 0x20, 0x20, 0x20, 0x09, 0xF6, 0x00},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0x08, 0xF7, 0x00},

{'I', 'o', 'n', 'g', 0x20, 0x20, 0x07, 0xF8, 0x00},

{'I', 'u', 0x20, 0x20, 0x20, 0x20, 0x06, 0xf9, 0x00},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0x05, 0xfa, 0x00},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0x04, 0xfb, 0x00},

{'u', 'e', ​​0x20, 0x20, 0x20, 0x20, 0x03, 0xfc, 0x00},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0x02, 0xfd, 0x00}

}

BYTE PY_DEX_R [] [9] = {

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0x01, 0xFe, 0x00},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x00, 0xff, 0x00},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0xff, 0xff, 0x00},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0xff, 0x00, 0x01},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0xFe, 0x01, 0x01},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xfd, 0x02, 0x01},

{'i', 0x20, 0x20, 0x20, 0x20, 0x20, 0xFc, 0x03, 0x01},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0xfb, 0x04, 0x01},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0xfa, 0x05, 0x01},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0xF9, 0x06, 0x01},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0xf8, 0x07, 0x01},

{'u', 'i', 0x20, 0x20, 0x20, 0x20, 0xf7, 0x08, 0x01},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0xF6, 0x09, 0x01},

{'u', 'o', 0x20, 0x20,0x20,0x20,0xf5,0x

0A

, 0x01}

}

BYTE PY_DEX_S [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0xF4, 0x0b, 0x01},

{'a', 'I', 0x20, 0x20, 0x20, 0x20, 0xf3,0x

0C

0x01},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xf2,0x0d, 0x01},

{'A', 'N', 'g', 0x20, 0x20, 0x20, 0xF1, 0x0e, 0x01}, {'A', 'o', 0x20, 0x20, 0x20, 0x20, 0xF0, 0xF, 0x01},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0xef, 0x10, 0x01},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0xee, 0x11, 0x01},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xed, 0x12, 0x01},

{'h', 'a', 0x20, 0x20, 0x20, 0x20, 0xec, 0x13, 0x01},

{'h', 'a', 'i', 0x20, 0x20, 0x20, 0xeb, 0x14, 0x01},

{'h', 'a', 'n', 0x20, 0x20, 0x20, 0xea, 0x15, 0x01},

{'h', 'a', 'n', 'g', 0x20, 0x20, 0xe9, 0x16, 0x01},

{'h', 'a', 'o', 0x20, 0x20, 0x20, 0xe8, 0x17, 0x01},

{'h', 'e', ​​0x20, 0x20, 0x20, 0x20, 0xe7, 0x18, 0x01},

{'h', 'e', ​​'n', 0x20, 0x20, 0x20, 0xe6, 0x19, 0x01},

{'h', 'e', ​​'n', 'g', 0x20, 0x20, 0xe5, 0x

1A

0x01},

{'h', 'i', 0x20, 0x20, 0x20, 0x20, 0xE4, 0x1b, 0x01},

{'h', 'o', 'u', 0x20, 0x20, 0x20, 0xe3, 0x

1C

0x01},

{'h', 'u', 0x20, 0x20, 0x20, 0x20, 0xe2, 0x1d, 0x01},

{'h', 'u', 'a', 0x20, 0x20, 0x20, 0xe1, 0x1e, 0x01},

{'h', 'u', 'A', 'I', 0x20, 0X20, 0XE0, 0X

Allf

0x01},

{'h', 'u', 'a', 'n', 0x20, 0x20, 0xDF, 0x20, 0x01},

{'h', 'u', 'a', 'n', 'g', 0x20, 0xde, 0x21, 0x01},

{'h', 'u', 'i', 0x20, 0x20, 0x20, 0xDD, 0x22, 0x01},

{'h', 'u', 'n', 0x20, 0x20, 0x20, 0xDc, 0x23, 0x01},

{'h', 'u', 'o', 0x20, 0x20, 0x20, 0xDb, 0x24, 0x01},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0xDa, 0x25, 0x01},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0xD9, 0x26, 0x01},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0xD8, 0x27, 0x01}, {'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0xD7, 0x28, 0x01},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0xD6, 0x29, 0x01},

{'u', 'I', 0x20, 0x20, 0x20, 0x20, 0xD5, 0x

2A

0x01},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0xD4, 0x2b, 0x01},

{'u', 'o', 0x20, 0x20,0x20,0x20,0x0x0x

2C

, 0x01}

}

BYTE PY_DEX_T [] [9] = {

{'A', 0x20, 0x20, 0x20, 0x20, 0x20, 0xD2, 0x2d, 0x01},

{'A', 'I', 0x20, 0x20, 0x20, 0x20, 0xD1, 0x2e, 0x01},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xd0, 0x

2F

0x01},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xcf, 0x30, 0x01},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0xce, 0x31, 0x01},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0xcd, 0x32, 0x01},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xcc, 0x33, 0x01},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0XCB, 0x34, 0x01},

{'I', 'A', 'N', 0x20, 0X20, 0X20, 0XCA, 0x35, 0x01},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0xc9, 0x36, 0x01},

{'I', 'E', 0x20, 0x20, 0x20, 0x20, 0xc8, 0x37, 0x01},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0xc7, 0x38, 0x01},

{'o', 'n', 'g', 0x20, 0x20, 0x20, 0xc6, 0x39, 0x01},

{'o', 'u', 0x20, 0x20,0x20,0x20,0xc5,0x

3A

0x01},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0xc4, 0x3b, 0x01},

{'u', 'a', 'n', 0x20, 0x20,0x20,0xc3,0x

3C

0x01},

{'u', 'i', 0x20, 0x20, 0x20, 0x20, 0xc2, 0x3d, 0x01},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0xc1, 0x3e, 0x01},

{'u', 'o', 0x20, 0x20,0x20,0x20,0xc0,0x

3F

, 0x01}

}

BYTE PY_INDEX_W [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0xbf, 0x40, 0x01},

{'A', 'I', 0x20, 0X20, 0X20, 0X20, 0XBe, 0x41, 0x01}, {'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xBd, 0x42, 0x01},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xbc, 0x43, 0x01},

{'e', 'i', 0x20, 0x20, 0x20, 0x20, 0xbb, 0x44, 0x01},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0xba, 0x45, 0x01},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0xb9, 0x46, 0x01},

{'o', 0x20, 0x20, 0x20, 0x20, 0x20, 0xB8, 0X47, 0x01},

{'u', 0x20, 0x20, 0X20, 0X20, 0X20, 0XB7, 0X48, 0X01}

}

BYTE PY_INDEX_X [] [9] = {

{'I', 0x20, 0x20, 0X20, 0X20, 0X20, 0XB6, 0X49, 0x01},

{'I', 'A', 0x20, 0X20, 0x20, 0x20, 0XB5, 0X

4A

0x01},

{'I', 'A', 'N', 0x20, 0X20, 0X20, 0XB4, 0X4B, 0x01},

{'I', 'A', 'N', 'G', 0x20, 0x20, 0XB3, 0X

4C

0x01},

{'I', 'A', 'o', 0x20, 0x20, 0x20, 0xB2, 0X4D, 0x01},

{'I', 'E', 0x20, 0x20, 0x20, 0x20, 0xB1, 0x4e, 0x01},

{'I', 'N', 0x20, 0X20, 0X20, 0X20, 0XB0, 0X

4F

0x01},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0xAF, 0x50, 0x01},

{'I', 'O', 'N', 'g', 0x20, 0x20, 0xae, 0x51, 0x01},

{'I', 'u', 0x20, 0x20, 0x20, 0x20, 0xAD, 0x52, 0x01},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0xAc, 0x53, 0x01},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0xAb, 0x54, 0x01},

{'u', 'e', ​​0x20, 0x20, 0x20, 0x20, 0xaa, 0x55, 0x01},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0xa9, 0x56, 0x01}

}

BYTE PY_DEX_Y [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0XA8, 0X57, 0x01},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0xa7, 0x58, 0x01},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0xa6, 0x59, 0x01},

{'a', 'o', 0x20, 0x20, 0x20,0x20,0xa5,0x

5A

0x01}, {'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0xA4, 0x5b, 0x01},

{'I', 0x20, 0X20, 0X20, 0X20, 0X20, 0XA3, 0X

5C

0x01},

{'I', 'n', 0x20, 0x20, 0x20, 0x20, 0xa2, 0x5d, 0x01},

{'I', 'N', 'g', 0x20, 0x20, 0x20, 0xa1, 0x5e, 0x01},

{'o', 0x20,0x20,0x20,0x20,0x20,0xa0,0x

5F

0x01},

{'o', 'n', 'g', 0x20, 0x20, 0x20,0x

9f

0x60, 0x01},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0x9e, 0x61, 0x01},

{'u', 0x20, 0x20, 0x20, 0x20, 0x20, 0x9d, 0x62, 0x01},

{'u', 'a', 'n', 0x20, 0x20,0x20,0x

9C

0x63, 0x01},

{'u', 'e', ​​0x20, 0x20, 0x20, 0x20, 0x9b, 0x64, 0x01},

{'u', 'n', 0x20, 0x20,0x20,0x20,0x

9A

0x65, 0x01}

}

BYTE PY_INDEX_Z [] [9] = {

{'a', 0x20, 0x20, 0x20, 0x20, 0x20, 0x99, 0x66, 0x01},

{'a', 'I', 0x20, 0x20, 0x20, 0x20, 0x98, 0x67, 0x01},

{'a', 'n', 0x20, 0x20, 0x20, 0x20, 0x97, 0x68, 0x01},

{'a', 'n', 'g', 0x20, 0x20, 0x20, 0x96, 0x69, 0x01},

{'a', 'o', 0x20, 0x20, 0x20, 0x20, 0x95, 0x

6A

0x01},

{'e', 0x20, 0x20, 0x20, 0x20, 0x20, 0x94, 0x6b, 0x01},

{'e', 'I', 0x20, 0x20, 0x20, 0x20, 0x93, 0x

6C

0x01},

{'e', 'n', 0x20, 0x20, 0x20, 0x20, 0x92, 0x6d, 0x01},

{'e', 'n', 'g', 0x20, 0x20, 0x20, 0x91, 0x6e, 0x01},

{'h', 'a', 0x20, 0x20,0x20,0x20,0x90,0x

6F

0x01},

{'h', 'a', 'i', 0x20, 0x20,0x20,0x

8f

0x70, 0x01},

{'h', 'a', 'n', 0x20, 0x20, 0x20, 0x8e, 0x71, 0x01},

{'h', 'a', 'n', 'g', 0x20, 0x20, 0x8d, 0x72, 0x01},

{'h', 'a', 'o', 0x20, 0x20,0x20,0x

8C

, 0x73, 0x01},

{'h', 'e', ​​0x20, 0x20, 0x20, 0x20, 0x8b, 0x74, 0x01},

{'h', 'e', ​​'n', 0x20, 0x20, 0x20, 0x8a

0x75, 0x01},

{'h', 'e', ​​'n', 'g', 0x20, 0x20, 0x89, 0x76, 0x01},

{'h', 'i', 0x20, 0x20, 0x20, 0x20, 0x88, 0x77, 0x01},

{'h', 'o', 'n', 'g', 0x20, 0x20, 0x87, 0x78, 0x01},

{'h', 'o', 'u', 0x20, 0x20, 0x20, 0x86, 0x79, 0x01},

{'h', 'u', 0x20, 0x20, 0x20, 0x20, 0x85, 0x

7A

0x01},

{'h', 'u', 'a', 0x20, 0x20, 0x20, 0x84, 0x7b, 0x01},

{'h', 'u', 'A', 'I', 0x20, 0x20, 0x83, 0X

7C

0x01},

{'h', 'u', 'a', 'n', 0x20, 0x20, 0x82, 0x7d, 0x01},

{'h', 'u', 'a', 'n', 'g', 0x20, 0x81, 0x7e, 0x01},

{'h', 'u', 'i', 0x20, 0x20, 0x20, 0x80, 0x

7f

0x01},

{'h', 'u', 'n', 0x20,0x20,0x20,0x

7f

0x80, 0x01},

{'h', 'u', 'o', 0x20, 0x20, 0x20, 0x7e, 0x81, 0x01},

{'I', 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x82, 0x01},

{'o', 'n', 'g', 0x20, 0x20, 0x20,0x

7C

, 0x83, 0x01},

{'o', 'u', 0x20, 0x20, 0x20, 0x20, 0x7b, 0x84, 0x01},

{'u', 0x20,0x20,0x20,0x20,0x20,0x

7A

0x85, 0x01},

{'u', 'a', 'n', 0x20, 0x20, 0x20, 0x79, 0x86, 0x01},

{'u', 'i', 0x20, 0x20, 0x20, 0x20, 0x78, 0x87, 0x01},

{'u', 'n', 0x20, 0x20, 0x20, 0x20, 0x77, 0x88, 0x01},

{'u', 'o', 0x20, 0x20, 0x20, 0x20, 0x76, 0x89, 0x01}

}

BYTE PY_INDEX_END [] [9] = {0x20, 0X20, 0X20, 0X20, 0X20, 0X20, 0, 0, 0};

BYTE (* py_index_pointer [27]) [9] =

{

PY_INDEX_A, PY_INDEX_B, PY_INDEX_C, PY_INDEX_D, PY_DEX_E,

PY_INDEX_F, PY_INDEX_G, PY_DEX_H, PY_DEX_J, PY_DEX_J,

PY_INDEX_K, PY_INDEX_L, PY_INDEX_M, PY_INDEX_N, PY_INDEX_O, PY_INDEX_P, PY_DEX_Q, PY_INDEX_R, PY_INDEX_S, PY_DEX_T,

PY_INDEX_W, PY_INDEX_W, PY_INDEX_W, PY_DEX_X, PY_INDEX_Y,

PY_INDEX_Z, PY_INDEX_END

}

// Query code

CNIXINPUTMETHOD :: CNixInputMethod ()

{

PY_MB_BEGIN = (unsigned long) & py_mb_a [0] [0];

}

CNIXINPUTMETHOD :: ~ cnixinputmethod ()

{

}

Byte * cnixinputmethod :: py_ime (byte input_py_val [])

{

BYTE (* p1) [9], (* p2) [9], (* p3) [9];

BYTE I = 1;

Long dwtemp = 0;

IF (Input_PY_VAL [0] == 0) return (0); // "If you enter empty characters return 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]; // "Calculate the entry tree root"

P3 = py_index_pointer [input_py_val [0] -0x60]; // "Setting the pointer boundary"

IF (p1 == 0) Return (0);

// "Query failed to return 0"

IF (Input_PY_VAL [1]> 0)

{

While (P1

{

IF ((* p1) [0] == INPUT_PY_VAL [1])

{

P2 = P1;

Break;

}

Else

{

P1 ; // "Query the second pinyin"

}

}

}

P1 = p2;

IF (Input_PY_VAL [1]> 0)

{

While (P1

{// "Stamping method query than the pinyin"

IF ((* p1) [i] == INPUT_PY_VAL [i 1]) && ((* p1) [i-1] == Input_py_val [i]))))))

{

P2 = P1;

i ;

}

Else

{

P1 ;

}

}

}

DWTEMP = (* p2) [6] (* p2) [7] * 256 (* p2) [8] * 65535 PY_MB_BEGIN;

Return ((Byte *) (DWTEMP)); // "Back to Query Results"

}

CString cnixinputMethod :: getInputstring (byte infut_py_val [])

{

BYTE * PTEMP;

PTEMP = py_ime (input_py_val);

CString Strtemp (PTEMP);

Return strtemp;

}

转载请注明原文地址:https://www.9cbs.com/read-7287.html

New Post(0)