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

Add SpanishMinimalStemFilter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: main (9.0), 8.3
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      Patch Available
    • Review Patch?:
      Yes

      Description

      SpanishMinimalStemmerFilter is less aggressive stemmer than SpanishLightStemmerFilter

      Ex:

      input tokens -> output tokens
      1. camiseta niños -> camiseta and nino
      2. camisas -> camisa

      camisetas and camisas are t-shirts and shirts respectively.
      Stemming both of the tokens to camis will match both tokens and returns both t-shirts and shirts for query camisas(shirts). SpanishMinimalStemmerFilter will help handling these cases.

      And importantly It will preserve gender context with tokens.

      Ex:  niños ,niñas chicos and chicas are stemmed to nino, nina, chico and chica

        Attachments

        1. LUCENE-8936.patch
          14 kB
          vinod kumar
        2. LUCENE-8936.patch
          14 kB
          vinod kumar

          Activity

            People

            • Assignee:
              tomoko Tomoko Uchida
              Reporter:
              vinod1812 vinod kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: