跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.40130 · v1

Cut-Paste Metrics: A More Natural Approach to Approximate String Matching

首次提交 2026-11-30 06:46
版本更新 2026-11-30 06:46
雷达观测 2026-12-01 13:26
arXiv ↗PDF ↗

摘要

Despite the breadth of application of approximate string matching, the current body of theoretical work [both in 1995 when this paper was written, and today] is largely based on a metric (the so-called edit metric) [or minor variations of it] which does not qualitatively reflect the principal processes through which strings change in applications. To remedy this, we introduce the notion of [entropy-based] cut-paste metrics, in which substring reordering can be accomplished at sublinear cost. We then exhibit a specific cut-paste metric for which best matches can be practically computed. With a text string of length nn, a search string of length mm, and at most kk paste and insertion errors allowed, the text substring closest to the search string can be found in O(nklog⁡m)O(n k\log m) time and O(m(k+log⁡m))O(m(k+\log m)) space, provided that the search string has a suffix tree of depth O(log⁡m)O(\log m) (which is typical). We furthermore demonstrate a non-symmetric cut-paste metric which allows best matches containing long gaps to be computed in the same time and space.

作者备注:Written during my appointment as Research Fellow in the Computer Science department at Princeton University 1995-1996. Finally published now, as the result is still novel. Clarifying items in brackets in the original abstract have been added as editorial comments for today's readers

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-30 06:46 · 最新观测版本

Cut-Paste Metrics: A More Natural Approach to Approximate String Matching

Despite the breadth of application of approximate string matching, the current body of theoretical work [both in 1995 when this paper was written, and today] is largely based on a metric (the so-called edit metric) [or minor variations of it] which does not qualitatively reflect the principal processes through which strings change in applications. To remedy this, we introduce the notion of [entropy-based] cut-paste metrics, in which substring reordering can be accomplished at sublinear cost. We then exhibit a specific cut-paste metric for which best matches can be practically computed. With a text string of length nn, a search string of length mm, and at most kk paste and insertion errors allowed, the text substring closest to the search string can be found in O(nklog⁡m)O(n k\log m) time and O(m(k+log⁡m))O(m(k+\log m)) space, provided that the search string has a suffix tree of depth O(log⁡m)O(\log m) (which is typical). We furthermore demonstrate a non-symmetric cut-paste metric which allows best matches containing long gaps to be computed in the same time and space.

查看此版本解读 →查看此版本原文 ↗