有一个公共的API,它会让我查找定义的话?我一直在寻找这样的一个位,但它变得夹杂了词典数据结构。我刨在一个C#应用程序中使用它。
感谢
解决方案最好的,我能找到为我的目的是谷歌的从后API标题的在谷歌的非官方字典API 。它返回JSON像
查询 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.