【正文】
碩 士 學(xué) 位 論 文 ( 20xx 屆) Android平臺(tái) 中文 輸入法的 設(shè)計(jì)和實(shí)現(xiàn) The Design and Implementation of Chinese Input Method on Android 研 究 生 姓 名 指導(dǎo)教師姓名 專 業(yè) 名 稱 計(jì)算機(jī) 技術(shù) 研究 方向 中文信息處理 論文提交日期 20xx 年 4 月 蘇州 大學(xué)學(xué)位論文獨(dú)創(chuàng)性聲明及使用授權(quán)聲明 學(xué)位論文獨(dú)創(chuàng)性聲明 本人鄭重聲明:所提交的學(xué)位論文是本人在導(dǎo)師的指導(dǎo)下,獨(dú)立進(jìn)行研究工作所取得的成果。除文中已經(jīng)注明引用的內(nèi)容外,本論文不含其他個(gè)人或集體已經(jīng)發(fā)表或撰寫過的研究成果,也不含為獲得蘇州大學(xué)或其它教育機(jī)構(gòu)的學(xué)位證書而使用過的材料。對(duì)本文的研究做出重要貢獻(xiàn)的個(gè)人和集體,均已在文中以明確方式標(biāo)明。本人承擔(dān)本聲明的法律責(zé)任。 研究生簽名: 日 期: 學(xué)位論文使用授權(quán)聲明 蘇州大學(xué)、中國科學(xué)技術(shù)信息研究所、國家圖書館、清華大學(xué)論文合作部、中國社科院文獻(xiàn)信息情報(bào)中心有權(quán)保留本人所送交學(xué)位論文的復(fù)印件和電子文檔,可以采用影印、縮印或其他復(fù)制手段保存論文。本人電子文檔的內(nèi)容和紙質(zhì)論文的內(nèi)容相一致。除在保密期內(nèi)的保密論文外,允許論文被查閱和借閱,可以公布(包括刊登)論文的全部或部分內(nèi)容。論文的公布(包括刊登)授權(quán)蘇州大學(xué)學(xué)位辦辦理。 研究生簽名: 日 期: 導(dǎo)師簽名 : 日 期: Android手機(jī)平臺(tái)上中文輸入法設(shè)計(jì)和實(shí)現(xiàn) 摘要 I Android 平臺(tái) 中文 輸入法 設(shè)計(jì)和實(shí)現(xiàn) 中文摘要 伴隨著手持通信設(shè)備的日益普及 和短信、微博等應(yīng)用的廣泛使用 ,人們?cè)絹碓蕉嗟匾蕾囉谶@些設(shè)備進(jìn)行 文字 信息 輸入和 處理 。 如何快速準(zhǔn)確地 利用 手持式設(shè)備輸入文字信息 ,特別是中文信息,對(duì)中國人而言有利于重要。 首先,本文 介紹了 Andriod 的 主要組件和系統(tǒng)框架等 內(nèi)容, 并分析了當(dāng)今移動(dòng)平臺(tái)上的主流漢字輸入法的優(yōu)缺點(diǎn)。 其次,本文 以縱橫輸入法為例介紹了在 Android 平臺(tái)下的 碼本的設(shè)計(jì) 和檢索技術(shù) ,包括字詞碼本結(jié)構(gòu)的設(shè)計(jì)、索引方 式的設(shè)計(jì)、聯(lián)想功能的實(shí)現(xiàn)、碼本的存儲(chǔ)以及輸入法具體的檢索流程。 最后 ,本文全面 分析 了 Android 系統(tǒng)平臺(tái)的輸入法框架 , 對(duì)該框架的組成、流程、生命周期以及一些所需實(shí)現(xiàn)的類和函數(shù)等進(jìn)行了詳細(xì)的闡述。 在此基礎(chǔ)上, 在 Andriod平臺(tái)上 設(shè)計(jì)并實(shí)現(xiàn)了 縱橫 輸入法, 并介紹了其實(shí)現(xiàn)技術(shù)。 對(duì) 實(shí)例輸入系統(tǒng) 的測試表明,該系統(tǒng)已達(dá)到了 實(shí)用 水平, 并已經(jīng)有了一定規(guī)模的用戶群 。 關(guān)鍵詞: 輸入法 、 Android、碼本、輸入架構(gòu) 作 者: 指導(dǎo)老師: Abstract The Design and Implement of Chinese Input Method Based On Android System II The Design and Implementation of Chinese Input Method on Android Abstract With the widespread use of mobile devices and increasing popularity of short message, microblogging and other mobile applications, the requirement of inputting and processing text information, especially the Chinese information for us, on mobile devices is recreasing rapidly. . Firstly, this desertation describes the main ponent and system framework of Andriod, and then analyzes the advantages and disadvantages of the popular Chinese input methods on all kinds of mobile platforms. Secondly, it uses CKC input method as a sample to describe the design of the relation table between codes and their Chinese characters or phrases and the retrieval method on the Android platform, including the structure of the relation table, the indexing, the association functions, the storage of the relation table, and specific retrieval processes of the input method. Finally, it analyzes the input method framework on the Android platform and gives a detailed exposition of the framework ponents, circuit, life cycle and some of the necessary achieved classes, functions, and so on. On this basis, it designes and realizes the CKC input method on the Andriod platform, and introduces its implemention technology. Tests on the CKC input system on the Android platform show that our system has reached a very practical leveland it already has been used on some extent. Key Words: Chinese input method。 Android。 code book。 Input architecture Written by Sun Xiao Supervised by Li Peifeng 目 錄 中文摘要 .................................................................................................................................I Abstract ................................................................................................................................. II 目 錄 .....................................................................................................................................I 第一章 緒論 .......................................................................................................................... 1 課題背景與意義 ...................................................................................................... 1 研究現(xiàn)狀 .................................................................................................................. 2 移動(dòng)手機(jī)平臺(tái)發(fā)展現(xiàn)狀 ........................................ 2 手機(jī)輸入法發(fā)展現(xiàn)狀 .......................................... 5 本文工作 .................................................................................................................. 7 1)提出了一個(gè)適合 Android 平臺(tái)的輸入 法碼本設(shè)計(jì)方案 ................ 7 2)分析了 Android 輸入法框架,設(shè)計(jì)了一個(gè)基于 Android 平臺(tái)的輸入系統(tǒng) 7 3)介紹了 Android 平臺(tái)輸入系統(tǒng)的實(shí)現(xiàn)技術(shù) .......................... 8 論文組織 .................................................................................................................. 8 第二章 相關(guān)工作基礎(chǔ) .......................................................................................................... 9 Android 平臺(tái) ............................................................................................................ 9 Android 平臺(tái)簡介 ............................................ 9 Android 平臺(tái)框架 ........................................... 10 Android 平臺(tái)開發(fā)環(huán)境搭建 ................................... 11 縱橫 輸入法 ............................................................................................................ 13 縱橫輸入法簡介 ............................................ 13 縱橫輸入法優(yōu)點(diǎn) ............................................ 13 輸入法框架介紹 .................................................................................................... 14 輸入法框架簡介 ............................................ 14 輸入法框架組成 ............................................ 14 輸入法應(yīng)用組成 ............................................ 15 輸入法消息流轉(zhuǎn)機(jī)制 ........................................ 16 輸入法生命周期 ............................................ 17 輸入法主要的類和函數(shù) ...................................... 19 本章小結(jié) ................................................................................................................ 20 第三章 碼本結(jié)構(gòu)設(shè)計(jì) ........................................................................................................ 21