在线词典API

来源:互联网 发布:产品说明书制作软件 编辑:程序博客网 时间:2024/05/17 04:04

1.海词

 

http://api.dict.cn/ws.php?utf8=true&q=#{word }

返回格式XML

 

<?xml version="1.0" encoding="UTF-8" ?>
<dict>
<key>word</key>
<lang>ec</lang>
<audio>http://dict.cn/mp3.php?q=efVw7</audio>
<pron>wə:d</pron>
<def>n. 词,单词,消息,诺言 vt. 用词语表达</def>
<sent>
<orig>Could we have a word before you go to the meeting?</orig>
<trans>你去开会之前,咱们能私下说句话吗?</trans>
</sent>
<sent>
<orig>Tell me what happened in your own words.</orig>
<trans>用你自己的话把发生的事情告诉我。</trans>
</sent>
<sent>
<orig>My friend sent word that he was well.</orig>
<trans>我朋友捎来口信说他很好。</trans>
</sent>
</dict>

 

2.爱词霸

http://dict-co.iciba.com/api/dictionary.php?w=#{word }

返回格式XML

写道
<?xml version="1.0" encoding="UTF-8"?>
<dict num="219" id="219" name="219">
<key>will</key>
<ps>wil,wəl,əl,l</ps>
<pron>http://res.iciba.com/resource/amp3/1/8/18218139eec55d83cf82679934e5cd75.mp3</pron>
<pos>n.</pos>
<acceptation>意志, 决心, 意向, 遗嘱</acceptation>
<pos>v.</pos>
<acceptation>aux.将, 愿意, 必须</acceptation>
<sent>
<orig>We will.</orig>
<pron>http://res.iciba.com/resource/phrase_mp3/1/e/1ece4c394ade54ec3327883821c256db.mp3</pron>
<trans>我们会的。</trans>
</sent>
<sent>
<orig>ill will</orig>
<pron>http://res.iciba.com/resource/phrase_mp3/3/4/34f9c8e6b4f1e88b6efba3000c166f67.mp3</pron>
<trans>恶意</trans>
</sent>
<sent>
<orig>Will they?</orig>
<pron>http://res.iciba.com/resource/phrase_mp3/2/0/20d580950b625b80d872bb449fad880e.mp3</pron>
<trans>是吗?</trans>
</sent>
<sent>
<orig>Will do.</orig>
<pron>http://res.iciba.com/resource/phrase_mp3/1/0/105d2e8ca45f93a6eb40a48fc3447d92.mp3</pron>
<trans>好的。</trans>
</sent>
<sent>
<orig>Thanks.I will.</orig>
<pron>http://res.iciba.com/resource/phrase_mp3/b/d/bd9e3c70eaa8b4fea8b3a282124edbd4.mp3</pron>
<trans>好的,多谢。</trans>
</sent>
</dict>

 

3.QQ词典

http://dict.qq.com/dict?q=#{word }

返回格式JSON

Java代码  收藏代码
  1. {  
  2.     "local": [  
  3.         {  
  4.             "word""word",  
  5.             "sd""0f39bcd7f6df740236abce2cc7f696d2",  
  6.             "pho": [  
  7.                 "w&#601;:d"  
  8.             ],  
  9.             "des": [  
  10.                 {  
  11.                     "p""n.",  
  12.                     "d""消息, 词, 诺言, 话, 命令, 字"  
  13.                 },  
  14.                 {  
  15.                     "p""vt.",  
  16.                     "d""用言辞表达, 用言词表达"  
  17.                 }  
  18.             ],  
  19.             "sen": [  
  20.                 {  
  21.                     "p""n.",  
  22.                     "s": [  
  23.                         {  
  24.                             "es""He is a man of his <b>word</b>.",  
  25.                             "cs""他是个信守诺言的人。"  
  26.                         },  
  27.                         {  
  28.                             "es""The general gave the <b>word</b> to execute the deserters.",  
  29.                             "cs""将军下令处决逃兵。"  
  30.                         },  
  31.                         {  
  32.                             "es""I hope you will always respect your <b>word</b>.",  
  33.                             "cs""我希望你能始终遵守自已的诺言。"  
  34.                         },  
  35.                         {  
  36.                             "es""Can I have a <b>word</b> with you?",  
  37.                             "cs""我能和你说几句话吗?"  
  38.                         }  
  39.                     ]  
  40.                 }  
  41.             ],  
  42.             "mor": [  
  43.                 {  
  44.                     "c""名词复数",  
  45.                     "m""words"  
  46.                 },  
  47.                 {  
  48.                     "c""动词过去式",  
  49.                     "m""worded"  
  50.                 },  
  51.                 {  
  52.                     "c""过去分词",  
  53.                     "m""worded"  
  54.                 },  
  55.                 {  
  56.                     "c""现在分词",  
  57.                     "m""wording"  
  58.                 }  
  59.             ],  
  60.             "syn": [  
  61.                 {  
  62.                     "p""v.",  
  63.                     "c": [  
  64.                         "put",  
  65.                         "express",  
  66.                         "voice",  
  67.                         "tell",  
  68.                         "say",  
  69.                         "communicate",  
  70.                         "phrase"  
  71.                     ]  
  72.                 },  
  73.                 {  
  74.                     "p""n.",  
  75.                     "c": [  
  76.                         "parole"  
  77.                     ]  
  78.                 }  
  79.             ],  
  80.             "ph": [  
  81.                 {  
  82.                     "phs""my word upon it",  
  83.                     "phd""我向你保证确是这样"  
  84.                 },  
  85.                 {  
  86.                     "phs""word for word",  
  87.                     "phd""逐字地"  
  88.                 },  
  89.                 {  
  90.                     "phs""by word of mouth",  
  91.                     "phd""口头地"  
  92.                 },  
  93.                 {  
  94.                     "phs""send word",  
  95.                     "phd""通知"  
  96.                 },  
  97.                 {  
  98.                     "phs""from the word go",  
  99.                     "phd""从一开始"  
  100.                 },  
  101.                 {  
  102.                     "phs""in other words",  
  103.                     "phd""换句话说, 也就是说"  
  104.                 },  
  105.                 {  
  106.                     "phs""give one&#39;s word of honour",  
  107.                     "phd""以名誉担保"  
  108.                 },  
  109.                 {  
  110.                     "phs""give words to",  
  111.                     "phd""用言语表达"  
  112.                 },  
  113.                 {  
  114.                     "phs""upon my word",  
  115.                     "phd""嗳呀, 我向你保证确是这样"  
  116.                 },  
  117.                 {  
  118.                     "phs""be as good as one&#39;s word",  
  119.                     "phd""守信"  
  120.                 },  
  121.                 {  
  122.                     "phs""break one&#39;s word",  
  123.                     "phd""失信"  
  124.                 },  
  125.                 {  
  126.                     "phs""leave word",  
  127.                     "phd""留言"  
  128.                 },  
  129.                 {  
  130.                     "phs""eat one&#39;s words",  
  131.                     "phd""认错道歉"  
  132.                 },  
  133.                 {  
  134.                     "phs""on one&#39;s word of honour",  
  135.                     "phd""以名誉担保"  
  136.                 }  
  137.             ]  
  138.         }  
  139.     ],  
  140.     "netdes": [  
  141.         {  
  142.             "word""word",  
  143.             "des": [  
  144.                 {  
  145.                     "mf""word",  
  146.                     "d""字",  
  147.                     "f"732,  
  148.                     "tag""net",  
  149.                     "s""wom 一次写入存储器 | <b>word 字</b> | word address 字地址"  
  150.                 },  
  151.                 {  
  152.                     "mf""word",  
  153.                     "d""单词",  
  154.                     "f"642,  
  155.                     "tag""net",  
  156.                     "s""词类 part of speech | <b>单词 word</b> | 实词 notional word"  
  157.                 },  
  158.                 {  
  159.                     "mf""Word",  
  160.                     "d""字长",  
  161.                     "f"390,  
  162.                     "tag""net",  
  163.                     "s""Wireless revolution无线革命 | <b>Word字长</b> | Word processing文字处理"  
  164.                 },  
  165.                 {  
  166.                     "mf""word",  
  167.                     "d""词",  
  168.                     "f"275,  
  169.                     "tag""net",  
  170.                     "s""woof (狗的) 吠声 (4A9) | <b>word 词 (4A8)</b> | work 工作;劳动 (5A4)"  
  171.                 },  
  172.                 {  
  173.                     "mf""word",  
  174.                     "d""abbr. w; 字",  
  175.                     "f"1,  
  176.                     "tag""abbr",  
  177.                     "s""-1"  
  178.                 }  
  179.             ]  
  180.         }  
  181.     ],  
  182.     "netsen": [  
  183.         {  
  184.             "cs""A: 哪一个单词大家总是把它念错?",  
  185.             "es""A: What is the <b>word</b> that everybody always says wrong? "  
  186.         },  
  187.         {  
  188.             "cs""女人在任何争论上都拥有最后的裁决权。",  
  189.             "es""英文: A woman has the last <b>word</b> in any argument. "  
  190.         },  
  191.         {  
  192.             "cs""说出口的话,扔出去的石头/一言既出,驷马难追。",  
  193.             "es""①A <b>word</b> and a stone let go cannot be recalled. "  
  194.         },  
  195.         {  
  196.             "cs""诚实人的话像他的契约一样靠得住。",  
  197.             "es""An honest man&amp;apos;s <b>word</b> is as good as his bond. "  
  198.         },  
  199.         {  
  200.             "cs""“谁说过要杀他了,你这傻瓜!”",  
  201.             "es""&quot;And who has said a <b>word</b> about killing him, muddlehead?&quot; "  
  202.         },  
  203.         {  
  204.             "cs""另一个用肥皂这个字的表达法是“肥皂箱”。",  
  205.             "es""Another expression that uses the <b>word</b> soap is soap box. "  
  206.         },  
  207.         {  
  208.             "cs""正如我们口口相传的话”失去了才知道珍贵“。",  
  209.             "es""As <b>word</b> of mouth the words &quot;lost the precious know.&quot; "  
  210.         }  
  211.     ],  
  212.     "baike": [  
  213.         {  
  214.             "title""word",  
  215.             "pic""",  
  216.             "pw""0",  
  217.             "ph""0",  
  218.             "abs""Microsoft Word是微软公司的一个文字处理器应用程序。它最初是由Richard Brodie为了运行DOS的IBM计算机而在1983年编写的。随后的版本可运行于Apple Macintosh (1984年), SCO UNIX,和Microsoft Windows (1989年),并成为了Microsoft Office的一部分。<br/>\r\n&nbsp;<br/>\r\nWord 2003特色:<br>  1.Microsoft Office Word 2003 过具有高影响力的图形进行更有效的交流。包括 3-D 形状、透明性、阴影和其他效果的新制图和图表功能将帮助您创建具有专业外观的图形,产生更有效的文档。<br>  2.Microsoft Office Word 2003 快速地将新外观应用于文档。使用快速样式和文档主题,您可以更改整个文档的文本、表格和图像外观,以适合您偏爱的样式或配色方案。<br>  3.Microsoft Office Word 2003 在新用户界面中提供一套全面的写入工具,帮助用户创建具有专业外观的文档。丰富的审阅、注释和比较功能可以",  
  219.             "link""http://baike.soso.com/v607218.htm"  
  220.         }  
  221.     ],  
  222.     "dlg": [  
  223.         {  
  224.             "s""/衣食住行",  
  225.             "t""生活对话",  
  226.             "c": [  
  227.                 {  
  228.                     "n""A",  
  229.                     "cs""(对柔丝大嚷)柔丝,我和唐要去买些饮料。",  
  230.                     "es""Yelling to Rose) Rose, Don and I are going to buy some drinks. "  
  231.                 },  
  232.                 {  
  233.                     "n""B",  
  234.                     "cs""(对苏咬耳朵)柔丝和赫伯简直是黑暗时期的人!",  
  235.                     "es""(Quietly to Sue) Rose and Herb are from the Dark Ages! "  
  236.                 },  
  237.                 {  
  238.                     "n""A",  
  239.                     "cs""我从来没见过两个人在一起这么紧张的。",  
  240.                     "es""I&#39;ve never seen two people who are so  nervous when together. "  
  241.                 },  
  242.                 {  
  243.                     "n""B",  
  244.                     "cs""这次下场会极惨。",  
  245.                     "es""This is going to be a major  disaster. "  
  246.                 },  
  247.                 {  
  248.                     "n""A",  
  249.                     "cs""没错。他们接下来大概无言以对……",  
  250.                     "es""You&#39;re right. They won&#39;t say a <b>word</b> to each other... "  
  251.                 },  
  252.                 {  
  253.                     "n""B",  
  254.                     "cs""……一整个晚上。",  
  255.                     "es""...the whole evening. "  
  256.                 },  
  257.                 {  
  258.                     "n""A",  
  259.                     "cs""他们俩永远不会在一起的。",  
  260.                     "es""They won&#39;t get together, ever. "  
  261.                 }  
  262.             ],  
  263.             "u""4"  
  264.         },  
  265.         {  
  266.             "s""/校园生活",  
  267.             "t""Learning Vocabulary-(学习词汇)",  
  268.             "c": [  
  269.                 {  
  270.                     "n""A",  
  271.                     "cs""我弄不懂为什么我们一定要记住会话。我们需要的是词汇,而不是发音。",  
  272.                     "es""I don&#39;t understand why we have to memorize conversations.We need more vocabulary, not pronunciation. "  
  273.                 },  
  274.                 {  
  275.                     "n""B",  
  276.                     "cs""你不认为记住会话是学习词汇的一个组成部分吗?每当我们记住一句会话,我们就记住了全部的上下文。而这上下文可以供我们了解一个单词的一种用法。我从自己的语言中意识到,光靠查词典然后把这些词汇拼成句子,并不意味着会正确使用这些词。有些意识有很多解释。我们必须弄清楚在哪种情况下适用哪一种解释。",  
  277.                     "es""Don&#39;t you think memorizing conversations is a part of learning vocabulary?Every time we memorize a conversation, we&#39;re memorizing a whole series of contexts.Each context tells us one way a <b>word</b> can be used.I know from my own language that I can&#39;t always use words by simply looking them up in a dictionary and then putting them into sentences. Some words have many meanings. We have to know which meanings go where. "  
  278.                 }  
  279.             ],  
  280.             "u""1"  
  281.         }  
  282.     ],  
  283.     "lang""eng"  
  284. }  
原创粉丝点击