Ah, yes, that does it.  Thank you both.

Rob


On Jul 29, 2014, at 10:30 AM, Alexandre Patry <alexandre.pa...@keatext.com> 
wrote:

> 
> On 29/07/2014 10:28, Rob Nikander wrote:
>> Mmm. I don’t see a way to construct one, except passing an FST, which isn’t 
>> exactly a map. I look at the FST javadoc; it’s a rabbit hole.
> You probably want to look at 
> http://lucene.apache.org/core/4_9_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilter.Builder.html
> 
> Hope this help,
> 
> Alexandre
>> 
>> Rob
>> 
>> On Jul 29, 2014, at 10:14 AM, Robert Muir <rcm...@gmail.com> wrote:
>> 
>>> 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.nikan...@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-unsubscr...@lucene.apache.org
>>>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>> 
> 
> 
> -- 
> Alexandre Patry, Ph.D
> Chercheur Principal / Principal Researcher
> http://KeaText.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to