Suppose i have a datatable in C# code
S/N Name Country
- nabil pakistan
- nabeel pakistan
- naaaabil pakistan
- naaabeeel Canada
i want to compare these element to one another by applying in a loop LevenshteinDistance(Soundex(datatable[i][1]), Soundex(array[j][1]))
LevenshteinDistance %=& Soundex are Methods that return.
result will be like this
- nabil pakistan 80%
- nabeel pakistan 70%
- naaaabil pakistan 75%
- naaabeeel pakistan 30%
then i will group by on basis of % of match.
plz help me out writing the code for generating the results.
Comments
Post a Comment