单词建议算法

编程入门 行业动态 更新时间:2024-10-13 14:23:26
本文介绍了单词建议算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我想做一个程序,可以根据我们的输入建议一个单词.我不知道如何解释它.但是例如,我想拼写"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.

更多推荐

单词建议算法

本文发布于:2023-11-29 21:18:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1647655.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:算法   单词   建议

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!