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

Robert Muir commented on SOLR-2764:
-----------------------------------

Jan, i wasn't trying to be critical about these endings, because of course some 
of the existing light stemmers
have a few _selected_ derivational endings that are taken care of. And thats 
really what its all about,
when we are talking about something like adjective->noun, I didnt mean to say 
we shouldn't do it, because
it sounds quite reasonable: but we should explore the options.

For example, as an alternative to multi-pass, a 'less elegant to some' but 
really practical way to go about it
can be to 'multiply through' and convert the possibilities to single-pass.

E.g. the typical 'undrinkables' hunspell example: if i have the english 
inflectional plural ending -s and the 
derivational ending -able, instead of:
* pass 1: remove inflectional endings (e.g. -s)
* pass 2: remove derivational endings (e.g. -able)

we just take all the pass 2 endings that are compatible with pass 1 endings and 
cross-multiply, to make a single
pass algorithm. some won't be compatible, (so we won't combine -able + -s into 
-ables).

I'm not sure if this is helpful for the norwegian case as I'm not as familiar 
with it, just an idea.

                
> Create a NorwegianLightStemmer and NorwegianMinimalStemmer
> ----------------------------------------------------------
>
>                 Key: SOLR-2764
>                 URL: https://issues.apache.org/jira/browse/SOLR-2764
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>            Reporter: Jan Høydahl
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-2764.patch, SOLR-2764.patch, SOLR-2764.patch, 
> SOLR-2764.patch
>
>
> We need a simple light-weight stemmer and a minimal stemmer for 
> plural/singlular only in Norwegian

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

Reply via email to