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

Add some comment on LevenshteinAutomata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.2
    • 10.0 (main), 9.4
    • core/FSTs
    • None
    • New

    Description

      After having a hard time reading the code, I may have understood the relevant code of levenshteinautomata, except for the part of minErrors.

      I think this part of the code is too difficult to understand, full of magic numbers. I will sort it out and then raise a PR to add some necessary comments to this part of the code. So, others can better understand this part of the code.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tangdh tang donghai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 20m
                  5h 20m