文档介绍:硕士学位论文
Android平台中文输入法的
设计和实现
The Design and Implementation of Chinese Input Method
on Android
专业名称计算机技术
研究方向中文信息处理
苏州大学学位论文独创性声明及使用授权声明
学位论文独创性声明
本人郑重声明:所提交的学位论文是本人在导师的指导下,独立进行研究工作所取得的成果。除文中已经注明引用的内容外,本论文不含其他个人或集体已经发表或撰写过的研究成果,也不含为获得苏州大学或其它教育机构的学位证书而使用过的材料。对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。本人承担本声明的法律责任。
研究生签名: 日期:
学位论文使用授权声明
苏州大学、中国科学技术信息研究所、国家图书馆、清华大学论文合作部、中国社科院文献信息情报中心有权保留本人所送交学位论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。论文的公布(包括刊登)授权苏州大学学位办办理。
研究生签名: 日期:
导师签名: 日期:
Android平台中文输入法设计和实现
中文摘要
伴随着手持通信设备的日益普及和短信、微博等应用的广泛使用,人们越来越多地依赖于这些设备进行文字信息输入和处理。如何快速准确地利用手持式设备输入文字信息,特别是中文信息,对中国人而言有利于重要。
首先,本文介绍了Andriod的主要组件和系统框架等内容,并分析了当今移动平台上的主流汉字输入法的优缺点。
其次,本文以纵横输入法为例介绍了在Android平台下的码本的设计和检索技术,包括字词码本结构的设计、索引方式的设计、联想功能的实现、码本的存储以及输入法具体的检索流程。
最后,本文全面分析了Android系统平台的输入法框架,对该框架的组成、流程、生命周期以及一些所需实现的类和函数等进行了详细的阐述。在此基础上,在Andriod平台上设计并实现了纵横输入法,并介绍了其实现技术。
对实例输入系统的测试表明,该系统已达到了实用水平,并已经有了一定规模的用户群。
关键词:输入法、Android、码本、输入架构
作者:
指导老师:
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 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