Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4072

CharFilter that Unicode-normalizes input

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.8, 6.0
    • modules/analysis
    • None
    • New

    Description

      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:
      https://github.com/ippeiukai/ICUNormalizer2CharFilter

      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.

      Attachments

        1. 4072.patch
          16 kB
          David Goldfarb
        2. 4072.patch
          16 kB
          David Goldfarb
        3. DebugCode.txt
          5 kB
          Ippei UKAI
        4. ippeiukai-ICUNormalizer2CharFilter-4752cad.zip
          15 kB
          Ippei UKAI
        5. LUCENE-4072.patch
          17 kB
          Robert Muir
        6. LUCENE-4072.patch
          16 kB
          Robert Muir
        7. LUCENE-4072.patch
          14 kB
          David Goldfarb
        8. LUCENE-4072.patch
          14 kB
          David Goldfarb
        9. LUCENE-4072.patch
          14 kB
          Robert Muir
        10. LUCENE-4072.patch
          11 kB
          David Goldfarb
        11. LUCENE-4072.patch
          16 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            ippei Ippei UKAI
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: