Possible Duplicate:
What algorithm gives suggestions in a spell checker?
在 C++ 程序中应该使用什么算法,其目的是从文本文件中读取内容并针对拼写错误的单词提供建议?
最佳答案
http://thetechnofreak.com/technofreak/levenshtein-distance-implementation-c/ http://murilo.wordpress.com/2011/02/01/fast-and-easy-levenshtein-distance-using-a-trie-in-c/
关于C++ 建议拼写错误的单词,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13545588/