首页> 外文会议>International Conference on Recent Trends in Information Technology >Novel approach for string searching and matching using American standard code for information interchange value
【24h】

Novel approach for string searching and matching using American standard code for information interchange value

机译:使用美国标准代码进行信息交换值的字符串搜索和匹配的新方法

获取原文

摘要

The algorithms based on string matching generally searches for the search string in the database and find all the occurrences of the search string. This paper introduces a novel approach for string searching and matching to identify the correct occurrence of a given search string. The proposed work is based on calculating the sum of ASCII values of each character in the search string and comparing this sum with only the names which have the same ASCII values in the database. This is implemented using hashing and hence it can limit the search to only a few name strings. After searching for the corresponding ASCII value the string matching is done by comparing the first and last character of the search string with the name strings. If there is a match, then any two random positions in the search string are considered for comparison. If all these four positions match, then the whole string is compared, otherwise the string is skipped from further comparisons. This method is efficient in identifying the search string easily and the number of comparisons is reduced.
机译:基于字符串匹配的算法通常在数据库中搜索搜索字符串,并查找所有出现的搜索字符串。本文介绍了一种新颖的字符串搜索和匹配方法,以识别给定搜索字符串的正确出现。提议的工作基于计算搜索字符串中每个字符的ASCII值之和,并将此和与数据库中具有相同ASCII值的名称进行比较。这是使用散列实现的,因此可以将搜索限制为仅几个名称字符串。在搜索了相应的ASCII值之后,通过将搜索字符串的第一个和最后一个字符与名称字符串进行比较来完成字符串匹配。如果存在匹配项,则考虑将搜索字符串中的任意两个随机位置进行比较。如果所有这四个位置都匹配,则将比较整个字符串,否则将跳过进一步的比较。该方法在容易地识别搜索字符串方面是有效的,并且减少了比较的次数。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号