[Xapian-discuss] Blacklist stemming

Silviu-Ionut Ganceanu silviug at gmail.com
Fri Jun 5 22:50:30 BST 2009


Hi,
I need to modify the stemming for a couple of words (a blacklist) and for
all the other to use the usual snowball stemmer.

The "natural" way of doing it would be to derive from Stem and override
operator ()... but I am using *python-bindings*. Would this be possible?

If not I have two other solutions in mind:

   - add a custom stemmer to Xapian
   - write custom index & search methods in python using add_posting & hacks
   to modify the query tree respectively

Both solutions are not too appealing.

What would be the easiest way to do it?

Thanks,

Silviu


More information about the Xapian-discuss mailing list