摘要
介绍一种中文拼音输入法的实现方法,着重讨论了其数据设计部分和和控制逻辑部分。在数据设计部分,讨论了数字键树、拼音数组、同音汉字串、汉字点阵字模库、联想字串库索引、联想字串库的数据关系。在控制逻辑部分,用描述了使用状态机实现数字、字母和拼音三种输入法的具体方法和具体代码的实现结构。
Introduces implement of Chinese input method, places emphasis on the data design and control logic. In the data design part, disscusses the relationships among various data structures, such as the key tree, the pinyin array, the Chinese string with same pinyin, the dot image library of the Chinese character, the index of the associated string and the library of the associated string. In the control logic part, designs a state machine to implement the digital, alphabetic and Chinese input method.
出处
《现代计算机》
2007年第5期73-75,共3页
Modern Computer
关键词
中文输入法
键树
状态机
MCU
Chinese Input Method
Key Tree
State Machine
MCU(Micro Controller Unit)