News for hackers. Stuff that matters.
Re:How to Write a Spelling Corrector by kragen on Thursday September 08, 2016 @02:26PM (#12455750)
I think Norvig's actually improved substantially since he wrote this — he wasn't at the peak of his career! But yes, it's a masterpiece, and yes, it's okay to not ever rise to that level, because even if nothing you ever create is as worthwhile as this, it's still worthwhile. Hacking is fun! And sometimes very useful, too.

(Also note that, despite appearances, this isn't the work of one man. Norvig didn't design Python and didn't invent the tabling technique for speeding up search; and Darius found a couple of bugs in the code. That doesn't mean it's not an authentic Norvig masterpiece.)

Re:How to Write a Spelling Corrector by mack73 on Thursday September 08, 2016 @02:48PM (#12456026)
Sir, btw, I need a rule that I can use intuitively when deciding on wether to concatenate two words and when to put a dash between them. Do you have one?
Re:How to Write a Spelling Corrector by kragen on Thursday September 08, 2016 @05:18PM (#12457431)
Sir, it depends entirely on how widely used the compound word in question is. Hyphenated compounds that become sufficiently familiar lose their hyphen.