C++ 建议拼写错误的单词
C++ Suggesting wrong spelled words
在可能的重复项:
什么算法在拼写检查器中提供建议?
旨在从文本文件中读取并为错误拼写单词提供建议的C++程序中应该使用什么算法?
使用 Levenshtein 距离:
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/
相关文章:
- 警告处理为错误这里有什么问题
- "error: no matching function for call to"构造函数错误
- 使用单词"not"作为C ++类的名称会导致VS2019错误
- 尝试在 c++ 中按字母顺序排列单词时出现分段错误
- 用于获取以元音和辅音开头的单词数量的程序返回错误的答案
- 尝试将单词插入 trie 时出现分段错误
- C++ 建议拼写错误的单词
- 给出错误的输出:如何将字符串分解为字典单词
- 使用单词变化C 不是操作员时的奇怪错误
- 如何一次一个单词而不是一行一行地消除错误输入
- 单词搜索算法分割错误
- 在 C 枚举中使用单词 "SING" 错误以"expected an identifier"
- 输入 Ctrl+Z 结束阅读单词将导致循环错误
- C++程序(按字母顺序打印出n个单词)运行时错误
- 将每个单词的第一个字符大写-帮助查找我的错误
- 为什么我的ifstream程序以错误的顺序读取单词
- 我找到所有的单词,有五个字母在一个向量的字符串与equal_range,它一直抛出一个错误,说它没有排序
- 消息框第一个字符或单词错误
- 我想从字符串句子中取出单词并在 C++ 中得到此错误
- 分词错误-比较不同的单词在c++输入中出现的次数