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

Hunspell shouldnt merge dictionary entries

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.8, 6.0
    • modules/analysis
    • None
    • New

    Description

      Ive been writing lots of little unit tests for this thing, and I'm pretty positive i screwed this up in LUCENE-5468... sorry

      Otherwise the whole "prefix-suffix dependencies" described in the manpage won't work.

      Either 'words' should be changed from FST<Long> to FST<IntsRef>, or when there are duplicates we should add 'padding' that we just consume (suggester-style). The latter is a little tricky, but I think this is generally uncommon so it would keep the FST smaller.

      shouldnt be hard to fix.

      Attachments

        1. LUCENE-5480.patch
          23 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: