[ 
https://issues.apache.org/jira/browse/LUCENE-7420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428029#comment-15428029
 ] 

J Pardos commented on LUCENE-7420:
----------------------------------

I see. I understand these stemmers are not perfect; I just proposed a simple 
logic change which seems likely to be mostly positive (to me, anyway). 

I don't have any formal analysis, sorry. Just my common sense as a native 
spanish speaker, FWIW.

What kind of analysis or measurement would you like to have? Do you have any 
example I could look at, or could you tell me exactly what information do you 
need?

> SpanishLightStemmer stemming errors
> -----------------------------------
>
>                 Key: LUCENE-7420
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7420
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>    Affects Versions: 5.x, 6.x
>            Reporter: J Pardos
>            Priority: Minor
>              Labels: analysis, stemming
>         Attachments: SpanishLightStemmer.java.patch
>
>
> SpanishLightStemmer only applies stemming if the original word is 5 
> characters or longer. It tries to removing gender and numbers, removing final 
> vowel and s if they exist.
> So, perro, perra, perros and perras (dog, bitch, dogs and bitches) all become 
> 'perr'.
> The problem arises with shorter words. Gatos and Gatas (cats / female cats) 
> all become 'gat', but the singular forms (gato, gata) are below the 5 
> character threshold, so they wouldn't be stemmed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to