Method for computing the minimum edit distance with fine granularity suitably quickly
Abstract
This invention related to a method for computing the minimum edit distance, measured as the number of insertions plus the number of deletions, between two sequences of data, which runs in an amount of time that is nearly proportional to the size of the input data under many circumstances. Utilizing the A* (or A-star) search, the invention searches for the answer using a novel counting heuristic that gives a lower bound on the minimum edit distance for any given subproblem. In addition, regions over which the heuristic matches the maximum value of the answer are optimized by eliminating the search over redundant paths. The invention can also be used to produce the edit script. The invention can be modified for other types of comparison and pattern recognition.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 21.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method to compute a two way data structure heur (s, t), wherein s and t are strings or sequences of integers; comprising the steps of: (a) given a range of integers i from 0 to a −1, wherein a is an alphabet size; (b) given a previously-computed data structure input C i,s which stores the number of occurrences of the integer i in a string or sequence of integers s; (c) given a previously-computed data structure input C i,t which stores the number of occurrences of the integer i in a string or sequence of integers t; (d) computing the sum of the absolute values of the d
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 21 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Andrew Tridgell et al., The Rsync Algorithm, http://samba.anu.edu.au/rsync/tech<SUB>-</SUB>report ACT 0200, Australian National University, Jun. 1996, Canberra, Australia.
- Anoop Sarkar, Multiple Sequence Alignment: A Brief Introduction. for CMPT-825: Natural Language Processing, pp. 1-3, Sep. 15, 2003.
- Davi De Castro et al., Automatic Web News Extraction Using Tree Edit Distrance, In Proc. 13th Intl. Conf. on the World Wide Web, 2004, pp. 502-511, New York.
- Eugene W. Myers, An O(ND) Difference Algorithm and Its Variations. Algorithmica, 1986, pp. 1-15.
- James W. Hunt et al., A Fast Algorithm for Computing Longest Subsequences. Communications of the ACM, May 1977, pp. 350-353 vol. 20, No. 5.