PHP: Building a “Did you mean X?” suggestion engine using the levenshtein function
#PHP
https://shawnhooper.ca/2024/01/16/php-levenshtein-function/
I’ve always wondered how the guessing of which command you meant to use worked. Until now. It turns out these work using a built-in PHP function called levenshtein.
Hozzászólások
0 db