吉首大学学报(自然科学版)

• 信息与通信 • 上一篇    下一篇

Horspool扩展算法在方块苗文模式匹配中的应用

曾磊,莫礼平,刘笔余,唐澳斌,莫春望,尹娟   

  1. (吉首大学信息科学与工程学院,湖南 吉首 416000)
  • 出版日期:2018-07-25 发布日期:2018-07-31
  • 通讯作者: 莫礼平(1972—),女,湖南安化人,吉首大学信息科学与工程学院高级实验师,主要从事中文信息处理、Petri网理论及其应用研究.
  • 基金资助:

    国家自然科学基金资助项目(61462029,61741205);湖南省校企合作创新创业教育基地创新性项目(JDCX1702)

Extended Horspool Algorithm and Its Application in Square Hmong String Pattern Matching

ZENG Lei,MO Liping,LIU Biyu,TANG Aobin,MO Chunwang,YIN Juan   

  1. (College of Information Science & Engineering,Jishou University,Jishou 416000,Hunan China)
  • Online:2018-07-25 Published:2018-07-31

摘要:

分析了Horspool算法的原理及特点,提出了一种适用于方块苗文环境的字符串模式匹配算法.该算法结合方块苗文的编码方式及字符串查找的特点,通过对Horspool算法中的字符处理单位进行扩展来适应方块苗文的字符串匹配.实验结果表明,在单字词、双字词和多字词的方块苗文字符串匹配过程中,该算法均呈现出较好的性能,能够用于解决方块苗文的快速检索问题.

关键词: 模式匹配, 字符串, Horspool算法, 方块苗文

Abstract:

A string matching algorithm is proposed for the matching of the square Hmong characters in Hmong environment based on the  the principle and characteristics of the Horspool algorithm.The proposed algorithm extends the character processing units in the Horspool algorithm according to the encoding method of the square Hmong characters and the characteristics of Hmong string searching.The experimental results show that the algorithm shows a good performance in the Hmong pattern matching of single words,double words and multiple words,and can be used to solve the problem of fast retrieval of the square Hmong information.

Key words: pattern matching, string, Horspool algorithm, square Hmong characters

公众号 电子书橱 超星期刊 手机浏览 在线QQ