[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dict in Emacs
From: |
Xah Lee |
Subject: |
Re: dict in Emacs |
Date: |
Mon, 14 Apr 2008 01:02:59 -0700 (PDT) |
User-agent: |
G2/1.0 |
Xah wrote:
«one solution is actually to use a browser. i.e. you hit a button in
emacs, and emacs switchs you to your browser showing the definition
using a online dictionary. Here's the code:
(defun word-definition-lookup ()
"Look up the word under cursor in a browser."
(interactive)
(browse-url
(concat "http://www.answers.com/main/ntquery?s="
(thing-at-point 'word)))
)
»
------------
Torben Knudsen wrote:
«I tried to use this with http://www.dict.org/bin/Dict. However, I
can't figure out what to do to look up a specific word i.e. something
similar tohttp://www.answers.com/main/ntquery?s=whatever. What do I
need for dict?»
Seems to be this (suppose confound is the word to lookup):
http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=confound
--------------------------
Here are some example urls query for some other dict sites:
American Heritage Dictionary (AHD)
http://www.answers.com/main/ntquery?s=confound
http://en.wiktionary.org/wiki/confound
Merriem Webster
http://m-w.com/dictionary/confound
Compact Oxford Eng Dict
http://www.askoxford.com/concise_oed/confound?view=uk
others, most of which uses AHD:
http://www.bartleby.com/cgi-bin/texis/webinator/sitesearch?FILTER=col61&query=confound
http://www.yourdictionary.com/ahd/search?p=confound
http://dictionary.reference.com/browse/confound
PS among all English dicts i've used in the past 2 decades, i like AHD
the most.
btw, there's also encarta dict online, and yahoo.com also hosts AHD if
i recall correctly.
-----------------
comp lang references and Wikipedia
Perl http://perldoc.perl.org/search.html?q=confound
PHP http://us.php.net/confound
LSL http://wiki.secondlife.com/wiki/confound
Wikipedia http://en.wikipedia.org/wiki/confound
-------------------
personally, i'd like to find one for java, python, and perhaps elisp
too.
Xah
xah@xahlee.org
∑ http://xahlee.org/
☄
- dict in Emacs, Evans Winner, 2008/04/07
- Re: dict in Emacs, Richard G Riley, 2008/04/08
- Re: dict in Emacs, William Xu, 2008/04/08
- Re: dict in Emacs, Jashy, 2008/04/08
- Re: dict in Emacs, Xah Lee, 2008/04/11
- Re: dict in Emacs, Xah Lee, 2008/04/14