Fully dynamic d by opDotExp overloading

Walter Bright newshound1 at digitalmars.com
Sat Apr 18 11:38:10 PDT 2009


Andrei Alexandrescu wrote:
> Daniel Keep wrote:
>> There's an interesting idea...
>>
>> Instead of "No member 'foo'", you could have "No member 'foo'; did you
>> mean 'far' or 'fur'?"
> 
> Heh. The string kernels in std.numeric 
> (http://erdani.dreamhosters.com/d/web/phobos/std_numeric.html) are to 
> help with exactly that.

I remember, but can't find, some famous programmer posted to the net a 
simple spell checking algorithm that worked by counting letter 
additions, deletions, and transpositions to determine best matches.



More information about the Digitalmars-d mailing list