Searched refs:useLevenshteinDist (Results 1 – 1 of 1) sorted by relevance
448 function getBestWord(str1, words, useLevenshteinDist) argument455 useLevenshteinDist = (useLevenshteinDist != null) ? useLevenshteinDist : true;458 var minDist = ((useLevenshteinDist) ? levenshteinDist(str1, bestWord) :463 var tmp = ((useLevenshteinDist) ? levenshteinDist(str1, words[i]) :