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

Add SpanishMinimalStemFilter

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0, 8.3
    • modules/analysis
    • None
    • Patch Available
    • 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

            tomoko Tomoko Uchida
            vinod1812 vinod kumar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: