28-Jul-2021 14:40:54 levenshtein_test(): MATLAB/Octave version 9.9.0.1467703 (R2020b) Test levenshtein(). LEVENSHTEIN_DISTANCE_TEST: LEVENSHTEIN_DISTANCE computes the Levenshtein distance between two strings. S = "water" T = "wine" Computed distance = 3, correct distance = 3 S = "kitten" T = "sitting" Computed distance = 3, correct distance = 3 S = "saturday" T = "sunday" Computed distance = 3, correct distance = 3 S = "pheromones" T = "photographer" Computed distance = 8, correct distance = 8 LEVENSHTEIN_MATRIX_TEST: LEVENSHTEIN_MATRIX computes the Levenshtein matrix associated with the computation of the Levenshtein distance between two strings. S = "water" T = "wine" 0 1 2 3 4 1 0 1 2 3 2 1 1 2 3 3 2 2 2 3 4 3 3 3 2 5 4 4 4 3 S = "sitting" T = "kitten" 0 1 2 3 4 5 6 1 1 2 3 4 5 6 2 2 1 2 3 4 5 3 3 2 1 2 3 4 4 4 3 2 1 2 3 5 5 4 3 2 2 3 6 6 5 4 3 3 2 7 7 6 5 4 4 3 S = "sunday" T = "saturday" 0 1 2 3 4 5 6 7 8 1 0 1 2 3 4 5 6 7 2 1 1 2 2 3 4 5 6 3 2 2 2 3 3 4 5 6 4 3 3 3 3 4 3 4 5 5 4 3 4 4 4 4 3 4 6 5 4 4 5 5 5 4 3 S = "pheromones" T = "photographer" 0 1 2 3 4 5 6 7 8 9 10 11 12 1 0 1 2 3 4 5 6 7 8 9 10 11 2 1 0 1 2 3 4 5 6 7 8 9 10 3 2 1 1 2 3 4 5 6 7 8 8 9 4 3 2 2 2 3 4 4 5 6 7 8 8 5 4 3 2 3 2 3 4 5 6 7 8 9 6 5 4 3 3 3 3 4 5 6 7 8 9 7 6 5 4 4 3 4 4 5 6 7 8 9 8 7 6 5 5 4 4 5 5 6 7 8 9 9 8 7 6 6 5 5 5 6 6 7 7 8 10 9 8 7 7 6 6 6 6 7 7 8 8 levenshtein_test(): Normal end of execution. 28-Jul-2021 14:40:54