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
<[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to