Journal Article10.1137/0207029
Correcting Counter-Automaton-Recognizable Languages
26
TL;DR: Using a linear-time algorithm for solving single-origin graph shortest distance problems, it is shown how to correct a string of length n into the language accepted by a counter automaton in time proportional to $n^2 $ on a RAM with unit operation cost function.
read more
Abstract: Correction of a string x into a language L is the problem of finding a string $y \in L$ to which x can be edited at least cost. The edit operations considered here are single-character deletions, single-character insertions, and single-character substitutions, each at an independent cost that does not depend on context. Employing a linear-time algorithm for solving single-origin graph shortest distance problems, it is shown how to correct a string of length n into the language accepted by a counter automaton in time proportional to $n^2 $ on a RAM with unit operation cost function. The algorithm is uniform over counter automata and edit cost functions; and it is shown how the correction time depends on the size of the automaton, the nature of the cost function, and the correction cost itself. For less general cases, potentially faster algorithms are described, including a linear-time algorithm for the case that very little correction is necessary and that the automaton’s counter activity is determined by ...
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Fast text searching: allowing errors
Sun Wu,Udi Manber +1 more
TL;DR: T h e string-matching problem is a very c o m m o n problem; there are many extensions to t h i s problem; for example, it may be looking for a set of patterns, a pattern w i t h "wi ld cards," or a regular expression.
848
Algorithms for finding patterns in strings
Alfred V. Aho
- 02 Jan 1991
TL;DR: This chapter discusses the algorithms for solving string-matching problems that have proven useful for text-editing and text-processing applications and several innovative, theoretically interesting algorithms have been devised that run significantly faster than the obvious brute-force method.
463
•Book
Ten Lectures on Statistical and Structural Pattern Recognition
Michail I. Schlesinger,Václav Hlaváč +1 more
- 31 May 2002
TL;DR: This lecture discusses context-free languages, their 2-D generalisation, related tasks, and the relationship of statistical and structural recognition to regular languages and corresponding pattern recognition tasks.
238
An Application of Pattern Matching in Intrusion Detection
Sandeep Kumar,Eugene H. Spafford +1 more
- 01 Jan 1994
TL;DR: A generalized model for matching intrusion signatures based on Colored Petri Nets is presented, and some of its properties are derived.
Approximately matching context-free languages
TL;DR: An O(PN2(N + log P)) algorithm for approximately matching a string of length N and a context-free language specified by a grammar of size P is given, which generalizes the Cocke-Younger-Kasami algorithm for determining membership in a context -free language.
54
References
•Book
The Design and Analysis of Computer Algorithms
Alfred V. Aho,John E. Hopcroft +1 more
- 01 Jan 1974
TL;DR: This text introduces the basic data structures and programming techniques often used in efficient algorithms, and covers use of lists, push-down stacks, queues, trees, and graphs.
10.6K
The String-to-String Correction Problem
TL;DR: An algorithm is presented which solves the string-to-string correction problem in time proportional to the product of the lengths of the two strings.
3.5K
Order-n correction for regular languages
TL;DR: The method presented requires time proportional to the number of characters in α .
126
Syntax-directed least-errors analysis for context-free languages: a practical approach
TL;DR: A least-errors recognizer is developed informally using the well-known recognizer of Earley, along with elements of Bellman's dynamic programming, and takes a general class of context-free grammars as drivers and any finite string as input.
97
A Shortest Path Algorithm for Edge-Sparse Graphs
TL;DR: An algorithm (FLOW) for finding the shortest distance from a given node S to each node X of a directed graph with nonnegative integer arc lengths less than or equal to WM is presented and is compared with its best-known competitor, that of Dijkstra and Yen (DFLO).
52
Related Papers (5)
I~En Thompson
- 01 Jan 1970