Thai Language Support in Zebra Search Index

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Thai Language Support in Zebra Search Index

Alex Shepherd
Hi,

I’m in the process of transforming and importing bibliographic records from a UNICODE eLM system into Koha.

The eLM system has a mixture of English and Thai language titles (and maybe a few other non english UNICODE titles as well).

I’m making pretty good progress with the import in that I can search for titles by key words or barcode etc and it is finding them but I’m not sure about the searching for Thai language titles as I don’t know or speak Thai.

I see references to modifying the zebra search index configuration here:

        https://wiki.koha-community.org/wiki/ICU_chains_configuration

        https://wiki.koha-community.org/wiki/ICU_Chains_Library#Thai

but when I try to follow these examples I get an error:

        sudo koha-rebuild-zebra -f bbs
        Warning: You passed -x which is already the default and is now deprecated
        07:32:41-30/10 zebraidx(27438) [warn] default.idx:14: Could not load icuchain config 'words-icu.xml'
        07:32:41-30/10 zebraidx(27438) [warn] default.idx:23: Could not load icuchain config 'words-icu.xml'
        07:32:41-30/10 zebraidx(27438) [fatal] zebra_begin_trans: cannot open register

I’ve doubled check the file names in default.idx and they look ok to me.

I wonder if anyone else has any experience with tuning the search indexes for the Thai language that may be able to help
       
TIA

Regards

Alex Shepherd

p: +64-7-829 4441
m: +64-21-777764
e: [hidden email]

_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Thai Language Support in Zebra Search Index

Fridolin SOMERS
Hie,

icu_chain seems to have a problem.

Use this commande to check available languages :
yaz-icu -p l | grep th

See https://linux.die.net/man/1/yaz-icu

If you set locale="" it works ?

Regards,

Le 31/10/2016 à 06:35, Alex Shepherd a écrit :

> Hi,
>
> I’m in the process of transforming and importing bibliographic records from a UNICODE eLM system into Koha.
>
> The eLM system has a mixture of English and Thai language titles (and maybe a few other non english UNICODE titles as well).
>
> I’m making pretty good progress with the import in that I can search for titles by key words or barcode etc and it is finding them but I’m not sure about the searching for Thai language titles as I don’t know or speak Thai.
>
> I see references to modifying the zebra search index configuration here:
>
> https://wiki.koha-community.org/wiki/ICU_chains_configuration
>
> https://wiki.koha-community.org/wiki/ICU_Chains_Library#Thai
>
> but when I try to follow these examples I get an error:
>
> sudo koha-rebuild-zebra -f bbs
> Warning: You passed -x which is already the default and is now deprecated
> 07:32:41-30/10 zebraidx(27438) [warn] default.idx:14: Could not load icuchain config 'words-icu.xml'
> 07:32:41-30/10 zebraidx(27438) [warn] default.idx:23: Could not load icuchain config 'words-icu.xml'
> 07:32:41-30/10 zebraidx(27438) [fatal] zebra_begin_trans: cannot open register
>
> I’ve doubled check the file names in default.idx and they look ok to me.
>
> I wonder if anyone else has any experience with tuning the search indexes for the Thai language that may be able to help
>
> TIA
>
> Regards
>
> Alex Shepherd
>
> p: +64-7-829 4441
> m: +64-21-777764
> e: [hidden email]
>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> [hidden email]
> https://lists.katipo.co.nz/mailman/listinfo/koha
>

--
Fridolin SOMERS
Biblibre - Pôles support et système
[hidden email]
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha