What you are experiencing is inherent in porter stemming.

If you want dictionary-based stemming, you will need an analyzer that can
map words to their dictionary forms.

Basis Technology, where I work, is one provider of such technology. There
are others.



On Mon, Mar 1, 2010 at 3:07 PM, Pamela Foxcroft <pamelafoxcr...@gmail.com>wrote:

> I am using Porter - the Snowball analyzer.
>
> Analyzer analyzer = new SnowballAnalyzer("English");
>
> In general the results are good. However when I search on plumber I get
> hits
> to plumbers and plumber, but not to plumbing.
>
> How can I get hits to plumbing?
>
> Thanks!
>
> Pam
>

Reply via email to