
The [fuzzystrmatch](https://www.postgresql.org/docs/15/fuzzystrmatch.html) module provides several functions to determine similarities and distance between strings.

```sql
CREATE EXTENSION fuzzystrmatch;

SELECT levenshtein('Yugabyte', 'yugabyte'), metaphone('yugabyte', 8);
```

```output
 levenshtein | metaphone
-------------+-----------
           2 | YKBT
(1 row)
```
