Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      I pulled the ICUTransformFilter out of LUCENE-1488 and create an issue for it here.

      This is a tokenfilter that applies an ICU Transliterator, which is a context-sensitive way
      to transform text.

      These are typically rule-based and you can use ones included with ICU (such as Traditional-Simplified)
      or you can make your own from your own set of rules.

      User's Guide: http://userguide.icu-project.org/transforms/general
      Rule Tutorial: http://userguide.icu-project.org/transforms/general/rules

      1. LUCENE-2409.patch
        14 kB
        Robert Muir
      2. LUCENE-2409.patch
        14 kB
        Robert Muir

        Issue Links

          Activity

          Hide
          Grant Ingersoll added a comment -

          Bulk close for 3.1

          Show
          Grant Ingersoll added a comment - Bulk close for 3.1
          Hide
          Robert Muir added a comment -

          backported to 3x, revision 941698

          Show
          Robert Muir added a comment - backported to 3x, revision 941698
          Hide
          Robert Muir added a comment -

          Committed revision 937039.

          Show
          Robert Muir added a comment - Committed revision 937039.
          Hide
          Robert Muir added a comment -

          attached is an updated patch, with examples in the overview etc.

          I would like to commit at the end of the day if no one objects.

          Show
          Robert Muir added a comment - attached is an updated patch, with examples in the overview etc. I would like to commit at the end of the day if no one objects.
          Hide
          Robert Muir added a comment -

          Thanks Uwe, i will remove the "crude benchmark" (as you can bench tokenfilters with benchmark), and add some examples and stuff to overview.html

          Show
          Robert Muir added a comment - Thanks Uwe, i will remove the "crude benchmark" (as you can bench tokenfilters with benchmark), and add some examples and stuff to overview.html
          Hide
          Uwe Schindler added a comment -

          Go for it, its a private impl class, what should we do else. Speed, speed, speed. Its better than coping into a StringBuilder before and after. Even Java 6 has no Replaceable interface!

          Show
          Uwe Schindler added a comment - Go for it, its a private impl class, what should we do else. Speed, speed, speed. Its better than coping into a StringBuilder before and after. Even Java 6 has no Replaceable interface!
          Hide
          Robert Muir added a comment -

          attached is a patch, its a little ugly since CharTermAttribute doesn't implement Replaceable

          Show
          Robert Muir added a comment - attached is a patch, its a little ugly since CharTermAttribute doesn't implement Replaceable

            People

            • Assignee:
              Robert Muir
              Reporter:
              Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development