S60Dict
6 Jan 2006 - 09:30

S60Dict

S60Dict is an offline dictionary engine for DICT databases. DICT stands for 'Dictionary Server Protocol' and is a TCP transaction based query/response protocol that allows a client to access dictionary definitions from a set of natural language dictionary databases. Although it is designed for network usage, the dictionary databases are also available under the GPL license. Both bilingual (available from freedict.org) and English dictionaries can be downloaded. Among others, Wordnet is an extensive and recently updated English dictionary. Another database of interest is jargon, which presents a hackers terminology. With S60Dict you can download these dictionaries, transfer them to your phone and be able to consult them offline, without the need of an Internet connection.

Installing dictionaries

A DICT database consists of a compressed file (.dz), containing the word definitions and an index file (.index), used to expedite word searching. The .dz format is actually a modified .gz file. It is possible to extract only a portion of the data at a .dz file, while not losing much on compression ratio. The index file is a plain text file. Every line contains a single headword along with the offset and the length of the meaning in the .dz file. When you download the databases, these are usually in a tar.gz format. In order to install a dictionary in your phone you must follow these steps:

1) Open the tar.gz file with the zip utility of your choice and extract the .dict.dz and .index files in a folder in your PC.

2) S60Dict requires the .index file to be ASCII sorted. However the files you download are not always sorted this way. You can easily sort an .index file yourself with the 'sort_file.bat' batch file, provided in the download section. Simply run the following command in a Windows XP command prompt.

sort_file.bat name.index

3) After you have sorted the index file, transfer it along with the dict.dz file to your phone. The index and the dict.dz files must be in the same directory. You can use any directory in your phone. S60Dict allows you to define up to 4 directories, where databases will be looked up. The easiest thing to do, is to place the files in S60Dict's installation directory.

Usage of S60Dict

After you've installed one or more dictionaries, launch S60Dict. You can select a dictionary with the 'Select Dictionary' menu command. If you see no dictionaries, you may need to modify the path. You can do this with the 'Settings', 'Path' menu command. Then type the word you want to search for and press 'Search'. If there are entries in the dictionary that match your word, they will appear in a list. Otherwise a list of words adjacent to the word you've searched for will appear. In both cases you can see the meaning of a word by selecting it. Press 'Back' to return to the previous view.

Download

S60Dict.sis
S60Dict.sis
S60DictSources.zip
S60DictSources.zip

You can check my homepage for updates. SmartLexicon is a similar program for Windows XP operating system.

Download posted January 6th, 2006 by kgiannak

Submitted by kgiannak on Sat, 2006-01-07 11:10.

For some reason sort_file.bat doesn't appear in the download section. This is the code of the batch file:

@echo off

ren %1 %1.copy

sort %1.copy /l ""C"" /o %1


Submitted by aditiya (not verified) on Tue, 2006-04-18 09:45.

hi I just wanna ask you how to make '.dz' and '.index' file because I want to make indonesian-english and english-indonesian database for this dictionary.. any answer can solve my problem, maybe you can give me the link that supported my question or any software to make your dict database

thank's very much

regard

aditiya


Submitted by kgiannak (not verified) on Wed, 2006-04-19 06:24.

You can find dict formatting software at the following location:

ftp://ftp.dict.org/pub/dict/

Check also dict.org resources page (http://www.dict.org/links.html)

Some programming experience is needed to make use of any of it.


Submitted by aditiya (not verified) on Tue, 2006-04-18 10:02.

hi i just want to ask you how to make .dz and .index file i want to make indonesian-english .dz database please help me

Submitted by resoftw (not verified) on Sun, 2006-06-18 20:51.

just look at the source code... i think it's a Dict format in gzip (.z) --> (.dz)

Submitted by Yohanes Nugroho (not verified) on Mon, 2007-02-26 16:44.

Hi,

I have ported this application to S60 3rd edition. This program is well designed, so it is a simple porting process (only done in a few hours).

I have written the steps that I have taken when porting my other program (symbianbible) to 3rd edition, and the porting steps for this one is not different.

You can see my writings at http://symbian.compactbyte.com

—  Regards Yohanes


Submitted by majid75 on Sat, 2007-09-01 11:21.

Where can I find 'dz' and 'index' files for one of the DICT databases named
'The Free On-line Dictionary of Computing' ?


Submitted by kgiannak on Sun, 2007-09-02 19:09.



copyright 2003-2009 NewLC SARL