如何拼写检查工作? [英] How do spell checkers work?

查看:137
本文介绍了如何拼写检查工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要基本上实现C.拼写检查,我需要所有的标准操作...我需要能够进行拼写检查的文本块,使字的建议和动态添加新词的索引。

I need to implement a spell checker in C. Basically, I need all the standard operations... I need to be able to spell check a block of text, make word suggestions and dynamically add new words to the index.

我已经有点像写这个我自己,尽管我真的不知道从哪里开始。

I'd kind of like to write this myself, tho I really don't know where to begin.

推荐答案

有一个非常有趣的Python的例子和说明有:

There's a very interesting Python example and explanations there:

http://norvig.com/spell-correct.html

这篇关于如何拼写检查工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆