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

add KoreanNumberFilter to Nori(Korean) Analyzer

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: master (9.0), 8.2
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is a follow-up issue to LUCENE-8784.

      The KoreanNumberFilter is a TokenFilter that normalizes Korean numbers to regular Arabic decimal numbers in half-width characters.

      Logic is similar to JapaneseNumberFilter.
      It should be able to cover the following test cases.

      1) Korean Word to Number
      십만이천오백 => 102500

      2) 1 character conversion
      일영영영 => 1000

      3) Decimal Point Calculation
      3.2천 => 3200

      4) Comma between three digits
      4,647.0010 => 4647.001

        Attachments

        1. LUCENE-8812.patch
          37 kB
          Namgyu Kim

          Issue Links

            Activity

              People

              • Assignee:
                danmuzi Namgyu Kim
                Reporter:
                danmuzi Namgyu Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: