英语词典API英语词典、API

2023-09-02 10:49:32 作者:戏精少女

有一个公共的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.

JADT 入门,第 部分 用 Java 字典和辞典 API 使 Java 用户可以使用您的单词参考 Java

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.