PHP: Building a “Did you mean X?” suggestion engine using the levenshtein function

👁 110 Szerző: Fejes Dávid Frissítette: Fejes Dávid Frissítve:
#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
Hozzászóláshoz jelentkezz be.
Még nincs hozzászólás.