Closest Pokemon:
The name or word you enter is converted into Metaphone form. Metaphone is an algorithm that classifies words based on the way they're pronounced. Then, the Levenshtein distance between your Metaphone and the Metaphone of each Pokemon name is computed. This is the number of letters that need to be added, removed, or changed. |
The Pokemon whose name has the least distance is displayed, with a preference towards earlier Pokemon. |
By Asher Stuhlman
See my other projects