Thanks for your detailed reply Olly , you really are a great help . :)  Am on it ,will mail you after I&#39;m done with the stemmer. :)<br><br>-Regards<br>-Aarsh<br><br><div class="gmail_quote">On Sat, Jan 12, 2013 at 12:19 PM, Olly Betts <span dir="ltr">&lt;<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Jan 11, 2013 at 12:17:07AM +0530, aarsh shah wrote:<br>
&gt; Hi guys.I&#39;ve finished an example indexer which acts like a grep replacement<br>
&gt; for a file.It indexes each line containing a proper noun  in a given text<br>
&gt; file.The line containing the proper noun will be displayed upon searching<br>
&gt; for that noun.I would like to add it to the community code examples.I&#39;m<br>
&gt; planning to write more examples which demonstrate some advanced features of<br>
&gt; Xapian along similar lines soon. Can anyone please help me on how to add my<br>
&gt; examples to the community ?<br>
<br>
</div>Cool.  There&#39;s a page on the wiki for examples here:<br>
<br>
<a href="http://trac.xapian.org/wiki/SampleCode" target="_blank">http://trac.xapian.org/wiki/SampleCode</a><br>
<br>
Anyone can edit the wiki - you just need to register first.<br>
<br>
You can attach files to the wiki page, but I&#39;d probably suggest using a<br>
code hosting site (that&#39;s certainly a better option if it&#39;s more than a<br>
single file).<br>
<div class="im"><br>
&gt; I now want to develop a Paice/Husk stemmer for Xapian.The stemmer itself is<br>
&gt; not that hard to implement and I already read the page mentioned in the<br>
&gt; resources for the stemming project.But Ive yet to fiddle with the code base<br>
&gt; and so don&#39;t know how to add the stemmer to the codebase.Il be extremely<br>
&gt; grateful if you could guide me here<br>
<br>
</div>You can subclass Xapian::StemImplementation and then wrap that in a<br>
Xapian::Stem object to use where you&#39;d use the built-in stemmers:<br>
<br>
<a href="http://xapian.org/docs/apidoc/html/stem_8h.html" target="_blank">http://xapian.org/docs/apidoc/html/stem_8h.html</a><br>
<br>
I&#39;d probably suggest you just do it as an external stemmer first, and<br>
once you have that working, then work on including it as part of the<br>
library.<br>
<div class="im"><br>
&gt; Moreover,I wold also love to write a patch for multiple spelling<br>
&gt; suggestions as Xapian only suggests one right now.Any help/suggestions ?<br>
<br>
</div>There&#39;s actually already a patch for that, along with a number of other<br>
enhancements to spelling correction done as a GSoC project, but they&#39;re<br>
all on a branch currently, and haven&#39;t yet been merged.<br>
<div class="im"><br>
&gt; My basic problem is that given any feature I want to fiddle<br>
&gt; with/improve/change,I don&#39;t know which part of the code base to access<br>
<br>
</div>Yeah, finding your way around a sizable source tree can take some<br>
getting used to.  Have you seen this overview page?<br>
<br>
<a href="http://xapian.org/docs/code_structure.html" target="_blank">http://xapian.org/docs/code_structure.html</a><br>
<div class="im"><br>
&gt; feel like I know a lot more about IR and Xapian than I used to :)<br>
<br>
</div>Great.<br>
<br>
Cheers,<br>
    Olly<br>
</blockquote></div><br>