I just wrote a little Python script that imports the vocabulary data from Paul Hemetsberger's dict.cc project into Leopard's Dictionary.app.
This is great if you need this fabulous online dictionary while on the move.
Update: A new and much easier installable version can be found here.
The code is quick 'n dirty and some strings aren't processed correctly. This is compensated by the links to OS X's build-in New Oxford American Dictionary.
Regrettably dict.cc's license prohibits redistributing the vocabulary database. So, if you want to use Dictionary.app to translate words from german to english you'll have to build it yourself:
make and grab a cup of coffee :)
Update: From now on you can import de-en, en-de, or both databases into Dictionary.App.
Update 2: Script is now downloadable. Get it below.
Follow the instructions in Readme.txt and don't forget that you'll need dictionary data from dict.cc and Apple's Developer Tools.
Update 3: It also works inside OS X's Dictionary widget :)
Update 4: A new and much easier installable version can be found here.
Documentation of the Dictionary Development Kit
| Attachment | Size |
|---|---|
| 7.25 KB |
Comments
noam661 (not verified)
2008, August 7 - 08:16
Permalink
Thanks for sharing mate. I
Matt Serwin (not verified)
2008, September 10 - 20:43
Permalink
Thanks for the info, that is
Anonymous (not verified)
2008, September 28 - 20:38
Permalink
why dont you simply link to
lipflip
2008, September 29 - 00:28
Permalink
historical reasons. this page
Georg Graf (not verified)
2011, April 2 - 00:10
Permalink
Hey there,
Greetings, Georg!input = codecs.open(fileName, encoding='utf-8') print 'Processing "'+fileName+'"' except IOError: print '*** File "' + fileName + '" not found.' else: for line in input: lines=lines+1 # trow away comments if (p_comment.match(line)) or (len(line)<=2): comments=comments+1 continue # split entry into english and german part data = line.split("\t", 1);