提取Google同义词的方法
有人知道通过 API 或其他(TOS 批准的)方法提取 Google 同义词的方法吗?
具体来说,Google有一个功能,可以让你在单词前面输入波形符“~”来进行同义词搜索。
与搜索结果相反,我想提取实际的同义词数据 - 因此对于 ~cat,我想要一个返回 feline、kitten 等的脚本。
http://www.synonymlab.com/ 做了类似的事情,我猜 - 但他们是通过 API 做到这一点的吗?
抱歉,但那里的信息有限。如果可能的话有什么想法吗?
Would anyone know of a way to extract Google Synonyms, either through their API or other (TOS-approved) methods?
Specifically, Google have a function that allows you to type a tilde sign "~" in front of a word to conduct a search with synonyms.
As opposed to the search results, I'd like to extract the actual synonym data - so for ~cat, I would like a script that returns feline, kitten, etc.
http://www.synonymlab.com/ do something similar, I guess - but do they do this through the API?
Sorry but there's limited information out there. Any ideas if it's possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我四处寻找 Google 同义词 API,但没有找到任何证据之类的服务。
另一方面,我发现有证据表明其他人也看了,什么也没发现。 :)
作为替代方案,您可以考虑使用 WordNet、Freebase(请参阅 同义词讨论),或维基百科(请参阅 从维基百科中提取命名实体和同义词)。
I looked around for a Google synonym API and found no evidence of such as service.
On the other hand, I found evidence that other people also looked and found nothing. :)
As alternatives, you might consider using WordNet, Freebase (see a discussion on synonyms), or Wikipedia (see Extracting Named Entities and Synonyms from Wikipedia).
我找到了这个。这为您要搜索的单词提供了无限的 JSON 响应。
https://dictionaryapi.dev/
I found this. This provides unlimited JSON response for the word you want to search.
https://dictionaryapi.dev/
Google 不提供同义词 API。但是,一个出色的同义词 API 服务是 http://datamarket.azure.com/dataset/bing/同义词。它将允许您请求 5000/pm。
The Google Doesn't provide an API for Synonyms. However, A great API Service for Synonyms is http://datamarket.azure.com/dataset/bing/synonyms . It will allows you to request 5000/pm.