|
|
[Perlfect-search] Synonyms?
John perlfect-search@perlfect.com
Wed, 28 Aug 2002 14:10:33 +0200 (CEST)
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 <jamesr@steptwo.com.au>:
> 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/
> jamesr@steptwo.com.au
>
> _______________________________________________
> perlfect-search mailing list
> perlfect-search@perlfect.com
> To unsubscribe, set other personal options or view the list archives
> please visit:
>
>
>
------------------------------------------------------------
F� din egen @start.no-adresse gratis p� http://www.start.no/
|
|