5 ms·
I found it fascinating that you can actually implement something seemingly so magical in such a small amount of code. I'm down as 22 lines of C#, though to be
by singular 16y ago
I found it fascinating that you can actually implement something seemingly so magical in such a small amount of code.
I'm down as 22 lines of C#, though to be fair I am cheating vastly and the lines are huge :)
http://www.codegrunt.co.uk/2010/11/02/C-Sharp-Norvig-Spelling-Corrector.html http://www.codegrunt.co.uk/2010/11/02/C-Sharp-Norvig-Spellin...
C# does offer some nice features to give you some succinctness but there's no getting away from the verboseness of a java-like language.