Best guess: If no Suggestions have been found, add all dictionary words that have the same phonetic code as the misspelled word and with the smallest edit distance from the misspelled word.
最佳猜测:如果没有找到建议,就加入字典中所有与拼写错误的单词的语音代码相同的单词,以及与拼写错误的单词编辑距离最小的单词。
For these codes, add all dictionary words that have the same phonetic code as the misspelled word and whose edit distance from the misspelled word is less than a given threshold.
对于这些代码,加入字典中所有与拼写错误单词语音编码相同的单词,以及与拼写错误单词的编辑距离小于指定阈值的单词。
Changing these values would change the hash code, which would in turn break any hash table or dictionary that the object happened to be stored in.
而改变那些值的同时也改变了哈希码,然后会破坏一些哈希表或者恰好储存了对象的字典。
应用推荐