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

Morfologik filter can accept custom dictionary resources

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.8, 6.0
    • Component/s: modules/analysis
    • Labels:
    • Lucene Fields:
      New, Patch Available

      Description

      I have little proposal for morfologik lucene module. Current module is tightly coupled with polish DICTIONARY enumeration.
      But other people (like me) can build own dictionaries to FSA and use it with lucene.
      You can find proposal in attachment and also example usage in analyzer (SlovakLemmaAnalyzer).
      It uses dictionary property as String resource from classpath, not enumeration.
      One change is, that dictionary variable must be set in MofologikFilterFactory (no default value).

        Attachments

        1. LUCENE-5356.patch
          7 kB
          Michal Hlavac
        2. LUCENE-5356.patch
          11 kB
          Michal Hlavac
        3. LUCENE-5356.patch
          10 kB
          Michal Hlavac
        4. LUCENE-5356.patch
          9 kB
          Dawid Weiss

          Activity

            People

            • Assignee:
              dweiss Dawid Weiss
              Reporter:
              hlavki Michal Hlavac
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: