Custom Synonym/Word Forms List

Post Reply
velevi
Posts: 42
Joined: Thu Sep 08, 2005 12:21 pm

Custom Synonym/Word Forms List

Post by velevi »

Is is possible to set up a list of synonsyms or related word forms that only a specific site deals with (which are not in built in Webinator, because might be too specific or technical).

E.g. if a page with the word Pharynx is searched and the search settings are set to produce all realted forms ofthe search keywords, then Pharyngeal should also come up, since it's the adjective of Pharynx, but it doesn't. So, can we extend the forms' list somehow?

Same holds for synonyms -- for words that we think are synonyomous for our purposes but are not originally synonyms in Webinator.

(Any way other than setting up Best Bets, since that requires too much manual work on 100s of pages)
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Custom Synonym/Word Forms List

Post by John »

John Turnbull
Thunderstone Software
velevi
Posts: 42
Joined: Thu Sep 08, 2005 12:21 pm

Custom Synonym/Word Forms List

Post by velevi »

Nothing comes up clicking on the thread (Sorry, could it be just me?)
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Custom Synonym/Word Forms List

Post by mark »

That thread was all private for some reason. Try now.
velevi
Posts: 42
Joined: Thu Sep 08, 2005 12:21 pm

Custom Synonym/Word Forms List

Post by velevi »

Well thank you. That gives me something to work with.

Can you also please suggest where the 'eqvsusr.lst' and 'eqvsusr' files are supposed to be created. I am guessing that they need to be in the same directory as the live search database of a profile, right?

Appreciate the help!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Custom Synonym/Word Forms List

Post by mark »

No, don't put them there, they might get deleted. They can go just about anywhere. I'd suggest the installation directory.
velevi
Posts: 42
Joined: Thu Sep 08, 2005 12:21 pm

Custom Synonym/Word Forms List

Post by velevi »

Great! I got the user synonym (or s.c. equivalence list) working. The documentation (linked from the old thread you sent) emphasized the fact the 'eqvsusr.lst' and 'eqvsusr' files need to be directly in the 'morph3' directory for the search to pick up this custom synonyms list and integrate it with the one built in.

Nevertheless, do you know whether different equivalence files can be used by invidual profiles without the profiles being able to "see" each others synonyms?

Thank you!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Custom Synonym/Word Forms List

Post by mark »

eqvsusr in the installation directory is the default name and location. <apicp ueqprefix ...> lets you set it to whatever you want. You could set it differently for each profile with a hard-coded switch on profile name ($pr) (fairly simple) or by creating a new setting for the gui (somewhat complicated). Or you could put the equiv in the dataspace for the profile and always set ueqprefix to $db/../ueqprefix
velevi
Posts: 42
Joined: Thu Sep 08, 2005 12:21 pm

Custom Synonym/Word Forms List

Post by velevi »

Thank you very much. It all works great with the commercial version of Webinator! - and works for each individual profile.

I was wondering whether, using 'backref', I can actually query the built-in equivalences dictionary to see whether an entry already exists??

The documentation doesn't mention anything about it.
Thanks again!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Custom Synonym/Word Forms List

Post by mark »

The -e option to backref invokes the interactive editor which will show you the current values for words it knows.
Post Reply