英语词典API [英] English Language Dictionary api

查看:1969
本文介绍了英语词典API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个公共的API,它会让我查找定义的话?我一直在寻找这样的一个位,但它变得夹杂了词典数据结构。我刨在一个C#应用程序中使用它。

感谢

解决方案

最好的,我能找到为我的目的是谷歌的从后API标题的在谷歌的非官方字典API 。它返回JSON像

查询 <$p$p><$c$c>http://www.google.com/dictionary/json?callback=dict_api.callbacks.id100&q=coffee&sl=en&tl=en

其中咖啡是关键字。

Is there a public API which would let me lookup definitions for words ? I've been searching for this for a bit but it's getting mixed up with the dictionary datastructure. I'm planing on using it in a c# app.

Thanks

解决方案

The best I was able to find to serve my purpose was google's api from the post titled On Google's Unofficial Dictionary API. It returns JSON for a query like

http://www.google.com/dictionary/json?callback=dict_api.callbacks.id100&q=coffee&sl=en&tl=en

where coffee is the keyword.

这篇关于英语词典API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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