You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "vinod kumar (JIRA)" <ji...@apache.org> on 2019/07/26 19:36:00 UTC
[jira] [Updated] (LUCENE-8936) Add SpanishMinimalStemFilter
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org