Jump to content

Did you mean? script


phporcaffeine

Recommended Posts

this forum is about writing your own script, not third party, so anyway the idea behind it is you use some sort of system + a dictionary to give suggestions.  This requires a fairly extensive dictionary that would be developed based on past searching criteria.  i.e each time a person does a search if the number results is favorable, record that is a "good" query.  Then you store each "good" query in a database with its count next to it (ignoring derrivations of it).  then you perform regex or some other test to find the bad query matching set of "good" queries.  Then you use realvaence between term A and Term B or the Good Query count of the terms B to determine which suggestion is the "best" and display it.

 

The only challenge to this is the relativeness between user input and the database, and building up a good db

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.