[ 
https://issues.apache.org/jira/browse/LUCENE-8125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-8125:
--------------------------------
    Attachment: LUCENE-8125.patch

I added tests for emoji tag sequences. I also refactored TestICUTokenizer to 
only test the tokenizer (tests were getting complex because the tokenfilter was 
normalizing away joiners, selectors, tag_specs, etc: we dont want that, we are 
just trying to test tokenization here).

now all the emoji types work.

> emoji sequence support in ICUTokenizer
> --------------------------------------
>
>                 Key: LUCENE-8125
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8125
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-8125.patch, LUCENE-8125.patch, LUCENE-8125.patch, 
> LUCENE-8125.patch, LUCENE-8125.patch
>
>
> uax29 word break rules already know how to handle these correctly, we just 
> need to assign them a token type. 
> This is better than users trying to do this with custom rules (e.g. 
> LUCENE-7916) because they are script-independent (common/inherited).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to