首页> 外文期刊>International Journal of Computational Intelligence and Applications >A NOVEL ALGORITHM FOR SOLVING THE STRING MATCHING PROBLEM
【24h】

A NOVEL ALGORITHM FOR SOLVING THE STRING MATCHING PROBLEM

机译:解决字符串匹配问题的新算法

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

The string matching problem consists of finding one or more, generally all, exact occurrences of a pattern P in a text T. This paper presents a new algorithm for solving the string matching problem. Application of the proposed algorithm assists in improving the search process of a specific pattern in a certain unchangeable text through decreasing the number of character comparisons. Operation concept of such an algorithm depends on pattern reading to obtain the pattern length and the pattern first character and then a search is done in a table of two columns: the first column represents the word length in the text and the second one represents the start positions of each word classified by the same length. After that the algorithm just searches the words of the same length. Our experimental results depend mainly on comparing the performance of our algorithm with the well-known pattern matching algorithms such as Boyer-Moor's and Boyer-Moor-Galil's. The comparison between our algorithm and others are done in terms of the number of characters compared for different sizes of text. The output results show that our algorithm performs better than the others in terms of this parameter.
机译:字符串匹配问题包括在文本T中找到一个或多个(通常是所有)模式P的精确出现。本文提出了一种用于解决字符串匹配问题的新算法。所提出算法的应用通过减少字符比较的数量来帮助改进特定模式在某些不变文本中的搜索过程。这种算法的操作概念取决于模式读取以获取模式长度和模式第一个字符,然后在两列的表中进行搜索:第一列表示文本中的字长,第二列表示开头按相同长度分类的每个单词的位置。之后,该算法仅搜索相同长度的单词。我们的实验结果主要取决于将我们的算法与著名的模式匹配算法(如Boyer-Moor's和Boyer-Moor-Galil's)的性能进行比较。我们的算法与其他算法之间的比较是针对不同大小的文本所比较的字符数来完成的。输出结果表明,就此参数而言,我们的算法比其他算法表现更好。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号