# Approximate String Matching: Theory and Applications (La Recherche   Approch\'ee de Motifs : Th\'eorie et Applications)

**Authors:** Ibrahim Chegrane

arXiv: 1701.08688 · 2017-01-31

## TL;DR

This paper presents new practical algorithms for approximate string matching across dictionaries, texts, autocompletion, and biological sequences, demonstrating superior performance on real-world data sets.

## Contribution

The authors introduce novel, efficient algorithms for approximate string matching in various contexts, including dictionaries, autocompletion, and biological sequence alignment, with implementations available online.

## Key findings

- Algorithms outperform existing methods on real-world benchmarks.
- Proposed solutions are adaptable to different data structures and error types.
- All methods are implemented as accessible online libraries.

## Abstract

The approximate string matching is a fundamental and recurrent problem that arises in most computer science fields. This problem can be defined as follows:   Let $D=\{x_1,x_2,\ldots x_d\}$ be a set of $d$ words defined on an alphabet $\Sigma$, let $q$ be a query defined also on $\Sigma$, and let $k$ be a positive integer. We want to build a data structure on $D$ capable of answering the following query: find all words in $D$ that are at most different from the query word $q$ with $k$ errors.   In this thesis, we study the approximate string matching methods in dictionaries, texts, and indexes, to propose practical methods that solve this problem efficiently. We explore this problem in three complementary directions:   1) The approximate string matching in the dictionary. We propose two solutions to this problem, the first one uses hash tables for $k \geq 2$, the second uses the Trie and reverse Trie, and it is restricted to (k = 1). The two solutions are adaptable, without loss of performance, to the approximate string matching in a text.   2) The approximate string matching for \textit{autocompletion}, which is, find all suffixes of a given prefix that may contain errors. We give a new solution better in practice than all the previous proposed solutions.   3) The problem of the alignment of biological sequences can be interpreted as an approximate string matching problem. We propose a solution for peers and multiple sequences alignment.   \medskip All the results obtained showed that our algorithms, give the best performance on sets of practical data (benchmark from the real world). All our methods are proposed as libraries, and they are published online.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1701.08688/full.md

## Figures

66 figures with captions in the complete paper: https://tomesphere.com/paper/1701.08688/full.md

## References

141 references — full list in the complete paper: https://tomesphere.com/paper/1701.08688/full.md

---
Source: https://tomesphere.com/paper/1701.08688