Vaouse onlinedict的解析器类,例如collinsdictionary/lexico/vocabulary/spanishdict等。

web-dict的Python项目详细描述


Web词典分析器

安装

pip install web-dict

双语网站

在Collinsdictionary.com网站在

  • CollinsDictionary支持以下语言,分别调用方法.en2es或{}等
^{pr2}$
fromweb_dictimportCollinsDictionarydict_=CollinsDictionary()defs=dict_.es2en(word='hacer')

退货

{"audio":"https://www.collinsdictionary.com/sounds/hwd_sounds/ES-419-W0025780.mp3","defs":[{"senses":[{"senses":[],"examples":[{"sent":"¿qué haces?","trans":"what are you doing?"},{"sent":"¿qué haces ahí?","trans":"what are you doing there?"},{"sent":"no sé qué hacer","trans":"I don’t know what to do"},{"sent":"hace y deshace las cosas a su antojo","trans":"she does as she pleases"},{"sent":"¡eso no se hace!","trans":"that’s not done!"},{"sent":"no hizo nada por ayudarnos","trans":"she didn’t do anything to help us"},{"sent":"haz todo lo posible por llegar a tiempo","trans":"do everything possible to arrive on time"},{"sent":"no tiene sentido hacer las cosas por hacerlas","trans":"there’s no point doing things just for the sake of it"}],"exp":"to do","syn":{"syn":"","geo":null},"idioms":[{"orth":"¡qué le vamos a hacer!","trans":"what can you do?"},{"orth":"hacer algo por hacer","trans":"there’s no point doing things just for the sake of it"},{"orth":"¡la hemos hecho buena!","trans":"we’ve really gone and done it now! (informal)"},{"orth":"ya ha hecho otra de las suyas","trans":"he’s been up to his old tricks again"}]},{"senses":[],"examples":[{"sent":"él protestó y yo hice lo mismo","trans":"he protested and I did the same"},{"sent":"no viene tanto como lo solía hacer","trans":"he doesn’t come as much as he used to"}],"exp":"to do","syn":{"syn":"","geo":null},"idioms":[]}]}],"rank":5,"head_word":"hacer"}

在Lexico.com网站在

  • 英语
  • 英语
  • 英语
  • 埃斯

单语位点

使用支持单声道语言的.do_search方法

在词汇网在

  • VocabularyDictionary只支持English
fromweb_dictimportVocabularyDictionarydict_=VocabularyDictionary()defs=dict_.do_search(word='python')

退货:

{"audio":"https://audio.vocab.com/1.0/us/P/6XU2813JWEQB.mp3","long_def":"A python will grab smaller animals with its sharp teeth and then use its powerful coils to constrict the prey until it stops breathing. Pythons can also eat animals larger than they are — occasionally, pythons have been known to eat antelope and deer. The word python comes from Greek mythology, in which Python was a dragon or serpent who guarded the Delphic oracle until he was eventually killed by Apollo.","head_word":"python","short_def":"A python is a very large, nonvenomous snake. Instead of injecting poison through their fangs, pythons kill by wrapping around and asphyxiating their prey. You certainly wouldn't want to be a python's main squeeze.","defs":{"primary":[{"exp":"large Old World boas","pos":["n"]},{"exp":"a soothsaying spirit or a person who is possessed by such a spirit","pos":["n"]}],"full":[{"examples":[],"exp":"large Old World boas","pos":"n"},{"examples":[],"exp":"a soothsaying spirit or a person who is possessed by such a spirit","pos":"n"}]}}
  • VocabularySuggestionDictionary
{"suggestion":[{"phrase":"python","freq":18497.57,"exp":"large Old World boas"},{"phrase":"Python","freq":25364.33,"exp":"Greek mythology"},{"phrase":"pythoness","freq":262652.35,"exp":"a witch with powers of divination"},{"phrase":"Pythoness","freq":90918.78,"exp":"Greek mythology"},{"phrase":"Pythonidae","freq":-1,"exp":"in some classifications a family separate from Boidae comprising Old World boas"},{"phrase":"Pythoninae","freq":-1,"exp":"Old World boas: pythons"},{"phrase":"Python molurus","freq":5909656.39,"exp":"very large python of southeast Asia"},{"phrase":"Python reticulatus","freq":1477414.85,"exp":"of southeast Asia and East Indies"},{"phrase":"Python sebae","freq":-1,"exp":"very large python of tropical and southern Africa"},{"phrase":"Python variegatus","freq":-1,"exp":"Australian python with a variegated pattern on its back"}]}

在中国必应网在

  • CNBingDictionary只支持English > Simplified Chinese
  • CNBingSuggestion
{"suggestion":[{"exp":"蟒; 蚺蛇","phrase":"python"},{"exp":"女巫; 希腊达尔菲地方祀奉阿波罗神的...","phrase":"pythoness"},{"exp":"女巫; 希腊达尔菲地方祀奉阿波罗神...","phrase":"pythonesses"},{"exp":"神托的; 蚒蛇的","phrase":"pythonic"}]}

在UrbanDictionary.com网站在

  • UrbanDictionary
{"definitions":["To be totally honest about something.","A song released in 1994 by a rapper named Jeru the Damaja. This song has one of the greatest beats ever composed for rap music. The beat has which has been widely compared to dripping water and hammers banging on pipes. That, and a scratch of Onyx screaming \"Uh-oh! HEADS UP cause we're dropping some shit\" It was also laced with tight lyrics by Jeru, a great song on a great album.","A song written by Billie Joe Armstrong and played by Green Day. It is a song about how a teenage boy has turned seventeen, who has secrets just like anybody. He is wondering if he should tell people about his secrets. His secrets are possibly concering his sexuality. He has also found out how to be a man.","(v) The act of shoving everything in a closet and calling it decent.","describing an item that looks really nice.","Having stopped taking drugs.","Referring to some new or icy attire. Usually directed toward shoes.","Exceedingly attractive, in an overtly sexual way.","in runescape when you lose all your money staking because of pid.","1.Action that people do when bored. Involve taking a pile of junk and moving it to somewhere else in the house. 2.Removing all useless part of a whole so that it is better."]}

在SpanishDict.com网站在

  • SpanishDictDictionary只支持Spanish > English

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Android:在内部存储器中保存两个同名位图   java如何获取每个月的记录?   java错误:找不到com。安卓工具。构建:渐变:3.2.1   Java反射,如何使用构造函数获取newInstance是一个很重要的问题。类别ex:Class<Customer>customerClass   java具体类不使用泛型标识符编译   java InputStream在Apache FileUpload API中关闭   java自动隐藏任务栏和最大屏幕空间   java端点返回对象而不是直接JSON   java打印BST的直径   在Java中将节点追加到xml   java如何在Jersey中注册静态类?   java如何修改for循环,使其不比较第一个循环和最后一个循环,而是将所有其他循环与最后一个循环进行比较?   java扩展主机意外终止(vscode)   如何使用Java进程读取mysql控制台输出   java从现有列表创建元素列表   java将数据流式传输到BigQuery新表中?   java如何从绑定结果验证失败返回错误响应?