Hi can you tell me how to compute the difference between 2 strings in an array ex from mark to spark. Thx I am seeing examples but I don't know how they are computed
Levenstehin String distance
Page 1 of 12 Replies - 951 Views - Last Post: 21 January 2012 - 03:35 PM
Topic Sponsor:
Replies To: Levenstehin String distance
#2
Re: Levenstehin String distance
Posted 21 January 2012 - 03:29 PM
Your Googling didn't bring up the Wikipedia article? Seems to show exactly how to compute this.
http://en.wikipedia....shtein_distance
If you give us a specific language to work with, there may be preexisting solutions available. PHP, for example, has a very handy function for this:
int levenshtein ( string $str1 , string $str2 )
http://en.wikipedia....shtein_distance
If you give us a specific language to work with, there may be preexisting solutions available. PHP, for example, has a very handy function for this:
int levenshtein ( string $str1 , string $str2 )
#3
Re: Levenstehin String distance
Posted 21 January 2012 - 03:35 PM
yes I saw it but I didn't understand how to get the numbers from one to another
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|