Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: