[ 
https://issues.apache.org/jira/browse/LUCENE-8936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

vinod kumar updated LUCENE-8936:
--------------------------------
    Description: 
SpanishMinimalStemmerFilter is less aggressive stemmer than 
SpanishLightStemmerFilter

Ex:

input tokens -> output tokens
 1. camiseta niños -> *camiseta* and *nino*
 2. camisas -> camisa

*camisetas* and *camisas* are t-shirts and shirts respectively.
 Stemming both of the tokens to *camis* will match both tokens and returns both 
t-shirts and shirts for query camisas(shirts). SpanishMinimalStemmerFilter will 
help handling these cases.

And importantly It will preserve gender context with tokens.

Ex:  *niños* ,*niñas* *chicos* and *chicas* are stemmed to *nino*, *nina*, 
*chico* and *chica*

  was:
SpanishMinimalStemmerFilter is less aggressive stemmer than 
SpanishLightStemmerFilter

Ex: 
1. camiseta niños -> *camiseta* and *niños*
2. camisas -> camisa

Here *camisetas* and *camisas* are t-shirts and shirts respectively.
Stemming both of the tokens to *camis* will match both tokens and returns both 
t-shirts and shirts for query camisas(shirts).

SpanishMinimalStemmerFilter will help handling these cases.
It will preserve gender context with tokens *niños* ,*niñas* *chicos* and 
*chicas*



> Add SpanishMinimalStemFilter
> ----------------------------
>
>                 Key: LUCENE-8936
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8936
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: vinod kumar
>            Priority: Major
>
> SpanishMinimalStemmerFilter is less aggressive stemmer than 
> SpanishLightStemmerFilter
> Ex:
> input tokens -> output tokens
>  1. camiseta niños -> *camiseta* and *nino*
>  2. camisas -> camisa
> *camisetas* and *camisas* are t-shirts and shirts respectively.
>  Stemming both of the tokens to *camis* will match both tokens and returns 
> both t-shirts and shirts for query camisas(shirts). 
> SpanishMinimalStemmerFilter will help handling these cases.
> And importantly It will preserve gender context with tokens.
> Ex:  *niños* ,*niñas* *chicos* and *chicas* are stemmed to *nino*, *nina*, 
> *chico* and *chica*



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to