Google function

Google function

Postby George » Sun Apr 30, 2006 11:48 pm

Using www.google.com when you mispelled a word, by example: 'algorithmm'
you receive the following message:
Did you mean: algorithm

Do you have any Idea, Sugestion, or maye some algorithm :) to be implemented in a xHarbour program like that google function ?


Regards


George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby George » Mon May 01, 2006 4:27 pm

Soundex() is interesting. But is not the solution

The real problem is that I am talking about names. I want to implement the function in a database name with ten of thousands of names, no only english name (maybe spanish, arabs, and asians names). If I search for "RAMIREZ" and I write "RSMIREX", I would like that the function return a list with a few names close to RSMIREX.


George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby Antonio Linares » Mon May 01, 2006 7:45 pm

George,

Same as Google uses "page rank" to provide each page a specific importance or weight, you may need to keep a "word rank" so you can locate what are the most commonly used words based on their ranks.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 64 guests