[1]朱永强,江雪.中文多模式匹配算法性能的分析与研究[J].计算机技术与发展,2014,24(02):1-4.
ZHU Yong-qiang,JIANG Xue.Analysis and Research of Chinese Multi-pattern Matching Algorithm Performance[J].,2014,24(02):1-4.
点击复制
中文多模式匹配算法性能的分析与研究(
)
《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]
- 卷:
-
24
- 期数:
-
2014年02期
- 页码:
-
1-4
- 栏目:
-
智能、算法、系统工程
- 出版日期:
-
2014-02-28
文章信息/Info
- Title:
-
Analysis and Research of Chinese Multi-pattern Matching Algorithm Performance
- 文章编号:
-
1673-629X(2014)02-0001-04
- 作者:
-
朱永强; 江雪
-
成都网安科技发展有限公司;电子科技大学 示范性软件学院
- Author(s):
-
ZHU Yong-qiang; JIANG Xue
-
-
- 关键词:
-
多模式匹配; 中文环境; AC算法; WM算法; Wang算法
- Keywords:
-
multi-pattern matching; Chinese environment; AC algorithm; WM algorithm; Wang algorithm
- 分类号:
-
TP301.6
- 文献标志码:
-
A
- 摘要:
-
模式匹配算法一般不具有所有环境下的通用性,不同的算法在不同语义环境下的表现,往往差异较大。为实现中文环境下对模式串的快速多模式匹配,选择出在中文环境下的最优匹配算法,分析了几种经典的多模式匹配算法。通过对各个算法设计思路、时间性能与空间性能的研究,推导出基于“坏字符”的算法设计思路最适用于中文环境下大字符集、短字符串的特点,并通过实验对理论推测的中文环境最优算法-Wang算法的性能与其他几种经典算法的性能进行了比较,验证了理论推导的正确性。
- Abstract:
-
Generally,pattern matching algorithms do not have the versatility of all circumstances. For realizing the fast multi-pattern matc-hing,selecting the optimal matching algorithm under the Chinese environment,analyze several common multi-pattern matching algo-rithm. By researching the various algorithm design ideas,the time and space performance,deduced that the design idea based on the"bad character" is the best way which can be used to fast matching under Chinese environment,and the experiment shows that the Wang algo-rithm is the optimal algorithm under Chinese environment compared with other classical algorithm,and verifies the correctness of theory deduction.
更新日期/Last Update:
1900-01-01