Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Approximate string matching

String Algorithm

Approximate string matching, often called fuzzy string searching, is the technique of finding strings that match a pattern approximately rather than exactly. The problem is usually split into finding approximate substring matches inside a given string and finding dictionary strings that match the pattern approximately. Closeness is measured by the edit distance, the number of primitive operations such as insertion, deletion, substitution and sometimes transposition needed to turn a string into an exact match. A brute-force solution takes cubic time, while the solution proposed by Sellers uses dynamic programming and takes time proportional to the product of pattern and text length. Wagner and Fischer gave a related dynamic programming algorithm for Levenshtein distance. Later work includes the bitap algorithm used in the Unix utility agrep, algorithms whose cost depends on a bound k on the edit distance, and similarity joins for large data collections.

Connections

In Field

Source Approximate string matching (Wikipedia)

Uses Design Technique

Source Approximate string matching (Wikipedia)
Sources
Approximate string matching (Wikipedia)
  • In Group: Edit Distance and Sequence Alignment Algorithms, Lead
    is the technique of finding
  • In Field: Algorithms and Complexity Theory, Lead
    is the technique of finding
  • Uses Design Technique: Dynamic Programming, Problem formulation and algorithms
    A better solution, which was proposed by Sellers, relies on dynamic programming.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.