如何检查像谷歌这样的词“你的意思是” [英] how to check word like google "did you mean "

查看:52
本文介绍了如何检查像谷歌这样的词“你的意思是”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好......

i有字典,我的专栏只有一个字......

i寻找一个功能来检查单词表,如果是错误纠正它...



你的建议...我想如果我把入口世界放入char数组并用列中的所有项目检查世界并建议世界你有什么建议吗?

hi guys ...
i have dictionary and i have column that have just a word ...
i looking for a function to check the word table and if it's wrong correct it ...

what you suggest .. i think if i put entry world in char array and check the world with all item in column and suggest world that have max simmer with entry world

what you suggest ??

推荐答案

你需要做的是测量两个字符串之间的相似性。看看这些主题你应该有一个想法:



计算距离 [ ^ ]



http://stackoverflow.com/questions/1034622/how-can-i-measure-the-similarity-between-2-strings [ ^ ]
What you need to do is measure the similarity between two strings. Looks at these threads and you should have an idea to start with:

http://stackoverflow.com/questions/17748969/how-to-measure-similarity-of-2-strings-aside-from-computing-distance[^]

http://stackoverflow.com/questions/1034622/how-can-i-measure-the-similarity-between-2-strings[^]


一些有用的答案。



1. 在网站上创建你是不是指XYZ功能的想法 [ ^ ]

2. C#搜索您的意思是功能 [ ^ ]
Some helpful answers for you.

1. Ideas for creating a "Did you mean XYZ" feature into website[^]
2. C# Search "Did you mean" functionality[^]


这篇关于如何检查像谷歌这样的词“你的意思是”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆