- 1、本文档共5页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
37 3 上 海 交 通 大 学 学 报 Vol. 37 No. 3
2003 3 JOURNAL OF SHANGHAI JIAOT ONG UNIVERSIT Y Mar. 2003
: 1006-2467( 2003) 03-0420-04
鲍峥嵘, 王永成, 刘功申, 韩客松
( , 200030)
: 介绍了一种基于高频字串 取的快速字串交叉模式匹配算法, 同已有的KMP、BM 等单
模式匹配算法和有限自动机等多模式匹配算法相比, 在字符集 较大且字串 个数远大于字串最大
2
长度的情况下, 该算法具有较低的时间复杂度和空间复杂度, 并适用于字符集较大, 词长较短的文
本处理.
: 模式匹配; 高频字串; 算法
: T P301. 6: A
A Fast Algorit hm on St ring Cross Pattern Matching
BA O Zheng-rong , WA N G Yong-cheng , L I U Gong-shen, H A N K e-song
( . . , . , 200030, )
Dept of Computer Science Eng Shanghai Jiaotong Univ Shanghai China
Abstract: This paper presented a fast string pattern matching algorithm based on extracting high frequency
strings. Compared w ith the existing algorithms including single-pattern algorithms, such as KMP and BM
, - , ,
algorithm and multi pattern matching algorithms such as DFA this algorithm has both lower time and
space complexity w hen the size of 2 is large and the number of strings is far more than the max length of
string in set U. As Chinese character set is large and the average length of Chinese w ords is much short,
this algorithm is more suitable to process Chinese text.
: ; ;
Key words pattern matching high frequency string algorithm
, , GOTO
[ 1] [ 2] , ,
2
. , . HASH
[ 6]
2
文档评论(0)