This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Levenshtein Distance Function for Google Sheets | |
| // | |
| // This function calculates de Levenshtein Distance (or Edit Distance) between two strings. | |
| // I used the algorith and code from Wikipedia (https://en.wikipedia.org/wiki/Levenshtein_distance) | |
| // as a reference and just adjusted the code to be used on Google Sheets. | |
| // | |
| // By: Manoel Lemos / [email protected] / http://manoellemos.com | |
| // | |
| // IMPORTANT: I added some code in the begining of the function to try to solve the issues |