J Pardos created LUCENE-7420:
--------------------------------

             Summary: 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


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