lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: stemming irregular plurals?
Date Tue, 29 Jul 2014 14:14:05 GMT
You can put this thing before your stemmer, with a custom map of exceptions:

http://lucene.apache.org/core/4_9_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilter.html

On Tue, Jul 29, 2014 at 10:03 AM, Robert Nikander
<rob.nikander@gmail.com> wrote:
> Hi,
>
> I created an Analyzer with a PorterStemFilter, and I’m searching some test documents.
 Normal plurals work; searching for “zebra” finds text with “zebras”. But searching
for “goose” doesn’t find “geese”.  Is that expected?  Does it give up on irregular
English?  Is there a way to make that work, or a reason that it can’t?
>
> thanks,
> Rob
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message