spelling matching using Jaro-Winkler Distance to calculate the similarity of two strings
<p>I'm tring to do auto-correct for spelling and using Jaro-Winkler strategy .
I have list of suggestions and the types word is ranked with the suggestion words.
The problem I'm facing, when word "ans"/"anf"/"anr" is types ,"an" is given the heights rank when compared. "and" is way back in the score list . Therefore "ans"/"anf"/"anr" are replaced with "an" instead of "and" . </p>

<p>Any suggestion how should I solve this, or are there any other algorithm to replace "ans"/"anf"/"anr" perfectly with "and" not "an" ?</p>
