Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Stardict: Dictionary Reading Software


Adam B.
03-19-2007, 02:33 PM
Edit: For those who were having problems, please try this software again and let me know.

StarDict is a Cross-Platform and international dictionary written in Gtk2.
It has powerful features such as "Glob-style pattern matching", "Scan selection word,"
"Fuzzy query," etc.

The only problem with this release, is that text will not appear instantly as you type. You will need to close the keyboard for the text to appear.

Let me know if you have any other issues.

To Install:

If installing to SD/MMC, Download: http://projects.mobileread.com/iliad/projects/stardict/stardictmmc.zip

If installing co Compact Flash, Download: http://projects.mobileread.com/iliad/projects/stardict/stardictcf.zip

It will need to be in a folder called "stardict" (no quotes) in the root (main directory) of your memory card.

You can download dictionaries from http://xdxf.revdanica.com/down/(Make sure download format is set to stardict) or http://stardict.sourceforge.net/Dictionaries.php

You will need to put the dictionary directory from the .tar.gz file in the x:\stardict\share\stardict\dic\ directory.

The quit button is in the lower left hand corner, and looks like a door with an arrow.

Happy Researching. :thumbsup:

vranghel
03-19-2007, 03:13 PM
Wow! Great work Adam. It always surprises me how a single developer can port such useful apps, while iRex always seems to tergiversate the most basic functions.

emkay
03-19-2007, 03:44 PM
Hmmm. Not opening here from CF. I have two dictionaries installed. It starts doing something then just stops after a second or two.

vranghel
03-19-2007, 03:47 PM
Same here...trying to open from SD with a few dictionaries in...For me it doesnt do anything.

Any help would be appreciated.

Adam B.
03-19-2007, 03:47 PM
What dictionaries do you have installed?

I don't have a CF card to test with...

Adam B.
03-19-2007, 03:57 PM
Try it with a dictionary from here: http://stardict.sourceforge.net/Dictionaries.php

It looks like the one's on sdict.com aren't working....

vranghel
03-19-2007, 04:06 PM
What exactly do i have to do with the .RPM file or the contents of the tarball?

Adam B.
03-19-2007, 04:09 PM
Use a program such as 7zip to open the tarball. Put the dictionary directory in the x:\stardict\share\stardict\dic\ directory.

Mambo
03-19-2007, 04:21 PM
Would be great to see but it does not work. Does not matter what dictionary. I have CF card, though. Any ideas?

emkay
03-19-2007, 04:23 PM
That's not working either Adam. Looks like it's a CF specific thing?

vranghel
03-19-2007, 04:26 PM
It seems that theres a SD thing aswell, because it doesnt work for me either.
Do we need the shell hack again after installing 2.9.1?

henkvdg
03-19-2007, 04:52 PM
It seems that theres a SD thing aswell, because it doesnt work for me either.
Do we need the shell hack again after installing 2.9.1?

Does not work for me either, not on the SD card, nor on the CF card.
I have the shell hack

Adam B.
03-19-2007, 04:59 PM
I've been able to recreate the problem. Expect an update shortly...

henkvdg
03-19-2007, 05:01 PM
Does not work for me either, not on the SD card, nor on the CF card.
I have the shell hack


Adam,

Better include 1 dictionary, like the Webster, to have a working package.
Did you test your package on a newly formatted SD card. Which file system?

Adam B.
03-19-2007, 05:16 PM
SD/MMC Users, try this: http://projects.mobileread.com/iliad/projects/stardict/stardictmmc.zip

I've included a dictionary

vranghel
03-19-2007, 05:53 PM
Still it doesnt work for me, Adam. Is the shell hack necessary?

henkvdg
03-19-2007, 05:54 PM
SD/MMC Users, try this: http://projects.mobileread.com/iliad/projects/stardict/stardictmmc.zip

I've included a dictionary

Did you change something in the internals of the iLiad? The register?
Because it still does not run here.

Adam B.
03-19-2007, 05:58 PM
Shell hack is necessary.

I'm running into issues as well. Sometimes I can only run it from the terminal, sometimes I can run it from the contentlister. I'm not sure what's going on. I didn't change anything on the internals of the iliad, other than for FBReader, but that shouldn't have any effect on this.

henkvdg
03-19-2007, 06:00 PM
Shell hack is necessary.

I'm running into issues as well. Sometimes I can only run it from the terminal, sometimes I can run it from the contentlister. I'm not sure what's going on. I didn't change anything on the internals of the iliad, other than for FBReader, but that shouldn't have any effect on this.

How to run it from the terminal?
Does it need parameters?
Then they should be in the Manifest file, I guess.

Adam B.
03-19-2007, 06:15 PM
I have SSH access (with dillo) to my iLiad. That's how I test all my programs.

Adam B.
03-19-2007, 09:54 PM
As far as I can test, it works now. However, typed text will not appear until you close the keyboard. This can be changed/adjusted by editing the iliad_refresh.conf file in the stardict directory.

wagnerian
03-20-2007, 07:25 AM
It works fine just after I had changed the run.sh file into UNIX-typed format. That is, LF instead of CR/LF.

But it still does not recognize dictionary data except the Merriam-Webster 10th that was already included. That one has different file extention from those I've downloaded from the Stardict site. I guess it is a packed file and I'm wondering what should I do to change the files like that.

Adam B.
03-20-2007, 07:36 AM
The files on sdict.org are not in the correct format for stardict. However, you can find most of those files in the right format here: http://xdxf.revdanica.com/down/ Just make sure you change the download format to stardict.

wagnerian
03-20-2007, 08:29 AM
Thank you, Adam B. But still problem. Now the file extention is bz2, and xdxf after extraction via WinRAR 3.62. What should I do?

wagnerian
03-20-2007, 08:34 AM
Oops! I've downloaded the wrong files! I should have changed the "Download format" field at the Web page! :-(

Adam B.
03-20-2007, 08:58 AM
Glad to hear you got it figured out. :)

yokos
03-20-2007, 08:59 AM
It works fine just after I had changed the run.sh file into UNIX-typed format. That is, LF instead of CR/LF.
I can verify this. After changing this stardict starts. -> Adam B., please update your upload. ;-)

How can I switch between different dictionaries? Right now I dont know whether stardict likes my downloaded dictionary.

A stardic dictionary consists of 3 files: *.dz, *.idx, *.ifo. Right?
[Edit] run.sh LF

Adam B.
03-20-2007, 09:10 AM
I can verify this. After changing this stardict starts. -> Adam B., please update your upload. ;-)

How can I switch between different dictionaries? Right now I dont know whether stardict likes my downloaded dictionary.

A stardic dictionary consists of 3 files: *.dz, *.idx, *.ifo. Right?

Clicking on the result tab will show you the various dictionaries. I believe it also lets you chosee which dictionary to see the result from. You can use the options dialog to choose the order that it searches for answers.

I'll take a look at my run scripts...

Edit: Looks like you were right. I've adjusted this. Let me know if it works.

yokos
03-20-2007, 09:24 AM
Yamp, several dictionaries are working! With the options button [bottom right, icon with wrench] you can enable & disenable them [little clickable checkbox].

I found my mistake: I put my dic in the wrong path, the correct path of dics is stardict\share\stardict\dic\dictionaryxxx.

emkay
03-23-2007, 08:06 AM
OK, got it working here.
I copied your run.sh Yokos, but you put a "bin" folder in your path, which is why it wasn't starting up for me.
Looks good!
Re. the screen refresh: it looked as though it had got stuck in loading, but when I refreshed the screen it was open. I'll try playing with the iliad_refresh.conf file.

johnsidi
03-23-2007, 12:27 PM
I install the dictionary reading software today very easily and it works without any problem. Thank you!

The GreatGonzo
04-20-2007, 09:13 AM
Working great, another round of thanks to Adam B.!