Page 1 of 1

Strategy for foreign language equiv

Posted: Sun Oct 07, 2001 11:37 pm
by Crash.Alpha
As I understand it, the default equiv list is for English. With a profile, I can create a supplemental user equiv list that will be searched first. If that user equiv list does not return a result, the default equiv list is searched.

If I wanted to create an equiv file for different languages, how would I implement it? Since this is for a Swiss site, the content could be in any of four languages. We would like to implement a search using the equiv file of our choice as the thesaurus. At first, we thought that a profile and user equiv list was the answer, but then we realized that it would fall back to the default English one if that failed.

Hints, ideas or inspiration from anyone?

Thanks,

Carlo

Strategy for foreign language equiv

Posted: Mon Oct 08, 2001 7:10 am
by John
You can create a custom thesaurus, and install it as the main thesaurus through the eqprefix setting. The ueqprefix setting is for the user or supplemental thesaurus, but both can be pointed at different files, e.g.

<apicp eqprefix /usr/local/morph3/eqfr>
<apicp ueqprefix "">

to use a French language equiv file, and not use the default at all.

It is also worth noting that the user equiv list is merged with the main equivs, rather than one or the other being used for a given word. This allows the user equiv to modify the main equiv without replacing it.