简体   繁体   English

谷歌是否允许其他人使用他们的“你是不是真的”API?

[英]Does Google allow other people to use their “Did you mean” API?

I have been searching all over the Internet, but did not find that exact API. 我一直在互联网上搜索,但没有找到确切的API。

I'd like to use their Did You mean feature for my own website. 我想在我自己的网站上使用他们的“你的意思”功能。

Pygoogle has an api call for that Pygoogle有一个API呼叫

http://pygoogle.sourceforge.net/dist/doc/public/google-module.html#doSpellingSuggestion http://pygoogle.sourceforge.net/dist/doc/public/google-module.html#doSpellingSuggestion

>>> import google
>>> google.LICENSE_KEY = '...'
>>> google.doSpellingSuggestion('pithon')
'python'

doSpellingSuggestion I believe is the api call. doSpellingSuggestion我相信是api电话。 There is a good example here 有一个很好的例子在这里

Update 更新
As people have noted, the link is broken. 正如人们所指出的,这种联系已经破裂。 Here is a Wayback Machine's archived copy . 这是Wayback Machine的归档副本

这是python中的一个获得didyoumean结果

有一个很棒的Python示例,有一段时间可以显示如何实现它(只有21行代码!): http ://norvig.com/spell-correct.html它在多伦多的Stackoverflow DevDays上展示,我相信其他一些地方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 selenium 在 google 搜索页面上捕获“您的意思是” - Use selenium to capture 'Did you mean' on google search page 使用RESTful接口与Google的AJAX Search API进行“您是不是故意的”? - Using the RESTful interface to Google's AJAX Search API for “Did you mean”? Google People API 找不到其他用户的个人资料图片 - Google People API cannot find other users profile pictures ” 姜戈“你的意思是? 询问 - Django "Did you mean?" query 如何使用google实现python拼写检查“你的意思是?” - how to implement python spell checker using google's “did you mean?” Python:使用谷歌功能从“vintagecar”到“vintage car”(“你的意思是”功能) - Python: from 'vintagecar' to 'vintage car' using google features ('did you mean' feature) Google Spreadsheet Python API或gspread是否允许图片或富文本格式? - Does the Google Spreadsheet Python API or gspread allow images or rich text? ValueError:可变权重不存在,或者不是使用tf.get_variable()创建的。 您是说要在VarScope中设置“ reuse = None”? - ValueError: Variable weights does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope? 创建新的联系人Google People API - Creating New Contact Google People API 将 Google People API 与服务帐户一起使用 - Using Google People API with Service Account
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM