Author Topic: Zdict  (Read 10019 times)

Tomoe

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Zdict
« on: November 11, 2005, 12:02:37 pm »
How are you gentlemen.

Zdict ipk v0.1 has been released.
You can find it on http://life.is.just.a.dre.am/zaurus/.
You're also going to need Kakasi and eb library, both available on that address.
When you install the ipk (it might need to be run with sudo ipkg install), run the following 2 commands in console if you own a C3000 or C3100:
sudo ln -s /hdd3/dict1 /home/QtPalmtop
sudo ln -s /hdd3/dict2 /home/QtPalmtop
If you want to load the dictionary files from an sd or cf card, you're going to have to rename dict1 and dict2 folder to dict (ie, move the files from dict2 to dict1 and then rename dict1 to dict).

Please report bugs and twitches.

Also, I'd recommend you to check Ztenv if you haven't, it's a fork of Zten just like Zdict and can be used with Sharp's default dictionaries. You can get it on
http://ebsnap.lkj.jp/zaurus/,
the files you need are
http://ebsnap.lkj.jp/zaurus/zlib-eb_1.2.3v01_arm.ipk
http://ebsnap.lkj.jp/zaurus/ztenv_1.9.25_arm.ipk
http://ebsnap.lkj.jp/zaurus/ztenv-c3000_001_none.ipk
Along them, you need Kakasi and eblib but I guess you already have those two installed for Zdict.
Somebody please check if Ztenv recognizes the /dict1/ and /dict2/ folders on HD, I don't have a HD-equipped Z so cannot check on my own.
A useful addition is PopupApplet, http://ebsnap.lkj.jp/zaurus/popupapplet_0.02_arm.ipk
which splits the screen in half between Ztenv and currently running program (text editor/reader for example) and lets you lookup words on fly. Ztenv has to be running for it to work, of course.
« Last Edit: November 11, 2005, 12:07:05 pm by Tomoe »

jsvariable

  • Newbie
  • *
  • Posts: 23
    • View Profile
Zdict
« Reply #1 on: November 12, 2005, 04:43:33 pm »
Wow! Ztenv's jump features (the ability to go back and forth between words) are much better than the default Zdict included with the c3100.

I am however having one problem.  I can get it to find and use the default dictionaries (The Koujien and Genius ones), but I can't get it to find/use the EPWING EDICT dictionaries that I put on hdd3.  Does anyone have instructions for doing that?

Thank you!
joe

jsvariable

  • Newbie
  • *
  • Posts: 23
    • View Profile
Zdict
« Reply #2 on: November 12, 2005, 05:14:19 pm »
I figured out a way, although I'm not sure if it's the best.

If you just put the new dictionary in one of the dict folders that are already on the hdd, it works.

joe

magicbb

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://
Zdict
« Reply #3 on: December 11, 2005, 08:39:43 pm »
After I install zdict to my c1000, i can't install any program to internal flash anymore. When installing program, only sd and cf location is available.
« Last Edit: December 11, 2005, 08:40:12 pm by magicbb »
Zaurus C-1000, AmbiCom Wifi, Pdaxrom beta 3

rokugo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Zdict
« Reply #4 on: December 12, 2005, 11:06:59 am »
Just installed zdict, and I'm having the same problems.

I can see the various folders of the internal flash just fine using TreeExplorerQT, but they no longer show up in the "File" tab on the desktop.

Does this have to do with broken symlinks or whatnot?
If so, can knowledgeable folks please point out which files need fixing?


edit: Oops, I tried running the Terminal application, looks like its broken too. And rebooting just hangs the set at the "please wait for 1 minute" screen.
Phew, glad I did a backup just before installing Zdict.
« Last Edit: December 12, 2005, 11:30:39 am by rokugo »
currently:  SL-C860 Cacko 1.23 ROM converted to full Japanese
formerly: SL-C1000 Cacko 1.23 ROM converted to full Japanese
Sony WL100 wifi CF card (handed down from old Clie)
A-Data 60X 2GB SD card loaded with Super Daijirin, Green Goddess5, NJECD and Eijiro

ludo

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Zdict
« Reply #5 on: December 21, 2005, 02:19:43 am »
I have just installed ztenv.  It opens well, with menu in japanese, so I'm lost (in the japanese)
How do I select a dictionary?

I have put ENAMDICT on a CF card, I could't find it. So I copied it on hdd3, either in dict1 or dict2, I still couldn;t find it (this time I've tried finding with zdict).

The structure of ENAMDICT, after you untar it is:
ENAMDICT
--ENAMDICT
----data HONMON.ebz
----gaiji (nothing inside)

This structure is very similar to the other dictionaries I have in dict1 and 2, for example:
kojien
--kojien
----data
------Honmon2.ebz
------HONMONS.ebz
------honmong
----gaiji
------(some other .ebz files)
----movie

So where should I put ENAMDICT so that it can be found, at least by zdict? Should I copy the entire ENAMDICT directory to a particular place or just the HONMON.ebz file?
I have tried both in fact.
1) put the whole ENAMDICT structure in dict1 (no success)
2) put the honmon.ebz file from the ENAMDICT into /dict2/kojien/kojien/data,but couldn't see it in zdict. (no success neither)

How have you done to be able to use ENAMDICT?
How do you select a dictionary on ztenv?

Thanks for any help.

Ludo
C3000 sharp rom not updated
« Last Edit: December 21, 2005, 02:22:58 am by ludo »
C3000 sharp ROM

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Zdict
« Reply #6 on: December 21, 2005, 09:29:30 am »
Go to /home/QtPalmtop/i18n/ja/ and remove the ztenv.qm file (this has the Japanese translations for the menus etc in ztenv), after that reopen ztenv and your menus will be in English.

To add a new dictionary to ztenv, you need to select the P -> Dictionary Setup, then press the "Find Dictionaries" and enamdict should show up.

Note: an older version of ztenv had you open up another window to select the dictionaries (ala zten)

You then need toassign a dictionary or group of dictionaries to a "group" which can then be selected under the G menu, or you can just use the All option on the G menu to search all dictionaries.

cheers

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

rokugo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Zdict
« Reply #7 on: December 21, 2005, 12:16:07 pm »
Quote
So where should I put ENAMDICT so that it can be found, at least by zdict? Should I copy the entire ENAMDICT directory to a particular place or just the HONMON.ebz file?
I have tried both in fact.
1) put the whole ENAMDICT structure in dict1 (no success)
2) put the honmon.ebz file from the ENAMDICT into /dict2/kojien/kojien/data,but couldn't see it in zdict. (no success neither)

How have you done to be able to use ENAMDICT?
How do you select a dictionary on ztenv?

[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

If you want to put ENAMDICT into "dict1" folder, the folder tree should look like this:

dict1
...... \__enamdict
......................... \__enamdict
............................................\__data
............................................\__gaiji


(and another dictionary in the same dict1 folder eg EDICT, would look like this )

.......\__edict    
...........................\__edict        
..........................................\__data
..........................................\__gaiji



HOWEVER,  the dictionaries in each of my external storage (SD card and Microdrive) on my C1000 are put inside the main folder called "dict".  I tried naming this folder by other names eg dict1, in which case neither Zten nor Zdict (I finally got it to work) will be able to find the dictionaries.
So I believe there is a restriction to the name of the main folder where you put your dictionaries.

In fact, the zten creator's page confirms it : [a href=\"http://wiki.gohome.org/zten/?%BB%C8%A4%A4%CA%FD]http://wiki.gohome.org/zten/?%BB%C8%A4%A4%CA%FD[/url]

Perhaps you should try creating just one common folder called "dict" and put ENAMDICT inside it, and transfer the contents of dict1 and dict2 into it as well.
« Last Edit: December 21, 2005, 12:17:19 pm by rokugo »
currently:  SL-C860 Cacko 1.23 ROM converted to full Japanese
formerly: SL-C1000 Cacko 1.23 ROM converted to full Japanese
Sony WL100 wifi CF card (handed down from old Clie)
A-Data 60X 2GB SD card loaded with Super Daijirin, Green Goddess5, NJECD and Eijiro

rokugo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Zdict
« Reply #8 on: December 21, 2005, 01:21:44 pm »
Quote
After I install zdict to my c1000, i can't install any program to internal flash anymore. When installing program, only sd and cf location is available.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


I've found out what was causing the problem when installing Tomoe's zdict ipk package onto a C1000.

There are 4 lib files in the ipk, namely libsl.so, libsl.so.1, libsl.so.1.1 and libsl.1.1.0, that already exist in the C1000's /opt/QtPalmtop/lib directory. I believe these files are specifically for the C3000 (and maybe C31000).
So installing the ipk will overwrite the corresponding files in the C1000, thus messing up the home directory (or something to that effect).

Anyway, after extensive reading and much frustration (especially when discovering that simple things like tar/untar don't even work properly on the default Sharp ROM), I've managed to recreate the zdict ipk package minus the 4 lib files. I've also enabled the fastload option.

Tested it on my C1000 obviously, the ipk (filesize 488Kb) should be working fine now.
So unless somebody comes out with a more polished version, this will have to do: [a href=\"http://www.aonorokugo.net/rokugo/misc/zaurus/zdict_0.1_arm.ipk]http://www.aonorokugo.net/rokugo/misc/zaur...ict_0.1_arm.ipk[/url]
(just in case, please backup before installing)
currently:  SL-C860 Cacko 1.23 ROM converted to full Japanese
formerly: SL-C1000 Cacko 1.23 ROM converted to full Japanese
Sony WL100 wifi CF card (handed down from old Clie)
A-Data 60X 2GB SD card loaded with Super Daijirin, Green Goddess5, NJECD and Eijiro

ludo

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Zdict
« Reply #9 on: December 22, 2005, 03:20:14 am »
Rokugo and Stubear

Thanks for your replies... But it doesn't work for me (the enamdict install / recognition)... You guys have a C1000, do you think it shouldn't work on my C3000 (sharp rom, not updated)?

I followed the advice to put all my dictionaries into one folder.
Here is what I get:
- ztenv and zdict see the books if the directory name is dict1
- if I rename the dicrectory to "dict" alone, it won't work (no dictionary is detected)
- enamdict is not seen in any case! But I see it in Tree!Explorer, just beside kojien in the same dict1 directory!

So what is happening?

Besides, What is the difference between ztenv and ztenvC3000? At the begining of the thread, Tomoe mentioned you need to install both these ipk, but I get now a ztenv and a ztenv3000 that are very very similar!

http://ebsnap.lkj.jp/zaurus/ztenv_1.9.25_arm.ipk
http://ebsnap.lkj.jp/zaurus/ztenv-c3000_001_none.ipk

Ludo, still struggling with my enamdict.
« Last Edit: December 22, 2005, 03:25:48 am by ludo »
C3000 sharp ROM

rokugo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Zdict
« Reply #10 on: December 22, 2005, 08:27:39 am »
Ok, so both Zdict and Ztenv are working fine with the Kojien and Genius dictionaries inside your dict1 directory? But they still cannot find Enamdict?

Could it simply mean that the Enamdict file you downloaded is somehow corrupted?
Try downloading it again.

Or alternatively you can try the one I've been using for the past 2 years (since my C860 days). Its older but I can say for certain its a working version.
I can't remember where I downloaded it from, so I've put it on my website: http://www.aonorokugo.net/rokugo/misc/zaurus/  
I've also included 2 other dictionaries for you to verify with.
Now there's NO WAY all 3 dictionaries cannot be detected.

good luck.
« Last Edit: December 22, 2005, 08:30:59 am by rokugo »
currently:  SL-C860 Cacko 1.23 ROM converted to full Japanese
formerly: SL-C1000 Cacko 1.23 ROM converted to full Japanese
Sony WL100 wifi CF card (handed down from old Clie)
A-Data 60X 2GB SD card loaded with Super Daijirin, Green Goddess5, NJECD and Eijiro

rokugo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Zdict
« Reply #11 on: December 22, 2005, 10:14:37 am »
Quote
Besides, What is the difference between ztenv and ztenvC3000? At the begining of the thread, Tomoe mentioned you need to install both these ipk, but I get now a ztenv and a ztenv3000 that are very very similar!

http://ebsnap.lkj.jp/zaurus/ztenv_1.9.25_arm.ipk
http://ebsnap.lkj.jp/zaurus/ztenv-c3000_001_none.ipk

[div align=\"right\"][a href=\"index.php?act=findpost&pid=108051\"][{POST_SNAPBACK}][/a][/div]

They are "very very similar" because you're looking at the same thing  

As I understand it,  Ztenv3000 simply launches the actual Ztenv together with some lib files (belonging to Zdict), so that Ztenv can work with the encrypted kojien and genius dictionaries.
Untar the ztenv3000 ipk and open the bin file in a text editor, you can see the script for yourself.  
Anyway, its not really that great since the lib files slow down Ztenv significantly.

Btw I'm using ztenv_1.6.2v140.
The 1.9.25 version has a red 【人柱専用】[for "human sacrifice" exclusive use] warning, so I gather its not very stable.
currently:  SL-C860 Cacko 1.23 ROM converted to full Japanese
formerly: SL-C1000 Cacko 1.23 ROM converted to full Japanese
Sony WL100 wifi CF card (handed down from old Clie)
A-Data 60X 2GB SD card loaded with Super Daijirin, Green Goddess5, NJECD and Eijiro

ludo

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Zdict
« Reply #12 on: December 22, 2005, 07:45:26 pm »
Rokugo: it worked! Thank you!

Yes, I've installed your enamdict in my dict1 folder, it has been recognized first time.
I had downloaded mine from
http://www.hloeffler.info/zaurus/ (you should have a look at this place but I believe you know this already), exactly at:
ftp://ftp.cc.monash.edu.au/pub/nihongo/enamdict.fpwebz.tar

I had untar mine (tar xvf) from the Qconsole and moved the folder structure into dict1, but as you know it didn't work. I'll download it again and see if I get it work better.

Your version is indeed older, I have been looking for the name [span style=\'font-size:14pt;line-height:100%\']田斎[/span] (たさい) and I only got [span style=\'font-size:14pt;line-height:100%\']田斉[/span] or [span style=\'font-size:14pt;line-height:100%\']太齋[/span]. It appears ok on the latest version, that you can read in your browser (go to http://ftp.monash.edu.au/pub/nihongo/enamdict.gz).

So if the version found from http://www.hloeffler.info/zaurus/  still doesn't work, hey, I'll TRY to convert it myself to the EPWING format using the FreePWING library (I'm just copying what's written in the menu of enadict, don't be impressed, I know almost nothing about how this dictionaries work)

Thanks again

StuBear,

In Ztenv, In the dictionary configuration, there is an alt title, and I thought you could rename a dictionary. It doesn't seem to apply. Then what could this alternative title used for? Also, there are a lot of other options:

-Stop Code (chose from Auto, Appendix, ...1F09 0000...)
- Enable menu search
...

Have you used them? What are their applications? Do you know a web page with explanations on the ztenv's features?

Ludo
« Last Edit: December 22, 2005, 08:00:01 pm by ludo »
C3000 sharp ROM

rokugo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Zdict
« Reply #13 on: December 24, 2005, 03:03:44 am »
Quote
Your version is indeed older, I have been looking for the name [span style=\'font-size:14pt;line-height:100%\']田斎[/span] (たさい) and I only got [span style=\'font-size:14pt;line-height:100%\']田斉[/span] or [span style=\'font-size:14pt;line-height:100%\']太齋[/span]. It appears ok on the latest version, that you can read in your browser (go to http://ftp.monash.edu.au/pub/nihongo/enamdict.gz).


[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Glad you got it working.
I checked the online version of enamdict: [a href=\"http://www.csse.monash.edu.au/~jwb/cgi-bin/wwwjdic.cgi?1C]http://www.csse.monash.edu.au/~jwb/cgi-bin/wwwjdic.cgi?1C[/url] , the results are the same as what I get on my zaurus.

I think enamdict is not as often updated as other dictionaries, because its a futile exercise, especially for person names. Japanese folks don't seem to follow the  approved jouyou kanji readings for their names, giving rise to many non-standard variations.
The more common reading of 田斎 is たざい, which unfortunately is also the same as 多罪 (many sins)     So I can understand why some of them change it to たさい, it sounds more auspicious like 多才 (many talents).
Btw, you can also add a new entry into your User Dictionary (ユーザー辞書)  so the next time you type たさい and press the spacebar, 田斎 will appear.
« Last Edit: December 24, 2005, 03:09:00 am by rokugo »
currently:  SL-C860 Cacko 1.23 ROM converted to full Japanese
formerly: SL-C1000 Cacko 1.23 ROM converted to full Japanese
Sony WL100 wifi CF card (handed down from old Clie)
A-Data 60X 2GB SD card loaded with Super Daijirin, Green Goddess5, NJECD and Eijiro

obazavil

  • Newbie
  • *
  • Posts: 5
    • View Profile
Zdict
« Reply #14 on: June 11, 2006, 11:55:40 am »
Hi!

I have a c3200

I installed cacko, and ztenv, so i can actually use all edict dicts, BUT, i can't use the kojien and genius dicts.

I installed all ztenv libs, the kakasi-2 from zten, and downloaded a zdict from this post, but still, i can't see my kojien and genius dicts neither on ztenv, zenv2000 or zdict.

any suggestion?

my dicts, are, as default, in /hdd3/dict1/kojien (or the default one in the hdd)

help

my dicts are useless :S

thanks!