FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Google function
Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Google function
Posted: 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

Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Google function
Posted: Mon May 01, 2006 04: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Google function
Posted: Mon May 01, 2006 07: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

Continue the discussion