OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: JimR on August 29, 2008, 11:01:40 am

Title: Bedic Format Description And Sample
Post by: JimR on August 29, 2008, 11:01:40 am
Hi there.  I'm trying to make a dictionary for bedic and I'm having some trouble getting the syntax right.
The links to bedic-format.txt and the example dictionary from the zbedic homepage aren't working; apparently the cvs.sourceforge.net domain is now gone, and those files are nowhere to be found.  I've tried searching this forum and some examples came up, but not really in-depth.  Would anyone have those files, or know where they are still available?

Also, once a dictionary is formatted into the dic.dz file, is there anyway to open it up and look at the actual construction of it?


Thanks for any help.
Jim
Title: Bedic Format Description And Sample
Post by: kurochka on August 29, 2008, 05:23:19 pm
Links are still alive and well. I'll post some links at the bottom.

Yes, you can open  the dic.dz files (it's basically a tar archive with some additional stuff) with dictzip program or rename .dz to .gz and use an unzip program.

Use the latest simplified bedic format (created by rafm), not the original (although it is still supported).

Look at these links for more info:
http://bedic.cvs.sourceforge.net/bedic/libbedic/doc/ (http://bedic.cvs.sourceforge.net/bedic/libbedic/doc/)
http://bedic.cvs.sourceforge.net/bedic/lib...amp;view=markup (http://bedic.cvs.sourceforge.net/bedic/libbedic/doc/example.dic?revision=1.2&view=markup)
http://bedic.cvs.sourceforge.net/bedic/lib...amp;view=markup (http://bedic.cvs.sourceforge.net/bedic/libbedic/doc/bedic-format.txt?revision=1.10&view=markup)
http://bedic.sourceforge.net/doc/zbedic-editing.html (http://bedic.sourceforge.net/doc/zbedic-editing.html)
http://bedic.sourceforge.net/man/mkbedic.html (http://bedic.sourceforge.net/man/mkbedic.html)
http://bedic.sourceforge.net/ (http://bedic.sourceforge.net/)

https://www.oesf.org/forum/index.php?showto...0&hl=zbedic (https://www.oesf.org/forum/index.php?showtopic=16160&hl=zbedic)
https://www.oesf.org/forum/index.php?showto...7&hl=zbedic (https://www.oesf.org/forum/index.php?showtopic=23377&hl=zbedic)
http://www.lyndonhill.com/Projects/zaurusdictionaries.html (http://www.lyndonhill.com/Projects/zaurusdictionaries.html)
http://only.mawhrin.net/zaurus/ (http://only.mawhrin.net/zaurus/)
http://dbrechalov.narod.ru/zaurus/bedic.htm (http://dbrechalov.narod.ru/zaurus/bedic.htm)
http://bedic.sourceforge.net/dict-list-keyword-lang.html (http://bedic.sourceforge.net/dict-list-keyword-lang.html)

Some fonts for use with zbedic:
http://www.hpc.ru/board/download.php?id=5408 (http://www.hpc.ru/board/download.php?id=5408)
http://ebsnap.lkj.jp/zaurus/efont24_0.06_arm.ipk (http://ebsnap.lkj.jp/zaurus/efont24_0.06_arm.ipk)
http://ebsnap.lkj.jp/zaurus/efont16_0.06_arm.ipk (http://ebsnap.lkj.jp/zaurus/efont16_0.06_arm.ipk)
Title: Bedic Format Description And Sample
Post by: JimR on August 30, 2008, 09:49:49 am
Quote from: kurochka
Links are still alive and well. I'll post some links at the bottom.

Yes, you can open  the dic.dz files (it's basically a tar archive with some additional stuff) with dictzip program or rename .dz to .gz and use an unzip program.

Use the latest simplified bedic format (created by rafm), not the original (although it is still supported).

Look at these links for more info:
Snip...

Thanks so much!
It looks like the problem I was having was that the links from
the bedic homepage (http://bedic.sourceforge.net/index.html#download) point to the wrong addresses:
http://cvs.sourceforge.net/viewcvs.py/bedi....1&view=log (http://cvs.sourceforge.net/viewcvs.py/bedic/libbedic/doc/example.dic?rev=1.1&view=log)
and
http://cvs.sourceforge.net/viewcvs.py/bedi....3&view=log (http://cvs.sourceforge.net/viewcvs.py/bedic/libbedic/doc/bedic-format.txt?rev=1.3&view=log)

That's a lot of great info, kurochka.
I really appreciate it!
Jim
Title: Bedic Format Description And Sample
Post by: koan on August 30, 2008, 01:05:19 pm
The .dz files are modified gzip files; gzip specifies how to add headers so you can have a custom archive with uncompressed meta data. If you do a gzip -d you'll probably extract the main archive but then that will still be bedic "raw" format not the simple format.

Don't forget to see http://www.lyndonhill.com/Projects/bedic-tips.html (http://www.lyndonhill.com/Projects/bedic-tips.html) if you want to write your own dictionary.

What languages are you making ?
Title: Bedic Format Description And Sample
Post by: JimR on August 30, 2008, 10:35:16 pm
Quote from: koan
The .dz files are modified gzip files; gzip specifies how to add headers so you can have a custom archive with uncompressed meta data. If you do a gzip -d you'll probably extract the main archive but then that will still be bedic "raw" format not the simple format.

Don't forget to see http://www.lyndonhill.com/Projects/bedic-tips.html (http://www.lyndonhill.com/Projects/bedic-tips.html) if you want to write your own dictionary.

What languages are you making ?

Well, at the moment I'm working on an Old English-Modern English dictionary.
The source is already finished, I just need to figure out the formattin--which, since I'm working with about 2000 pages of text, is no small things.
I'm learning lots of new stuff on the way, though.

Thanks for the help.  I really need it!
Jim
Title: Bedic Format Description And Sample
Post by: kurochka on September 15, 2008, 11:08:47 am
I have purchased emeditor for PC to work with huge text files.  It has awesome features (fast regex, macros, scripting, highlighting, fast processing of huge files, Unicode and other encodings, etc.)

I can't recommend it enough!