Norving’s Spelling corrector 用Python写一个简单的拼写检查器

Note: if you are an experienced programmer, it will not help. This post is suitable for those who have little programming background and need detailed explanations, like me. 最近在上Python的课,老师介绍了一个经典的用贝叶斯实现简单的单词拼写检查的例子。为了弄懂到底在讲什么,像我这种设计背景没编程基础的只能一句一句抠咯。本文适合和我一样没什么基础的,专业程序员们请绕道。