arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.09877cs.DS
收藏

编辑距离的多种变体

Many Flavors of Edit Distance

Sudatta Bhattacharya, Sanjana Dey, Elazar Goldenberg, Michal Koucký

AI总结:

本文研究字符串相似性度量间的标准化转换方法,证明可将任意字母表上的字符串相似性问题归约为二元字母表问题,并将插入删除距离转换为编辑距离,补充了Tiskin (2007)的逆向结果。

摘要:

字符串相似性有多种度量方法,其中著名的包括编辑距离和插入删除距离。前者衡量将一个字符串转换为另一个所需的插入、删除和替换操作的次数,而后者专门量化插入和删除操作的数量。许多算法解决方案明确针对其中一种度量,并且通常适用于一种度量的技术也可以调整以适用于另一种。在本文中,我们研究是否存在一种标准化的方法,将一种设置的结果应用于另一种设置。具体而言,我们展示了将任意字母表上的字符串相似性问题归约为二元字母表上等价问题的能力。此外,我们说明了如何将关于插入删除距离的问题转换为基于编辑距离的等价问题。这补充了 Tiskin (2007) 早期处理逆方向的结果。

英文摘要:

Several measures exist for string similarity, including notable ones like the edit distance and the indel distance. The former measures the count of insertions, deletions, and substitutions required to transform one string into another, while the latter specifically quantifies the number of insertions and deletions. Many algorithmic solutions explicitly address one of these measures, and frequently techniques applicable to one can also be adapted to work with the other. In this paper, we investigate whether there exists a standardized approach for applying results from one setting to another. Specifically, we demonstrate the capability to reduce questions regarding string similarity over arbitrary alphabets to equivalent questions over a binary alphabet. Furthermore, we illustrate how to transform questions concerning indel distance into equivalent questions based on edit distance. This complements an earlier result of Tiskin (2007) which addresses the inverse direction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑