中文
相关论文

相关论文: Fast and Compact Regular Expression Matching

200 篇论文

The problem of dictionary matching is a classical problem in string matching: given a set S of d strings of total length n characters over an (not necessarily constant) alphabet of size sigma, build a data structure so that we can match in…

数据结构与算法 · 计算机科学 2015-05-18 Djamal Belazzougui

A string matching -- and more generally, sequence matching -- algorithm is presented that has a linear worst-case computing time bound, a low worst-case bound on the number of comparisons (2n), and sublinear average-case behavior that is…

数据结构与算法 · 计算机科学 2008-10-02 David R. Musser , Gor V. Nishanov

We revisit various string indexing problems with range reporting features, namely, position-restricted substring searching, indexing substrings with gaps, and indexing substrings with intervals. We obtain the following main results.…

数据结构与算法 · 计算机科学 2011-08-19 Philip Bille , Inge Li Goertz

We propose a new method for learning word representations using hierarchical regularization in sparse coding inspired by the linguistic study of word meanings. We show an efficient learning algorithm based on stochastic proximal methods…

计算与语言 · 计算机科学 2014-11-07 Dani Yogatama , Manaal Faruqui , Chris Dyer , Noah A. Smith

A pattern p (i.e., a string of variables and terminals) matches a word w, if w can be obtained by uniformly replacing the variables of p by terminal words. The respective matching problem, i.e., deciding whether or not a given pattern…

数据结构与算法 · 计算机科学 2019-07-30 Florin Manea , Markus L. Schmid

A weighted string over an alphabet of size $\sigma$ is a string in which a set of letters may occur at each position with respective occurrence probabilities. Weighted strings, also known as position weight matrices or uncertain sequences,…

数据结构与算法 · 计算机科学 2015-12-09 Carl Barton , Chang Liu , Solon P. Pissis

We study regular expression membership testing: Given a regular expression of size $m$ and a string of size $n$, decide whether the string is in the language described by the regular expression. Its classic $O(nm)$ algorithm is one of the…

数据结构与算法 · 计算机科学 2016-11-08 Karl Bringmann , Allan Grønlund , Kasper Green Larsen

We study the approximation hardness of the Shortest Superstring, the Maximal Compression and the Maximum Asymmetric Traveling Salesperson (MAX-ATSP) problem. We introduce a new reduction method that produces strongly restricted instances of…

计算复杂性 · 计算机科学 2012-08-28 Marek Karpinski , Richard Schmied

Permutation matrices play a key role in matching and assignment problems across the fields, especially in computer vision and robotics. However, memory for explicitly representing permutation matrices grows quadratically with the size of…

机器学习 · 计算机科学 2023-08-28 Hannah Dröge , Zorah Lähner , Yuval Bahat , Onofre Martorell , Felix Heide , Michael Möller

In this paper we consider several variants of the pattern matching problem. In particular, we investigate the following problems: 1) Pattern matching with k mismatches; 2) Approximate counting of mismatches; and 3) Pattern matching with…

数据结构与算法 · 计算机科学 2013-07-05 Marius Nicolae , Sanguthevar Rajasekaran

Given a text $T$ of length $n$ and a pattern $P$ of length $m$, the string matching problem is a task to find all occurrences of $P$ in $T$. In this study, we propose an algorithm that solves this problem in $O((n + m)q)$ time considering…

数据结构与算法 · 计算机科学 2020-04-14 Satoshi Kobayashi , Diptarama Hendrian , Ryo Yoshinaka , Ayumi Shinohara

In this paper, we extend the notion of gapped strings to elastic-degenerate strings. An elastic-degenerate string can been seen as an ordered collection of k > 1 seeds (substrings/subpatterns) interleaved by elastic-degenerate symbols such…

数据结构与算法 · 计算机科学 2016-10-27 Costas Iliopoulos , Ritu Kundu , Solon Pissis

The problem of finding a center string that is `close' to every given string arises and has many applications in computational biology and coding theory. This problem has two versions: the Closest String problem and the Closest Substring…

计算工程、金融与科学 · 计算机科学 2007-05-23 Ming Li , Bin Ma , Lusheng Wang

The Split and Rephrase (SPRP) task, which consists in splitting complex sentences into a sequence of shorter grammatical sentences, while preserving the original meaning, can facilitate the processing of complex texts for humans and…

计算与语言 · 计算机科学 2024-10-11 David Ponce , Thierry Etchegoyhen , Jesús Calleja Pérez , Harritxu Gete

We study a new variant of the string matching problem called cross-document string matching, which is the problem of indexing a collection of documents to support an efficient search for a pattern in a selected document, where the pattern…

数据结构与算法 · 计算机科学 2012-06-21 Gregory Kucherov , Yakov Nekrich , Tatiana Starikovskaya

In this paper, we study a series of algorithmic problems related to the subsequences occurring in the strings of a given language, under the assumption that this language is succinctly represented by a grammar generating it, or an automaton…

形式语言与自动机理论 · 计算机科学 2024-10-11 Szilárd Zsolt Fazekas , Tore Koß , Florin Manea , Robert Mercaş , Timo Specht

Suffix arrays and LCP arrays are one of the most fundamental data structures widely used for various kinds of string processing. We consider two problems for a read-only string of length $N$ over an integer alphabet $[1, \dots, \sigma]$ for…

数据结构与算法 · 计算机科学 2019-07-16 Keisuke Goto

Given a set of strings, the shortest common superstring problem is to find the shortest possible string that contains all the input strings. The problem is NP-hard, but a lot of work has gone into designing approximation algorithms for…

数据结构与算法 · 计算机科学 2019-12-04 Jarno Alanko , Tuukka Norri

The constrained synchronization problem (CSP) asks for a synchronizing word of a given input automaton contained in a regular set of constraints. It could be viewed as a special case of synchronization of a discrete event system under…

形式语言与自动机理论 · 计算机科学 2021-08-03 Stefan Hoffmann

We study the fundamental problem of finding the best string to represent a given set, in the form of the Closest String problem: Given a set $X \subseteq \Sigma^d$ of $n$ strings, find the string $x^*$ minimizing the radius of the smallest…

计算复杂性 · 计算机科学 2023-05-30 Amir Abboud , Nick Fischer , Elazar Goldenberg , Karthik C. S. , Ron Safier