[Xapian-discuss] Stemming problem

Olly Betts olly at survex.com
Wed Jul 4 12:45:52 BST 2007


On Wed, Jul 04, 2007 at 05:54:32PM +0800, Yan Hao wrote:
> Does anyone know if xapian stemming support suffix -er? I tried -s and -ing 
> both work, but not -er.

Yes, suffix -er is removed in step 4:

http://snowball.tartarus.org/algorithms/english/stemmer.html

And "computer" stems to "comput" (as do "compute", "computation", etc).

There are rules about when steps are applied, so short words like "infer"
and "over" don't have -er removed.  Certainly in these two cases, removing
-er wouldn't be beneficial.

Cheers,
    Olly



More information about the Xapian-discuss mailing list