Quoting Ben Johnson <email@example.com>:
I have a search on my website that search names, so I know all of the
values they could enter. How do I do something like google where if I
type jonson it would say "did you mean johnson"?
Pete Norvig explains how he did it: