首页> 外国专利> EDIT SCRIPT VERIFICATION WITH MATCH OPERATIONS AND DIFFERENCE OPERATIONS

EDIT SCRIPT VERIFICATION WITH MATCH OPERATIONS AND DIFFERENCE OPERATIONS

机译:匹配操作和差异操作的编辑脚本验证

摘要

Some embodiments are directed to a computation device configured to verify that an edit script is for transforming a first string to a second string. The edit script has match operations and difference operations as allowed edit operations. The computation device obtains a representation of the edit script and subsequently performs a validation computation. For each match operation, the computation device determines a character at a current position in the first string and a character at a current position in the second string, verifies that they match, increments the current position in the first string by one and increments the current position in the second string by one. For each difference operation, the computation device increments the current position in the first string and/or the current position in the second string by one.
机译:一些实施例针对一种计算设备,该计算设备被配置为验证编辑脚本是否用于将第一字符串转换为第二字符串。编辑脚本具有匹配操作和差异操作作为允许的编辑操作。计算设备获得编辑脚本的表示,然后执行验证计算。对于每个匹配操作,计算设备确定第一字符串中的当前位置处的字符和第二字符串中的当前位置处的字符,验证它们是否匹配,将第一字符串中的当前位置增加一个,并将当前位置增加在第二个字符串中的位置乘以1。对于每个差操作,计算设备将第一字符串中的当前位置和/或第二字符串中的当前位置增加一个。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号