W dniu 16.09.2016 o 11:20, Jean-Francois Dockes pisze:
Marcin Mirosław writes:
> W dniu 15.09.2016 o 19:02, Jean-Francois Dockes pisze:
> > Marcin Mirosław writes:
> > > Hello!
> > > I'm getting SIGABRT when I try to create stem database using language
> > > which isn't displayed by `recollindex -l`:
> > > backtrace is:
> > > $ gdb -q recollindex
> > > Reading symbols from recollindex...Reading symbols from
> > > /usr/lib64/debug//usr/bin/recollindex.debug...done.
> > > done.
> > > (gdb) set args -s foo
> > > (gdb) run
> > > Starting program: /usr/bin/recollindex -s foo
> > > [Thread debugging using libthread_db enabled]
> > > Using host libthread_db library "/lib64/libthread_db.so.1".
> > > :3:index/recollindex.cpp:520:recollindex: changing current directory
to
> > > [/tmp]
> > > :3:index/recollindex.cpp:553:recollindex: starting up
> > > [New Thread 0x7ffff5d07700 (LWP 4293)]
> > > terminate called after throwing an instance of
> > > 'Xapian::InvalidArgumentError'
> >
> > Hi, and thanks for reporting this !
> >
> > This exception should be caught of course, and shall be, in a future
> > release.
>
> Hi Jean!
> Thanks. What is needed to have working stemming for Polish language,
> support of this in xapian or in recoll? And once more question:) Is it
> possible to use inotify without having X11 session?
>
> Marcin
The stemmers used by Recoll are the Xapian ones. The current list is here:
https://xapian.org/docs/apidoc/html/classXapian_1_1Stem.html
There is a description of the alogorithms here:
https://xapian.org/docs/stemming.html
I guess that the best approach for having a Polish stemmer would be to talk
about it on the Xapian user mailing list:
https://lists.xapian.org/mailman/listinfo/xapian-discuss
I see that there was already a message about this a while ago:
https://lists.xapian.org/pipermail/xapian-discuss/2008-November/006047.html
So, probably, what is needed for haing a Polish stemmer is a Polish speaker
willing to work on it :)