Re: Synonyms?

John <[email protected]>
Newsgroups gmane.comp.web.perlfect-search
Message-ID <[email protected]>
If a fuzzy search is indeed what you are after, as Jerrad Pierce is suggesting, 
you might want to try to implement it the following way, which is not as 
resource-intensive:

Whenever the user enters a non-existent term (which most misspellings turn out 
to be) simply do a fuzzy search for similar terms to suggest to use instead, 
without actually doing a search Eg:

"the term ..... does not occur anywhere in our pages and gave 0 hits. Did you 
mean .... ?"

This should be fairly easy to implement, I think. Some time ago, I wrote a 
small routine to do the fuzzy searching in the term list, but I haven't put it 
to use yet.


Quoting James Robertson <[email protected]>:

> Hi all,
> 
> We've just implemented logging using PerlFect
> Search, and are now generating two separate
> reports:
> 
> * Most popular searches
> * Failed search terms
> 
> The second report has highlighted that visitors
> are mis-typing quite a few searches, or are
> using a range of terms for the same thing.
> 
> What we would like to do is implement a
> "synonyms list", so that if a visitor uses
> one term, it also matches documents containing
> its synonyms.
> 
> Has anyone done this using PerlFect?
> Any advice?
> 
> Thanks in advance,
> James
> 
> -------------------------
> James Robertson
> Step Two Designs Pty Ltd
> Knowledge Management Consultancy, SGML & XML
> 
> Content Management Requirements Toolkit
> 112 CMS requirements, ready to cut-and-paste
> 
> http://www.steptwo.com.au/
> [email protected]
> 
> _______________________________________________
> perlfect-search mailing list
> [email protected]
> To unsubscribe, set other personal options or view the list archives
> please visit:
> http://perlfect.com/mailman/listinfo/perlfect-search
> 
> 


------------------------------------------------------------
Få din egen @start.no-adresse gratis på http://www.start.no/
_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search

lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.