Hey, I am trying to get my hands dirty with xapian development. I took a look at the bite-sized projects and the idea of adding more stemming algorithms sounds great. I would like to try that, especially the Paice/Husk or the Krovetz stemmer. Can anyone point me to the files where stemmers are implemented in the code? After an initial search, I came across 'stem.h' which provides the class structure for any stemmer implementation, but couldn't find any stemmer implementation file. Any help in this direction would be great. P.S. I got Xapian 1.3 built on my machine (Ubuntu 14.04) and have already gone through the 'getting started' guide, which I must say is very informative and great. Thanks Anirudh Vemula -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20150213/1ee7096a/attachment-0002.html>
On Fri, Feb 13, 2015 at 01:00:36AM +0530, Anirudh Vemula wrote:> Can anyone point me to the files where stemmers are implemented in the > code? After an initial search, I came across 'stem.h' which provides > the class structure for any stemmer implementation, but couldn't find > any stemmer implementation file.Take a look in the 'languages' subdirectory of xapian-core. You'll probably find 'git grep' very useful for finding your way around the source code - e.g. 'git grep french' will quickly show find you stuff related to the french stemmer.> P.S. I got Xapian 1.3 built on my machine (Ubuntu 14.04) and have > already gone through the 'getting started' guide, which I must say is > very informative and great.Good to hear. Cheers, Olly