Re: "Advanced" Search Algorithm

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 69881
interpreted = N
texte = Here is a hack to use the Google "did you mean" API http://immike.net/blog/2007/04/07/hacking-google-spell-checker-for-fun-and-p rofit/ Seems like you could integrate it a number of ways. The slickest would be via Javascript/AJAX so if you find any spelling errors the suggestions pop up. No errors, search goes on to your results page. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Pat McCormick Sent: Monday, March 03, 2008 1:16 PM To: WebDNA Talk Subject: Re: "Advanced" Search Algorithm I think you have to look up each word in the search phrase in a dictionary and only offer different spellings when a word IS NOT found in the dictionary. Suggestions would then be the closest or several closest words from the dictionary. On Mar 3, 2008, at 11:02 AM, Ki Song wrote: > We are currently able to search on all the fields in our inventory > database. > > Is it possible in WebDNA to search for "misspelled" words easily? > > For example, if a customer wanted to search for knife, but > accidentally spelled it as knfie, is there a built in function that > would "know" > that the > customer intended to search for knife OR at least an intelligent > guess? > > Thanks! > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> Web Archive of this list is at: > http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: "Advanced" Search Algorithm ( Donovan Brooke 2008)
  2. Re: "Advanced" Search Algorithm ( "Olin Lagon" 2008)
  3. Re: "Advanced" Search Algorithm ( Donovan Brooke 2008)
  4. Re: "Advanced" Search Algorithm ( "Olin Lagon" 2008)
  5. Re: "Advanced" Search Algorithm ( Pat McCormick 2008)
  6. Re: "Advanced" Search Algorithm ( Pat McCormick 2008)
  7. Re: "Advanced" Search Algorithm ( "Planet DJ (Chris W.)" 2008)
  8. Re: "Advanced" Search Algorithm ( Matthew A Perosi 2008)
  9. Re: "Advanced" Search Algorithm ( Donovan Brooke 2008)
  10. "Advanced" Search Algorithm ( Ki Song 2008)
Here is a hack to use the Google "did you mean" API http://immike.net/blog/2007/04/07/hacking-google-spell-checker-for-fun-and-p rofit/ Seems like you could integrate it a number of ways. The slickest would be via Javascript/AJAX so if you find any spelling errors the suggestions pop up. No errors, search goes on to your results page. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Pat McCormick Sent: Monday, March 03, 2008 1:16 PM To: WebDNA Talk Subject: Re: "Advanced" Search Algorithm I think you have to look up each word in the search phrase in a dictionary and only offer different spellings when a word IS NOT found in the dictionary. Suggestions would then be the closest or several closest words from the dictionary. On Mar 3, 2008, at 11:02 AM, Ki Song wrote: > We are currently able to search on all the fields in our inventory > database. > > Is it possible in WebDNA to search for "misspelled" words easily? > > For example, if a customer wanted to search for knife, but > accidentally spelled it as knfie, is there a built in function that > would "know" > that the > customer intended to search for knife OR at least an intelligent > guess? > > Thanks! > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> Web Archive of this list is at: > http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Olin Lagon"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

webcat 2.1 new cart fields - please explain more (1998) RE: Suggestions for Topics to be covered in an Advanced WebDNACourse... (1998) PIXO Support (1997) Viewing old carts (was FEW QUESTIONS) (1997) Dates! (1998) CAPTCHA (2006) WebCat2 beta 11 - new prefs ... (1997) Globals in 3.x (2002) Mystery File (2005) WC2.0 Memory Requirements (1997) all records returned. (1997) GrandTotal not right (1997) storing images (2004) canEmail? (1998) AAgghh!! Help, please. SSL strikes again. (1997) RE: type 2 errors with ssl server (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) b12 cannot limit records returned and more. (1997) Kaaaaahhhhhhhnnnnnnn! (1997) [table] strange behaviour REAL solution (2003)