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

Robert Muir commented on LUCENE-3883:
-------------------------------------

To make matters worse: this exact example of splitting on hyphen for this Irish 
case is 
actually mentioned on http://en.wikipedia.org/wiki/Hyphen#In_computing

>From there it seems like the right thing to do is heuristically convert to 
U+2011 (non-breaking hyphen) but this only affects Unicode line-break rules,
not word break rules :(

So it seems like the least hackish workaround would be for a charfilter to 
convert n-athair -> nAthair (to prevent the tokenizer from splitting it up),
since the IrishLowerCaseFilter will convert it back and stem it anyway.

I'll see if i can hack something up.
                
> Analysis for Irish
> ------------------
>
>                 Key: LUCENE-3883
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3883
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/analysis
>            Reporter: Jim Regan
>            Priority: Trivial
>              Labels: analysis, newbie
>         Attachments: LUCENE-3883.patch, irish.sbl
>
>
> Adds analysis for Irish.
> The stemmer is generated from a snowball stemmer. I've sent it to Martin 
> Porter, who says it will be added during the week.

--
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to