Re: [dict-beta] Any DICT database formatting document available?

=?windows-1257?B?SuJ6ZXBzIEJh8Gtv?= <[email protected]> Fri, 11 Feb 2005 19:55:02 +0200
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
Privet Aleksey,

Thanks for your help.
We are now trying to use dictfmt, but it does not seem to function properly. We
have been testing the port package available on FreeBSD and rpm package on
Mandrake 10.1, but none is actually doing anything. It starts and runs for hours
generating just the two empty files *.dict and *.index. On mandrake the .index
file contained a couple of 00-database--... headers and that's it. We were
trying this on a file we got by decompressing world CIA factbook 1995 with
dictzip. We tried all available dicfmt options (-c5,-f,-e,-h,-j,-p) and none
works :(
Have you experienced anything like this? What could we do?

We have an assignment: to make a web application that allows students to build
dictionaries. At first their vocabulary will be stored in MySQL database and
then we would like to format data nightly into DICT databases. We are using PHP.

Spasibo,
Jazeps.


Quoting Aleksey Cheusov <[email protected]>:

> JB> Hi,
> 
>  JB> Is there any DICT database format specification available?
>  JB> I did not find anything like that in dict.org. Thanks in advance.
> 
>  JB> jazeps.
> 
> .dict file contains definitions
> .index file consists of three columns, separated by TAB character:
> 1) word to be searched
> 2) offset of the definition in .dict file
>    encoded using base64 algorithm (libmaa/base64.c)
> 2) size (in bytes) in .dict file encoded using base64
>    algorithm (libmaa/base64.c)
> 
> Also you can use `dictunformat' to extract
> content from .dict/.index files in c5 format (See man dictfmt).
> 
> -- 
> Best regards, Aleksey Cheusov.


Ar cieņu
Jāzeps Baško
Advertisement:

Atrodiet savu celojumu seit!
http://travel.inbox.lv