谷歌是否允许企业使用“您是否意味着”功能作为一个API?我想使用它,但我没有得到任何东西 [英] 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
问题描述
我想使用谷歌API你的意思是功能。所以基本上我想编写一段代码,它向Google搜索发送一个单词,或者Google找到确切的匹配或给出我将使用的DID YOU MEAN答案。
它是否可用?试图找到它,但找不到。
所以我投入了一些时间,这是我找到的
1您应该拥有自定义搜索引擎
2 /配置它搜索所有网页
https://support.google.com/customsearch/ answer / 2631040?hl = zh_CN
3根据文档查询该引擎https://developers.google.com/custom-search / json-api / v1 / using_rest
拼写/如果可能,您的意思是修理可以在拼写部分找到。 (删除了不相关的部分)。 Fox ex:我在这里搜索了devart。
{kind: customsearch#search,url:{},queries:{request:[]},context:{},searchInformation:{correctedQuery: deviantart,htmlCorrectedQuery:< b>< i> deviantart< / i>< / b> },items:[]}
我有同样的当他们在网站上允许这些问题时,问题及其低估。您可能想在此阅读有关自动完成API的信息。
https://stackoverflow.com/questions/40061449/google-auto-correct-api
I want to use Google API for Did you mean feature. 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.
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
2/ Configure it to search all webs
https://support.google.com/customsearch/answer/2631040?hl=en
3/ Make query to that engine following the document
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
{
"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
https://stackoverflow.com/questions/40061449/google-auto-correct-api
Google Search autocomplete API?
这篇关于谷歌是否允许企业使用“您是否意味着”功能作为一个API?我想使用它,但我没有得到任何东西的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!