www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11690] New: a few spellchecker improvements


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

--- Comment #0 from Martin Nowak <code 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: -------
Dec 05 2013