如何使用Google字典作为API? [英] How to use to Google Dictionary as an API?

查看:183
本文介绍了如何使用Google字典作为API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Google字典API已被弃用(例如,以下)

  http://www.google.com/dictionary / json?callback = a& sl = en& tl = en& q = love 

替换为define(例如,以下)

  https://www.google.com/#q=define+love $ b有没有人知道如何在java中使用/调用Google定义API?

$ b




$ b

这是一个类似的Chrome扩展。

  https://chrome.google .com / webstore / detail / google-dictionary-by-goog / mgijmajocgfcbeboacabfgobmjgjcoja 

有什么开源字典API?我发现牛津(OED),剑桥,Merriam-Webster,Wordnik API在订阅模式中提供API。



还发现了Wordnet 3.1,它很旧。不确定是否更新。

解决方案

是的! Google字典的访问被删除。
执行相同的作业,但仍可以访问。



AFAIK,词典查找是最受欢迎的之一,由



www.programmableweb.com/apitag/dictionary/1?q=dictionary&sort=mashups


Because the Google Dictionary API is deprecated (e.g., following)

http://www.google.com/dictionary/json?callback=a&sl=en&tl=en&q=love

and has been replaced with define (e.g., following)

https://www.google.com/#q=define+love

Does anybody know how to use/invoke the "Google define" API in java?

Here is the chrome extension which does similar thing.

https://chrome.google.com/webstore/detail/google-dictionary-by-goog/mgijmajocgfcbeboacabfgobmjgjcoja

As an alternative, are there any open source dictionary APIs? I found Oxford (OED), Cambridge, Merriam-Webster, Wordnik APIs which provide APIs in subscription models.

Also found Wordnet 3.1 which is pretty old. Not sure if it being updated or not.

解决方案

Yes! Google Dictionary access is removed. This does the same job but still has access.

AFAIK, Dictionary Lookup is one of the most popular as listed by

www.programmableweb.com/apitag/dictionary/1?q=dictionary&sort=mashups

这篇关于如何使用Google字典作为API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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