[Isis-users] thesaurus manual

Piet De Keyser piet.dekeyser at ucll.be
Mon Mar 27 22:25:27 CEST 2017


Dear Guilda,


Thank you very much for this adaptions, but I think we are talking about a different structure here: I based my manual on the Agrovoc thesaurus structure (see FDT and FST attached): there is no v12 here. When you have a record for a non-preferred term it only contains the non-preferred term (v8) and the referrence to the preferred term, i.e. then USE, which is v3 (or equivalents in other languages, e.g. in v103 etc.).


I now manage (with some modification to the .dat file) to get a perputated list showing something like this:


                        CHILDREN

 migrant CHILDREN

         CHILDRENS art


which is basically OK. When selected, the correct term is inserted (e.g. "migrant children" and not "migrant CHILDREN", which is OK too).


But: when starting the thesaurus, the buttons "aflabetico" and "permutado" don't show any more, so I am somewhere limited to the alfabetical display, which can only be changed be first choosing a term to see in full. Also the non-preferred terms are not showing in the alfabetical list: they should show, but e.g. in italics, so that you know they are non-fererred terms and, if you select them anyhow, you should then retrieve the preferred terms instead.


Piet

________________________________
Van: Guilda Ascencio <guildaa at gmail.com>
Verzonden: maandag 27 maart 2017 19:52
Aan: Piet De Keyser
CC: isis-users at iccisis.org
Onderwerp: Re: [Isis-users] thesaurus manual

Dear Piet.

Now you can select the non-preferred term and abcd will send the preferred term. For doing so please change in the thesaurus database folder (def/[LANGUAGE] the file tesau.dat that now must contain:

alpha_prefix=TE_
perm_prefix=PER_
alpha_pft=v8,if p(v12) then '|'v12 fi
display=ficha


alpha_pft has changed and now it recovers the preferred term. (assuming that the non-preferred term is in v8 and the referred term is in v12.

The problem with the terms in lowercase was because the permuted word, recovered from the inverted file is in uppercase. For solving that issue now the comparation is case-independent.  I have an additional problem related with diacritics because in the inverted file the diacritics are changed via the isisuc,tab so I need to refine to procedure of finding in the the string the permuted word. I'll work on it.

Please place both scripts in the central\tesaurus folder and  let me know if is ok.

Regards

Guilda




On Fri, Mar 10, 2017 at 4:45 AM, Piet De Keyser <piet.dekeyser at ucll.be<mailto:piet.dekeyser at ucll.be>> wrote:
Hi all,

I updated my thesaurus manual:

http://www.personeel.khleuven.be/~pikey/thesaurus%20manual.pdf

In the previous version I wrote that it is possible to choose the non-preferred term; I was wrong and corrected it in my manual. If you put the non-preferred term in v8 it doesn't show and you cannot choose it, e.g.

               ILS
                  USE Integrated library systems

In this case you should put "ILS" in v8 instead of v1.

I still need someone who can tell me why the permuted list is not working properly when the thesaurus in in lower case...

Piet de Keyser,
UC Leuven, Belgium

_______________________________________________
isis-users mailing list
isis-users at iccisis.org<mailto:isis-users at iccisis.org>
To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20170327/a39e91b4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thes.fst
Type: application/octet-stream
Size: 208 bytes
Desc: thes.fst
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20170327/a39e91b4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thes.fdt
Type: application/octet-stream
Size: 1036 bytes
Desc: thes.fdt
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20170327/a39e91b4/attachment-0001.obj>


More information about the isis-users mailing list