• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 论文 • 上一篇    下一篇

基于Petri网的五笔画输入法算法优化研究

王松,陈曦,乐晓波   

  1. (长沙理工大学计算机与通信工程学院,湖南 长沙 410114)
  • 收稿日期:2015-07-02 修回日期:2015-11-07 出版日期:2016-12-25 发布日期:2016-12-25

Fivestroke input algorithm
optimization based on Petri net

WANG Song,CHEN Xi,YUE Xiaobo   

  1. (School of Computer & Communication Engineering,Changsha University of Science & Technology,Changsha 410114,China)
     
  • Received:2015-07-02 Revised:2015-11-07 Online:2016-12-25 Published:2016-12-25

摘要:

将Petri网理论和五笔画输入法结合起来,提出了一个较完整的用Petri网建立的笔画输入法算法模型。该模型借助Petri网有关理论成果,完成笔画输入法的建模与并行化分析,便于计算机处理。其实质是在五笔画输入之间和查询过程中加入变迁元素,使其更反映汉字查询的本质。首先给出了基于Petri网的整体输入框架建模的步骤和详细过程,然后利用所建立的模型对五笔画输入法算法过程进行了分析,最后把基于Petri网的五笔画输入法算法与手写、拼音输入算法进行比较,证明本文算法具备更优的检索效率。

关键词: 五笔画输入法, Petri网, 并行计算, 算法模型

Abstract:

We combine the Petri net theory with the five-stroke input algorithm, and present an integral model of the stroke input algorithm based on the Petri net system. The corresponding results of the model can complete the modeling of the fivestroke input method and the parallel analysis to facilitate computer processing. The model actually adds transition elements in the fivestroke input and the querying the process, which can reflect the essence of Chinese characters query more obviously. We first describe the modeling steps and detailed process of the whole input frame based on Petri net. Then we make use of the established model to analyze the process of the fivestroke input algorithm, and compare it with Pinyin input and handwriting input algorithms. The results prove that the proposed algorithm has better retrieval efficiency.

Key words: fivestroke input algorithm, Petri net, parallel algorithm, algorithm model