From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Daniel Chiaramello <daniel(dot)chiaramello(at)golog(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: chinese parser for text search ! |
Date: | 2009-02-02 20:37:03 |
Message-ID: | Pine.LNX.4.64.0902022330520.4158@sn.sai.msu.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Daniel,
I was able to compile bamboo just following instructions.
The only problem was related to cmake version, I had to install latest
version of cmake 2.6-patch 2.
I used postgresql from CVS HEAD.
Then I compiled and installed exts/postgres/chinese_parser, but when
installing it into database I got error:
SET
Timing is on.
SET
Time: 1,878 ms
ERROR: can not load bamboo
ERROR: can not load bamboo
ERROR: can not load bamboo
ERROR: can not load bamboo
ERROR: function chineseprs_start(internal, integer) does not exist
ERROR: text search parser "chineseparser" does not exist
ERROR: could not open stop-word file "/usr/local/pgsql-head/share/tsearch_data/chinese_utf8.stop":
Oleg
On Thu, 29 Jan 2009, Daniel Chiaramello wrote:
> Hello Oleg and others.
>
> I also found that reference, but failed to find the corresponding Chinese
> dictionary it mentions.
> And when I tried to compile nlpbamboo, it fails.
>
> Has one of you tried (and succeeded) to use Tsearch for Chinese?
>
> Thanks for your attention,
> Daniel
>
> Oleg Bartunov a ?crit :
>> Hi there,
>>
>> there is a chinese parser for tsearch2 available from
>> http://code.google.com/p/nlpbamboo/wiki/TSearch2 under BSD license.
>>
>> It'd be nice to have it for chinese text search configuration we are
>> currently
>> completely missing, as well as for japanese language ( any guess ?)
>>
>> Unfortunately, we unable to verify this parser, so I'm asking about help.
>> We need usual extensive testing (memory leaking, portability, etc),
>> regression test and patch for documentation.
>>
>> Regards,
>> Oleg
>> _____________________________________________________________
>> Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
>> Sternberg Astronomical Institute, Moscow University, Russia
>> Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
>> phone: +007(495)939-16-83, +007(495)939-23-83
>>
>
>
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Sam Mason | 2009-02-02 20:41:18 | Re: I: arrays and block size |
Previous Message | Bruce Momjian | 2009-02-02 19:23:45 | Re: Pet Peeves? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-02-02 20:43:42 | Re: LIMIT NULL |
Previous Message | Andrew Dunstan | 2009-02-02 20:36:44 | Re: parallel restore |