|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
"Looksalike" algorithmHi everyone,
I'm looking around for a VB.NET algorithm that can do non-exact matches, that is, a "looks alike" type logic for word patterns. Does anyone have any suggestions/comments/algorthms they would like to mention? Any comments/suggestions greatly appreciated. Al. I don't remember the name right now but I've seen once someone who had a
problem on an algorithm that finds the "edit distance" between two strings (ie. the number of elementary insertion/deletion operations your have to do to go from one string to the other one). Googling for "edit distance" should hopefully return pages for this. you still may want to explain what you are trying to do. The type of application could raise more appropriate suggestions... -- Show quoteHide quotePatrice <almu***@altavista.com> a écrit dans le message de news: 1144762127.852172.152***@j33g2000cwa.googlegroups.com... > Hi everyone, > > I'm looking around for a VB.NET algorithm that can do non-exact > matches, that is, a "looks alike" type logic for word patterns. > Does anyone have any suggestions/comments/algorthms they would like > to mention? Any comments/suggestions greatly appreciated. > > Al. > This is the Levenshtein distance :
http://en.wikipedia.org/wiki/Levenshtein_distance If I remember the poster had a problem with comparing similarity accross couples of words (i.e. a 20 letter word with 4 changes is still "better" than a 4 letter word with 3 changes). I suggested to divide the edit distance by the length of the word to get a "number of changes per letter"... -- Patrice "Patrice" <scr***@chez.com> a écrit dans le message de news: uC0wr8WXGHA.4***@TK2MSFTNGP05.phx.gbl...Show quoteHide quote >I don't remember the name right now but I've seen once someone who had a >problem on an algorithm that finds the "edit distance" between two strings >(ie. the number of elementary insertion/deletion operations your have to do >to go from one string to the other one). > > Googling for "edit distance" should hopefully return pages for this. you > still may want to explain what you are trying to do. The type of > application could raise more appropriate suggestions... > > -- > Patrice > > <almu***@altavista.com> a écrit dans le message de news: > 1144762127.852172.152***@j33g2000cwa.googlegroups.com... >> Hi everyone, >> >> I'm looking around for a VB.NET algorithm that can do non-exact >> matches, that is, a "looks alike" type logic for word patterns. >> Does anyone have any suggestions/comments/algorthms they would like >> to mention? Any comments/suggestions greatly appreciated. >> >> Al. >> > > almu***@altavista.com wrote:
> Hi everyone, If you are doing fuzzy matching on names, something like Soundex might> > I'm looking around for a VB.NET algorithm that can do non-exact > matches, that is, a "looks alike" type logic for word patterns. > Does anyone have any suggestions/comments/algorthms they would like > to mention? Any comments/suggestions greatly appreciated. help: <http://en.wikipedia.org/wiki/Soundex> Lots of stuff in there. -- Larry Lard Replies to group please Hi,
In addition to the other comments you can use option compare text to make the string comparisons non case sensitive. Like works with string comparsions. Finally regular expressions are great for matching patterns. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemtextregularexpressionsregexclasstopic.asp Ken --------------------- Show quoteHide quote "almu***@altavista.com" wrote: > Hi everyone, > > I'm looking around for a VB.NET algorithm that can do non-exact > matches, that is, a "looks alike" type logic for word patterns. > Does anyone have any suggestions/comments/algorthms they would like > to mention? Any comments/suggestions greatly appreciated. > > Al. > >
Sub Main() refusing to work
How do I extend My.Resources System.Timers.Timer.Elapsed event not firing simple queue Total VB.Net newbie - Directory.Exists question Saving Jpeg/Exif info Please Help. How to simplifying boolean algebra expression? How to simplifying boolean algebra expression? Edit and Continue doesn't work Tree view node selection error |
|||||||||||||||||||||||