lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ippei UKAI (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4072) CharFilter that Unicode-normalizes input
Date Sat, 26 May 2012 13:18:22 GMT


Ippei UKAI commented on LUCENE-4072:

I've found a problem:

In ICUNormalizer2CharFilter#recordOffsetDiff(int,int), the positive diff case should look
like following. 
      addOffCorrectMap(charCount + Math.min(1, outputLength), cumuDiff + diff);
Maybe there are more...
> CharFilter that Unicode-normalizes input
> ----------------------------------------
>                 Key: LUCENE-4072
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/analysis
>            Reporter: Ippei UKAI
>         Attachments: LUCENE-4072.patch,
> I'd like to contribute a CharFilter that Unicode-normalizes input with ICU4J.
> The benefit of having this process as CharFilter is that tokenizer can work on normalised
text while offset-correction ensuring fast vector highlighter and other offset-dependent features
do not break.
> The implementation is available at following repository:
> Unfortunately this is my unpaid side-project and cannot spend much time to merge my work
to Lucene to make appropriate patch. I'd appreciate it if anyone could give it a go. I'm happy
to relicense it to whatever that meets your needs.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message