adding terms to spell check

Post Reply
webmaster2468
Posts: 2
Joined: Tue Oct 19, 2004 11:18 am

adding terms to spell check

Post by webmaster2468 »

Hello.

I'm using the webinator 5 free version. I was wondering if there was a way I could add my own spell checking terms. In particular, There are two valid terms that is used on our site. However, when one search the one, they often mean to search for the other.

Unfortunately, I can't change the terms,- they are product names.

LN
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

adding terms to spell check

Post by John »

The spell check automatically includes all the words on your website. You could add your own logic in the search script to look for the terms, and produce the desired behavior. Do you want a search to suggest the other, or search for both?
John Turnbull
Thunderstone Software
webmaster2468
Posts: 2
Joined: Tue Oct 19, 2004 11:18 am

adding terms to spell check

Post by webmaster2468 »

yep, I noticed that it automatically includes the words on the site, but the problem is with conjunctions.

My specific example is when the user searches for "rocket port" which is valid and has valid results, most of the time, the user wants "rocketport"

I want the search to suggest the other.

which script would that be? Or can I add my own suggestions some database?
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

adding terms to spell check

Post by John »

In the search script. Something like:

<if $q like 'rocket port'>
<LOCAL query>
<$query=rocketport>
Did you mean <A HREF="$url$urlq">rocketport</A>?
</if>

With the full Texis product you could create a custom thesaurus which would treat both forms identically.
John Turnbull
Thunderstone Software
Post Reply