Margot

The English-Polish Computer Aided Translation System


Introduction  |  Documentation  |  Software  |  Humor  |  Artwork  

 

Your Any Dictionary

DOWNLOAD IT NOW (version 0.2.2; 2005-09-13).

Origins

Yadict is the "next" version of KPWNDict by Maciej Witkowiak. It was redesign to support theoretically number of dictionaries. Yadict has many new features but it is very likely it has more flaws than KPWNDict!

Requirements

Yadict is an open-source project, it was developed originally on Linux (if your platform differs you can always try to build it anyway) -- I believe you have to get QT and SQLite -- both normal and developer's packages.

Usage

The first step you have to make (just for sure) is to configure the path to the database. Next you should import data. Once you obtained original dictionary and imported it to the Yadict database you can search the data as you wish. See the screenshots:


searching keywords using edit distance algorithm

searching keywords by their endings

Special options

Only possible when invoking Yadict from shell:

--keys=dictionary_id shows the keywords list from the specified dictionary id
--dict-id shows the list of dictionary id's
--use=id_1,id_2,...,id_N use only given (by id) dictionaries
--find=word_1,word_2,...,word_N find given words and display the result on the standard output
--import=data_source_full_filename import given file -- make sure that file is valid and the program is properly configured

Performance

Yadict is slow in showing nicely formatted text -- QT has some serious problems with parsing and displaying its quasi-HTML code (I plan to replace QT by wxWidgets which is portable and much more customizable). So if you think that searching dictionary takes time you are wrong -- diplaying does!

Dictionaries

Supported directly -- you just have to import "angpol.win" file. All formattings are preserved.

2003, version 3.0

Not very pleasant way but I didn't manage to figure out anything better. Install MW on you Windows system, download MW-Remote and MW-Timer. Run all three programs, load you keywords list into MW-Remote, turn MW-Timer on, and you should see something like this:

Now hit the "GO" button and wait (sad but true) about 8 hours (PIII 500MHz). You can stop and continue the extracting but make sure you start from the same keyword you stopped at (of course you can start from the begining, the output will just be bigger and you waste more time). As the result you get "merriamwebster.xtr" file on C drive (you can safely delete all three other "merriamwebster.*" files from your C drive). The last thing you have to do is importing this file into Yadict. Unfortunately all formattings are lost -- well, I could enrich the data but plain text suits me for now.

Important note: while extracting data stay away from your computer -- do not use your keyboard (sic!) and don't do anything with Windows Clipboard.

The procedure is analogous to Merriam-Webster. Run the dictionary, run the NKF-Remote (no Timer this time, no keywords list either) and hit the appropriate button. You can stop the process and continue begining from the selected keyword (in the dictionary). The extraction takes about 5 hours (PIII 500MHz), most of the formattings are preserved (thanks to HtmlEncode module by Derek Evans) -- look for "nkfuspl.xtr" and "nkfplus.xtr" files on C drive.

Important note: while extracting data using remote utilities DO NOT do anything with Windows Clipboard because the remotes depend heavily on it.

Cambridge Advanced Learner's Dictionary,
The Longman Dictionary of Contemporary English
For now unsupported but it is highly unlikely that they will be supported directly. I should write a set of remotes like this one for Merriam-Webster. If you have one of those dictionaries and you want to use it in Yadict, please just drop me a note.
other Haven't seen them -- I can't tell.

By "support" you should understand you have to get the original CD-ROM because Yadict does not contain any dictionary by itself -- it just a manager program not a collection of dictionaries.