节点文献

一种串匹配的快速Boyer-Moore算法

Quick Boyer-Moore Algorithm for String Matching

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李雪梅代六玲童新海李莉

【Author】 LI Xue-mei~1,DAI Liu-ling~2,TONG Xin-hai~1,LI Li~1 (1.Dept. of Electronic Information & Engineering, Beijing Electronic Science & Technology Institute, Beijing 100070, China;2.Dept. of (Computer) Science, Nanjing University Science & Technology, Nanjing Jiangsu 210094, China)

【机构】 北京电子科技学院电子信息工程系南京理工大学计算机科学系北京电子科技学院电子信息工程系 北京100070江苏南京210094北京100070北京100070

【摘要】 在对经典的Boyer-Moore和Quick Search串匹配算法进行分析的基础上,提出了一种更加快速的串匹配算法Quick Boyer-Moore(QBM)。QBM算法利用当前尝试中的已匹配子串、匹配失败字符信息以及与当前窗口下一个字符的位置信息,以在每一次跳跃中获得更大的跳跃距离,从而使算法具有更高的效率。在真实语料上的实验结果表明,QBM算法的效率较显著地高于原始的BM算法及其改进算法Improved Boyer-Moore(IBM)。

【Abstract】 This paper suggests a very efficient algorithm for string matching, Quick Boyer-Moore(QBM) algorithm, based on the ideas of the Boyer-Moore(BM) algorithm and the Quick Search(QS) algorithm. Besides the match and mismatch information inside the current window used by the Boyer-Moore algorithm, QBM also uses the information carried by the character immediately after the current window. The good-suffix shift distance of QBM is larger than that of BM algorithm in most circumstances. The tests on actual corpus show that QBM is more efficient than BM and the Improved Boyer-Moore(IBM) algorithm.

【基金】 国家自然科学基金资助项目(60272088)
  • 【文献出处】 计算机应用研究 ,Application Research of Computers , 编辑部邮箱 ,2005年09期
  • 【分类号】TP301.6
  • 【被引频次】20
  • 【下载频次】318
节点文献中: 

本文链接的文献网络图示:

本文的引文网络