[英]Does google allow businesses to use “Did you Mean” feature as an api?? I would like to use it but I am not getting anything
I want to use Google API for Did you mean feature. 我想使用Google API,你的意思是功能吗? So basically I want to write a piece of code, which sends a word to Google search and either Google finds the exact hits or gives a "DID YOU MEAN" reply which i would use. 所以基本上我想写一段代码,它向Google搜索发送一个单词,谷歌找到确切的点击或给出一个“我有意思”的回复,我将使用。
Is it made available? 它可用吗? Tried finding it but couldn't find. 试图找到但却找不到。
So I invested some time and this what I've found 所以我投入了一些时间,这就是我发现的
1/ You should have your custom search engine 1 /您应该拥有自定义搜索引擎
https://cse.google.com https://cse.google.com
2/ Configure it to search all webs 2 /配置它以搜索所有网站
https://support.google.com/customsearch/answer/2631040?hl=en https://support.google.com/customsearch/answer/2631040?hl=en
3/ Make query to that engine following the document 3 /在文档后面查询该引擎
https://developers.google.com/custom-search/json-api/v1/using_rest https://developers.google.com/custom-search/json-api/v1/using_rest
Spelling / Did you mean repairs if possible can be found in "spelling" section. 拼写/你的意思是修复如果可能的话可以在“拼写”部分找到。 (Irrelevant sections removed) . (删除了不相关的部分)。 Fox ex: I searched for "devart" here Fox ex:我在这里搜索“devart”
{ "kind": "customsearch#search", "url": { }, "queries": { "request": [ ] }, "context": { }, "searchInformation": { }, "spelling": { "correctedQuery": "deviantart", "htmlCorrectedQuery": "<b><i>deviantart</i></b>" }, "items": [ ] }
I had the same question and its downvoted also while they are allowing these questions on the site. 当他们在网站上允许这些问题时,我也有同样的问题及其投票。 You may want to read about the auto-complete apis here 您可能想在此处阅读有关自动完成api的信息
https://stackoverflow.com/questions/40061449/google-auto-correct-api https://stackoverflow.com/questions/40061449/google-auto-correct-api
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.