[Issue 11690] New: a few spellchecker improvements

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 5 05:25:31 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11690

           Summary: a few spellchecker improvements
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at dawg.eu


--- Comment #0 from Martin Nowak <code at dawg.eu> 2013-12-05 05:25:28 PST ---
The spell checker should limit the levenshtein distance based on the length of
the searched identifier. More typos for longer names and fewer or no typos for
shorter names. For example it doesn't make sense to propose 'b' when someone
typed 'a'.

Currently the proposals are only based on the minimal levenshtein distance.
It would make sense to weigh certain edits higher than others, e.g.
capitalization errors or interchanged letters are more likely than other typos.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list