本文介绍了单词建议算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好, 我想做一个程序,可以根据我们的输入建议一个单词.我不知道如何解释它.但是例如,我想拼写"battery",但我将"bettcry"作为输入.任何人都可以提供帮助或有想法吗? 非常感谢..
hello everyone, i want to make a program that can suggest a word base on our input.i dont know how to explain more about it. But for example, i want to spell "battery" but i put "bettcry" as the input. Anyone can help or have an ideas? really appreciate..
推荐答案建议单词的质量很大程度上取决于您选择的算法.一个非常简单的方法是 SOUNDEX [ ^ ].不确定是否适合您的需求,但请查看 The quality of the proposed words highly depends on the algorithm you choose. One very straightforward is SOUNDEX[^]. Not sure if that''s suitable to your needs, but have a look
如果您正在寻找数据库算法来捕获"错误的输入,请参见 SIMIL [ ^ ] slgorithm. If you''re looking for database algorithm to "catch" bad inputs, see SIMIL[^] slgorithm.
更多推荐
单词建议算法
发布评论