Cut-Paste Metrics: A More Natural Approach to Approximate String Matching
Abstract
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 , a search string of length , and at most paste and insertion errors allowed, the text substring closest to the search string can be found in time and space, provided that the search string has a suffix tree of depth (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.
Create a lesson
Metadata
- Categories
- cs.DS, cs.CL, cs.LG
- Comments
- 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
Related papers
Constant Competitive Ratios for Stochastic Online Metric Matching
Shared title terminologycs.DSChenglin Fan, Mingyu Kang
O(1)-Competitive Stochastic Online Metric Matching in General Metrics
Shared title terminologycs.DSJittat Fakcharoenphol, Pasin Manurangsi, Phanu Vajanopath
Cut-Matching with Attenuation: Faster Expander Decompositions and Approximate Max Flow
Shared title terminologycs.DSTrevor Vaughn
Metric Facility Location at the Approximation Threshold
Shared title terminologycs.DSMohammad Hajiaghayi, Mohammad Mahdian, Vahab Mirrokni
Approximation Algorithms for Minimizing the Makespan in Distributed Proportionate Flow Shops
Shared title terminologycs.DSDvir Shabtay, Baruch Mor, Gur Mosheiov
A Simple PTAS for Square-Free 2-Matching
Shared title terminologycs.DSTakashi Noguchi, Tatsuya Terao