asp.net - How to detect similarities using .Net or SQL Server -
i'm using asp.net 4 , sql server 2008 r2.
i know if exist class or tool in database or in .net framework calculating data similarities between 2 string values.
what need value in percent indicating similarities between 2 strings, can execute logic based on percentage (like refusing user's input if data similar present in system).
any ideas? thanks
ps please comment if need more information or question not appropriate.
there fuzzy comparison in sql it's not great. instead, use levenstein algorithm has implementation in both sql , c#.
http://en.wikipedia.org/wiki/levenshtein_distance
or similar approach, wiki page has lot of information.
Comments
Post a Comment