基于局部变化性的改进编辑距离算法-武汉大学学报·信息科学版.PDF

基于局部变化性的改进编辑距离算法-武汉大学学报·信息科学版.PDF

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第41卷  第7期   计 算 机 工 程 2015年7月     Vol.41  No.7   Computer Engineering July2015 ·开发研究与工程应用 · 文章编号:1000⁃3428(2015)07⁃0294⁃05      文献标识码:A      中图分类号:TP301.6 基于局部变化性的改进编辑距离算法 王卫红,李  君 (浙江工业大学计算机科学与技术学院,杭州310023) 摘  要:针对经典编辑距离算法在求解字符串相似度时计算效率过低的问题,提出一种改进的编辑距离算法。 先 求得2个字符串的最长公共前缀和最长公共后缀,再根据经典编辑距离算法得到2个字符串剩余部分之间的编辑 距离,由反证法证明该编辑距离即为2个原始字符串的编辑距离。 在此基础上,分析改进算法的优势并将其应用 于网页篡改检测中。 实验结果表明,与经典算法相比,改进算法在求解同一网址的网页相似度时具有更高的计算 效率。 关键词:编辑距离;相似度;公共前缀;公共后缀;局部变化性;篡改检测 中文引用格式:王卫红,李  君.基于局部变化性的改进编辑距离算法[J].计算机工程,2015,41(7):294⁃298,304. 英文引用格式:Wang Weihong,Li Jun.Improved Edit Distance Algorithm Based on Local Variability[J].Computer Engineering,2015,41(7):294⁃298,304. Improved Edit Distance Algorithm Based on Local Variability WANG Weihong,LI Jun (College of Computer Science and Technology,Zhejiang University of Technology,Hangzhou 310023,China) 【Abstract】 For the low computational efficiency in solving the similarity of two strings by traditional algorithm,an improved edit distance algorithm isproposed.It firstly obtainsthe longest common prefix and the longest common suffix of the two strings,andthen getsthe edit distancebetween theremainder ofthetwo stringsby traditional algorithm.Proof by contradiction isused to prove that this edit distance equals to the solution by traditional algorithm.On this basis,the improved algorithm isresearched about the advantagesand be applied to the Web tamper detection.Experimental results show that compared with the traditional algorithm,the improved edit distance algorithm has better computational efficiency in obtaining the similarity between the pagesin the same URL. 【Key words】 edit dist

文档评论(0)

youbika + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档