I have an implementation of the jaro-winkler algorithm in my database. I did not write this function. The function compares two values and gives the probability of match.
So jaro(string1, string2, matchnoofchars) will return a result.
Instead of comparing two strings, I want to send one string with a matchnoofchars and then get a result set with the probability higher than 95%.
For example the current function is able to return 97.62% for jaro("Philadelphia","Philadelphlaa",9)
I wish to tweak this function so that I am able to find "Philadelphia" for an input of "Philadelphlaa". What kind of changes do I need to make for this to happen?
I am using Oracle 9i.