节点文献
改进的中文字串多模式匹配算法
Improved Multiple Pattern Algorithm for Chinese String Matching
【摘要】 针对中文字串匹配问题 ,提出了一种改进的多模式匹配算法。该算法采用新型组合状态自动机 ,解决了对大字符集语言构建字符完全Hash表时可能遇到的存储空间膨胀问题。此外 ,算法还充分利用中文大字符集语言的优势 ,将QS算法的思想融入到多模式匹配应用中 ,取得了良好的效果。实验结果显示 ,本算法明显优于DFSA算法 ,在平均情况下所花费时间仅为DFSA算法的 70 33%。
【Abstract】 For the problem of Chinese string matching, an improved multiple pattern matching algorithm is provided. The unbearable memory cost problem which results from constructing Hash table for large character set, is resolved with the new combinatorial state automata. In addition, for taking full use of the advantage of Chinese which is a large character set, we combined the theory of QS algorithm into the application of multiple pattern matching. At last, the experiment data show that the new algorithm is much better than DFSA algorithm. For the average case, the time spent by new algorithm is only 70 33percent of that spent by the DFSA.
【Key words】 match; string; finite state automata; multiple pattern match.;
- 【文献出处】 情报学报 ,Journal of The China Society For Scientific and Technical Information , 编辑部邮箱 ,2002年01期
- 【分类号】TP301.6
- 【被引频次】23
- 【下载频次】366