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

add KoreanNumberFilter to Nori(Korean) Analyzer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0, 8.2
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: