如果我的代码没写错的话,平均价格应该是多少?
最佳猜测:如果没有找到建议,就加入字典中所有与拼写错误的单词的语音代码相同的单词,以及与拼写错误的单词编辑距离最小的单词。
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.
如果您没有注意到此错误,代码进入生产,拼写错误将使某些计算的重要部分无法执行。
So, you don't notice, your code went into production, and the spelling mistake prevented an important part of some calculation from occurring.
因为用例存在语义,所以通过编写错误代码搞破坏的机会是很低的。
Because of the semantics of the use case, the odds are low for someone to do this via a coding mistake.
加入与拼写错误单词的“靠近遗漏”(near miss)接近的语音匹配:加入与拼写错误单词只差一个编辑操作的所有单词的语音代码。
Add close phonetic matches of the misspelling's near misses: Find all phonetic codes for words that are one edit operation from the misspelled word.
加入与拼写错误单词的“靠近遗漏”(near miss)接近的语音匹配:加入与拼写错误单词只差一个编辑操作的所有单词的语音代码。
Add close phonetic matches of the misspelling's near misses: Find all phonetic codes for words that are one edit operation from the misspelled word.
应用推荐