sdcv命令的常用选项如下:

-l:列出安装的词典
-u:指定查词所用的词典

在我的电脑上列出的词典有:

Dictionary's name Word count

Merrian Webster 10th dictionary 20517

朗道英汉字典5.0 435468

Dictionnaire de l’Académie Française, 8ème édition (1935). 31216

牛津英汉双解美化版 39429

American Idioms 6210

Dictionnaire de l’Académie Française, 6ème édition (1835). 28153

高级汉语大词典 51673

Larousse Chambers français-anglais 48978

Collins COBUILD Advanced Learner's English Dictionary 34070

Concise Oxford English Dictionary 78754

英文字根字典 7835

Oxford Collocations Dictionary 2nd Ed. (En-En) 20879

Larousse Chambers English-French 52124

Oxford English Dictionary 2nd Ed. P1 140086

现代汉语词典 57691

新世纪汉英科技大词典 621241

American Heritage Dictionary 91832

WordNet 2.0 145625

Concise Oxford Thesaurus 17732

英汉汉英专业词典 571998

新德汉词典 106118

汉语成语词典 13305

德汉词典 68985

Langenscheidt Großwörterbuch Deutsch als Fremdsprache (De-De) 32687

新世纪英汉科技大词典 626953

朗道汉英字典5.0 405719

康熙字典文字版 46816

Quick 德汉词典 104542

汉德辞典 62505

XMLittre 123221

cfdict 25286

然后使用如下命令在牛津词典中查词:

sdcv -u "Concise Oxford English Dictionary" person

显示的解释如下:

Found 1 items, similar to person.

-->Concise Oxford English Dictionary

-->person

[ color="blue">n.</font>
<FONT face="Lucida Sans Unicode"><CHARSET
c="t">25A0;</CHARSET></FONT>&nbsp;&nbsp;<FONT
color="#990000">combining form</FONT> used as a
neutral alternative to <FONT color="#990000">-man</FONT>
in nouns denoting professional status, a position of authority, etc.:
<FONT color="#990000">salesperson.</FONT>]

可以看出,由该词典输出的解释为HTML格式。为此,需要将HTML转换为普通的文本格式。用w3m即可实现此功能。

sdcv -u "Concise Oxford English Dictionary" person | w3m -dump -T text/html

此时,显示的解释就干净多了:

Found 1 items, similar to person. -->Concise Oxford English Dictionary -->

person [ color="blue">n. 25A0; combining form used as a neutral alternative to

-man in nouns denoting professional status, a position of authority, etc.:

salesperson.]

最新文章

  1. 计算机网络中的帧封装(C实现)
  2. 财务报表 &gt; 现金流表的直接法,间接法,Cash Flow from Operating Activites
  3. mysql常用操作
  4. JMS与MQ详解(有项目)
  5. 【菜鸟学习jquery源码】数据缓存与data()
  6. TensorFlow 源代码初读感受
  7. View (三) 视图绘制流程完全解析
  8. vs2012无法启动已配置的开发Web服务器
  9. Core Java Volume I — 4.7. Packages
  10. wrap device
  11. 【python,threading】python多线程
  12. 依赖注入及AOP简述(十三)——AOP应用举例(完结) .
  13. 第2章 简单工厂模式(Sample Factory)
  14. scala学习笔记2(类,继承,抽象类)
  15. Mybatis执行SimpleExecutor(三)
  16. .NET Core实战项目之CMS 第七章 设计篇-用户权限极简设计全过程
  17. C#:关于C#4中IEnumerable&lt;out T&gt;的理解
  18. .gitignore无效的原因
  19. 读取excel日期数据问题
  20. Ajax 随笔

热门文章

  1. 为ASP.NET MVC应用程序实现继承
  2. c# in deep 之Lambda表达式
  3. asp.net 的一个简单进度条功能
  4. elasticsearch文档-analysis
  5. [置顶] 从引爆点的角度看360随身wifi的发展
  6. NotePad++安装和配置C/C++开发插件
  7. 兼容ie6的图片垂直居中
  8. K-Means算法
  9. 利用servicestack连接redis
  10. UI基础UIButton