中文
相关论文

相关论文: Learning string edit distance

200 篇论文

This paper revisits recent code similarity evaluation metrics, particularly focusing on the application of Abstract Syntax Tree (AST) editing distance in diverse programming languages. In particular, we explore the usefulness of these…

计算与语言 · 计算机科学 2025-06-06 Yewei Song , Cedric Lothritz , Daniel Tang , Tegawendé F. Bissyandé , Jacques Klein

Edit distance is a measure of similarity of two strings based on the minimum number of character insertions, deletions, and substitutions required to transform one string into the other. The edit distance can be computed exactly using a…

数据结构与算法 · 计算机科学 2021-02-17 Diptarka Chakraborty , Debarati Das , Elazar Goldenberg , Michal Koucky , Michael Saks

Dictionary lookup methods are popular in dealing with ambiguous letters which were not recognized by Optical Character Readers. However, a robust dictionary lookup method can be complex as apriori probability calculation or a large…

信息论 · 计算机科学 2011-01-07 Rishin Haldar , Debajyoti Mukhopadhyay

Metric learning has the aim to improve classification accuracy by learning a distance measure which brings data points from the same class closer together and pushes data points from different classes further apart. Recent research has…

机器学习 · 计算机科学 2018-05-21 Benjamin Paaßen

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. A simple dynamic…

计算复杂性 · 计算机科学 2019-10-03 Elazar Goldenberg , Robert Krauthgamer , Barna Saha

The need to measure sequence similarity arises in information extraction, object identity, data mining, biological sequence analysis, and other domains. This paper presents discriminative string-edit CRFs, a finitestate conditional random…

机器学习 · 计算机科学 2012-07-09 Andrew McCallum , Kedar Bellare , Fernando Pereira

The edit distance is a basic string similarity measure used in many applications such as text mining, signal processing, bioinformatics, and so on. However, the computational cost can be a problem when we repeat many distance calculations…

数据结构与算法 · 计算机科学 2017-01-24 Hiroyuki Hanada , Mineichi Kudo , Atsuyoshi Nakamura

This paper is concerned with practical implementations of approximate string dictionaries that allow edit errors. In this problem, we have as input a dictionary $D$ of $d$ strings of total length $n$ over an alphabet of size $\sigma$. Given…

数据结构与算法 · 计算机科学 2014-08-26 Ibrahim Chegrane , Djamal Belazzougui

We present a novel corpus consisting of orthographically variant words found in works of 19th century U.S. literature annotated with their corresponding "standard" word pair. We train a set of neural edit distance models to pair these…

计算与语言 · 计算机科学 2026-02-18 Craig Messner , Tom Lippincott

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

Classic similarity measures of strings are longest common subsequence and Levenshtein distance (i.e., the classic edit distance). A classic similarity measure of curves is dynamic time warping. These measures can be computed by simple…

计算复杂性 · 计算机科学 2015-04-06 Karl Bringmann , Marvin Künnemann

A measure of similarity between text embeddings can be considered adequate only if it adheres to the human perception of similarity between texts. In this paper, we introduce the distance-to-distance ratio (DDR), a novel measure of…

计算与语言 · 计算机科学 2026-01-27 Abdullah Qureshi , Kenneth Rice , Alexander Wolpert

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

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

The edit distance problem is a classical fundamental problem in computer science in general, and in combinatorial pattern matching in particular. The standard dynamic programming solution for this problem computes the edit-distance between…

数据结构与算法 · 计算机科学 2016-10-05 Danny Hermelin , Gad M. Landau , Shir Landau , Oren Weimann

We consider the following model for sampling pairs of strings: $s_1$ is a uniformly random bitstring of length $n$, and $s_2$ is the bitstring arrived at by applying substitutions, insertions, and deletions to each bit of $s_1$ with some…

数据结构与算法 · 计算机科学 2020-07-08 Arun Ganesh , Aaron Sy

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 tutorial describes the concept of edit distances applied to research and commercial contexts. We use Translation Edit Rate (TER), Levenshtein, Damerau-Levenshtein, Longest Common Subsequence and $n$-gram distances to demonstrate the…

计算与语言 · 计算机科学 2024-10-10 Félix do Carmo , Diptesh Kanojia

The problem of computing the edit-distance between a string and a finite automaton arises in a variety of applications in computational biology, text processing, and speech recognition. This paper presents linear-space algorithms for…

形式语言与自动机理论 · 计算机科学 2009-04-30 Cyril Allauzen , Mehryar Mohri

This paper proposes a novel acoustic word embedding called Acoustic Neighbor Embeddings where speech or text of arbitrary length are mapped to a vector space of fixed, reduced dimensions by adapting stochastic neighbor embedding (SNE) to…

音频与语音处理 · 电气工程与系统科学 2022-01-10 Woojay Jeon