摘要
拼音输入法作为操作系统的首选中文输入法,在各种平台的PC和嵌入式设备上都获得了广泛的应用。为了在龙芯上更高效的运行和使用拼音输入法,本文将SCIM输入法移植到了Linux/龙芯2E上。本文从分析SCIM的系统架构出发,探讨了SCIM的工作原理,继而描述了移植过程,根据龙芯2号处理器体系结构的特点生成特殊指令,并对拼音输入法引擎的算法进行了调整和优化。实践中已经证明,特殊指令的引入和的算法的优化较好地提升了拼音输入法的性能,达到了预期的效果。
As a primary input method on Chinese operation system, Pinyin input method has received extensive application in varied PC platforms and embedded devices. To use Pinyin input method more efficiency on Loongson, the SCIM structure is transplanted to Linux/LoongSon2E. This paper have a deep research in SCIM structure, investigate the working principle of SCIM and analyze the mainly technique in it, then ports the steps of transplantation, how to generate special instructions, and some optimization work of the algorithm. The empirical results show that the special instructions and the improvements have remarkably improved the applications performance.
出处
《电子测量技术》
2008年第11期147-149,共3页
Electronic Measurement Technology
基金
"863"计划资助项目(2006AA010201)