如果用户输入了worng字符串,如何显示正确搜索的字符串? [英] how to show right searched string if the user put worng string?

查看:58
本文介绍了如果用户输入了worng字符串,如何显示正确搜索的字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们在google上搜索并在我们的searcging字符串中出现错误时,Google会向我们显示正确的搜索字符串。怎么办?我们可以使用C#在Windows应用程序上执行此操作。?

when ever we search on google and got some mistake in our searcging string google shows us the right searching string. how does it do?? can we do it on windows application using C#.?

推荐答案

WPF有一个内置类 [ ^ ]



否则你可以使用这个 [ ^ ]



或其中任何一个 [ ^ ]



Google基本上对输入字符串进行拼写检查。它还首先搜索拼写错误的单词然后建议您搜索其他更正的字符串,尤其是如果拼写错误的字符串没有结果。
WPF has a Built-In class for this[^]

Otherwise you can use this[^]

Or any one of these[^]

Google basically does a spell-check on your input string. It also does a search first on the misspelled word then "suggests" that you search for the other corrected string instead, especially if there are no results on the misspelled one.


这篇关于如果用户输入了worng字符串,如何显示正确搜索的字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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