中文
相关论文

相关论文: Efficiently Computing Edit Distance to Dyck Langua…

200 篇论文

We present an algorithm for approximating the edit distance between two strings of length $n$ in time $n^{1+\varepsilon}$ up to a constant factor, for any $\varepsilon>0$. Our result completes a research direction set forth in the recent…

数据结构与算法 · 计算机科学 2022-07-18 Alexandr Andoni , Negev Shekel Nosatzki

The approximate string matching is a fundamental and recurrent problem that arises in most computer science fields. This problem can be defined as follows: Let $D=\{x_1,x_2,\ldots x_d\}$ be a set of $d$ words defined on an alphabet…

数据结构与算法 · 计算机科学 2017-01-31 Ibrahim Chegrane

The edit distance between two rooted ordered trees with $n$ nodes labeled from an alphabet~$\Sigma$ is the minimum cost of transforming one tree into the other by a sequence of elementary operations consisting of deleting and relabeling…

数据结构与算法 · 计算机科学 2017-03-28 Karl Bringmann , Paweł Gawrychowski , Shay Mozes , Oren Weimann

The edit distance is a metric of dissimilarity between strings, widely applied in computational biology, speech recognition, and machine learning. Let $e_k(n)$ denote the average edit distance between random, independent strings of $n$…

形式语言与自动机理论 · 计算机科学 2024-04-09 Gianfranco Bilardi , Michele Schimd

The edit distance is a way of quantifying how similar two strings are to one another by counting the minimum number of character insertions, deletions, and substitutions required to transform one string into the other. In this paper we…

数据结构与算法 · 计算机科学 2016-07-14 Diptarka Chakraborty , Elazar Goldenberg , Michal Koucký

There are efficient dynamic programming solutions to the computation of the Edit Distance from $S\in[1..\sigma]^n$ to $T\in[1..\sigma]^m$, for many natural subsets of edit operations, typically in time within $O(nm)$ in the worst-case over…

信息检索 · 计算机科学 2018-06-13 Jérémy Barbay , Andrés Olivares

The edit distance (a.k.a. the Levenshtein distance) between two strings is defined as the minimum number of insertions, deletions or substitutions of symbols needed to transform one string into another. The problem of computing the edit…

计算复杂性 · 计算机科学 2017-08-17 Arturs Backurs , Piotr Indyk

We present an algorithm for approximating the edit distance $\operatorname{ed}(x, y)$ between two strings $x$ and $y$ in time parameterized by the degree to which one of the strings $x$ satisfies a natural pseudorandomness property. The…

数据结构与算法 · 计算机科学 2018-11-13 William Kuszmaul

Given two strings $A[1..n]$ and $B[1..m]$, and a set of operations allowed to edit the strings, the edit distance between $A$ and $B$ is the minimum number of operations required to transform $A$ into $B$. Sequentially, a standard Dynamic…

数据结构与算法 · 计算机科学 2023-09-01 Xiangyun Ding , Xiaojun Dong , Yan Gu , Youzhe Liu , Yihan Sun

The edit distance between strings classically assigns unit cost to every character insertion, deletion, and substitution, whereas the Hamming distance only allows substitutions. In many real-life scenarios, insertions and deletions…

数据结构与算法 · 计算机科学 2026-02-23 Elazar Goldenberg , Tomasz Kociumaka , Robert Krauthgamer , Barna Saha

We study the problem of approximating edit distance in sublinear time. This is formalized as the $(k,k^c)$-Gap Edit Distance problem, where the input is a pair of strings $X,Y$ and parameters $k,c>1$, and the goal is to return YES if…

数据结构与算法 · 计算机科学 2022-10-04 Elazar Goldenberg , Tomasz Kociumaka , Robert Krauthgamer , Barna Saha

We study edit distance computation with preprocessing: the preprocessing algorithm acts on each string separately, and then the query algorithm takes as input the two preprocessed strings. This model is inspired by scenarios where we would…

数据结构与算法 · 计算机科学 2021-08-23 Elazar Goldenberg , Aviad Rubinstein , Barna Saha

The tree edit distance is a natural dissimilarity measure between rooted ordered trees whose nodes are labeled over an alphabet $\Sigma$. It is defined as the minimum number of node edits (insertions, deletions, and relabelings) required to…

数据结构与算法 · 计算机科学 2025-07-04 Tomasz Kociumaka , Ali Shahali

In this paper we consider the problem of deciding membership in Dyck languages, a fundamental family of context-free languages, comprised of well-balanced strings of parentheses. In this problem we are given a string of length $n$ in the…

数据结构与算法 · 计算机科学 2017-07-21 Eldar Fischer , Frédéric Magniez , Tatiana Starikovskaya

In this paper we are interested in indexing texts for substring matching queries with one edit error. That is, given a text $T$ of $n$ characters over an alphabet of size $\sigma$, we are asked to build a data structure that answers the…

数据结构与算法 · 计算机科学 2014-08-25 Djamal Belazzougui

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,…

数据结构与算法 · 计算机科学 2024-10-15 Sudatta Bhattacharya , Sanjana Dey , Elazar Goldenberg , Michal Koucký

We study the problem of estimating the edit distance between two $n$-character strings. While exact computation in the worst case is believed to require near-quadratic time, previous work showed that in certain regimes it is possible to…

数据结构与算法 · 计算机科学 2020-07-29 Joshua Brakensiek , Moses Charikar , Aviad Rubinstein

The edit distance of two strings is the minimum number of insertions, deletions, and substitutions needed to transform one string into the other. The textbook algorithm determines the edit distance of length-$n$ strings in $O(n^2)$ time,…

数据结构与算法 · 计算机科学 2025-02-04 Egor Gorbachev , Tomasz Kociumaka

We define and investigate the Fr\'{e}chet edit distance problem. Given two polygonal curves $\pi$ and $\sigma$ and a threshhold value $\delta>0$, we seek the minimum number of edits to $\sigma$ such that the Fr\'{e}chet distance between the…

计算几何 · 计算机科学 2024-03-20 Emily Fox , Amir Nayyeri , Jonathan James Perry , Benjamin Raichel

Graph edit distance (GED) is a powerful and flexible graph matching paradigm that can be used to address different tasks in structural pattern recognition, machine learning, and data mining. In this paper, some new binary linear programming…

数据结构与算法 · 计算机科学 2015-05-22 Julien Lerouge , Zeina Abu-Aisheh , Romain Raveaux , Pierre Héroux , Sébastien Adam