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

hunspell inaccuracies

Details

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

    Description

      I added a lot of tests and greatly refined this algorithm to match correct hunspell behavior. there were many bugs:

      • recursionLimit was a hack: this is actually specified by the dictionary to be twofold suffix + one prefix, or if COMPLEXPREFIXES is specified, twofold prefix + one suffix. This patch removes cursion limit
      • recursion didn't work correctly: it didnt validate multi-level continuation classes correctly.
      • add COMPLEXPREFIXES support.
      • probably other minor bugs fixed in the process.

      I validated all testing against hunspell

      Attachments

        1. LUCENE-5483.patch
          38 kB
          Robert Muir
        2. LUCENE-5483.patch
          44 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: