Re: [Tracker] Adding a new language to libstemmer
- From: "Szilveszter Farkas" <szilveszter farkas gmail com>
- To: "Ivan Frade" <ivan frade gmail com>, tracker-list gnome org
- Subject: Re: [Tracker] Adding a new language to libstemmer
- Date: Fri, 4 Apr 2008 15:57:11 +0200
Hi Ivan,
Probably you must also add your language in
trunk/src/libtracker-common/tracker-language.c
It is the code used in trackerd to choose the correct stemmer.
thanks, I was looking for these kind of things :)
By the way, Have you thought on write a small "how to add new
language index" tutorial? It could be very helpful. If you need some
help, we can write it in a wiki, and publish a finished version in the
documentation webpage of tracker.
Actually it wasn't that difficult, since there was already a Snowball
stemmer for Hungarian available. I only had to tweak it to fully
support UTF-8, and compile it with Snowball to get the source files I
could put into Tracker's source (of course I had to do some tweaks
there as well, because the generated files didn't exactly match the
interface of Tracker's libstemmer).
If I finish adding Hungarian, I'd be happy to start some documentation
about the process.
Regards,
Szilveszter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]