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

hunspell buggy zero-affix handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.10, 6.0
    • None
    • None
    • New

    Description

      This only partially works today. But zero-affixes are used heavily by many dictionaries (e.g. i found a good number of bugs in czech and latvian just experimenting).

      The fix is easy: we just have to look for "0" in the affix portion as well as the strip portion, as indicated by the manual page:

      "Zero stripping or affix are indicated by zero."

      Attachments

        1. LUCENE-5817.patch
          4 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: