473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

"Looksalike" algorithm

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.

Apr 11 '06 #1
6 1238
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

<al*****@altavista.com> a écrit dans le message de news:
11**********************@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.

Apr 11 '06 #2
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" <sc****@chez.com> a écrit dans le message de news:
uC**************@TK2MSFTNGP05.phx.gbl...
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

<al*****@altavista.com> a écrit dans le message de news:
11**********************@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.


Apr 11 '06 #3
Merci Patrice.

Al.

Apr 11 '06 #4

al*****@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.


If you are doing fuzzy matching on names, something like Soundex might
help:

<http://en.wikipedia.org/wiki/Soundex>

Lots of stuff in there.

--
Larry Lard
Replies to group please

Apr 11 '06 #5
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/de...classtopic.asp

Ken
---------------------

"al*****@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.

Apr 11 '06 #6
Thank you both for your comments

Apr 12 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jack Smith | last post by:
Hello, any help appreciated with following problem. I figured out the algorithm (I think), just having trouble proving it is optimal. Suppose we are given n tasks each of which takes 1 unit...
10
by: bpontius | last post by:
The GES Algorithm A Surprisingly Simple Algorithm for Parallel Pattern Matching "Partially because the best algorithms presented in the literature are difficult to understand and to implement,...
32
by: Cmorriskuerten | last post by:
HI, is this is this solution to test if a number is a prime number or not: /* * Is n a prime number? * Return TRUE (1): n is a prime number * Return FALSE (0): n is a *not* a prime number...
113
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same...
4
by: FBM | last post by:
Hi, I am working on a program that simulates one of the elements of ATM. The simulation stores events which occurs every some milliseconds for a certain amount of time. Every time that an event...
2
by: Julio C. Hernandez Castro | last post by:
Dear all, We have just developped a new block cipher called Raiden, following a Feistel Network structure by means of genetic programming. Our intention now consists on getting as much feedback...
0
by: aruna | last post by:
hey guys i earlier had very valuable responses from you all for base64 encoding algorithm.so thank for that. so now i need your assistance to do a float encoding algorithm. you may wonder why i'm...
1
by: almurph | last post by:
Hi everyone, Concerning the Needleman-Wunsch algorithm (cf. http://en.wikipedia.org/wiki/Needleman-Wunsch_algorithm) I have noticed a possible loop. Inside the algorithm there is an...
9
Rabbit
by: Rabbit | last post by:
Introduction The Advanced Encryption Standard is the algorithm that won the National Insitute of Standards and Technology's (NIST) search for a standardized encryption algorithm in 2001. In 2002, it...
24
Rabbit
by: Rabbit | last post by:
INTRODUCTION The Secure Hash Algorithm 2 is a series of cryptographic hash algorithms designed by the US National Security Agency (NSA) and published by the National Institute of Standards and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.