I clean up DictionaryReader a little bit
and the time to open database is cut by half (5-6 second now on my computer).
If we want to ship a default dictionary with LiveCD,
my suggestion is WordNet (ftp://ftp.dict.org/dict/pre/dict-wn-2.0-pre.tar.gz).
Support for reading compressed file in DictionaryReader seems broken.
So after untar the database under
~/GNUstep/Library/DictionaryReader/Dictionaries/,
change the file name *.dz to *.gz, then gunzip it.
You should get wn.dict and wn.index.
There is a 1913 Webster dictionary, but it is too old,
for example, 'Computer' is 'the one who computes'. :D

I disable the history (back and forward icon) because it is broken.
DictionaryReader was recently changed to use toolbar for search field.
But search field in toolbar cannot become the first responder.
Therefore, users have to click on the search field every time they
want to search,
instead of having cursor automatically in the search field when window
get focus.
So I probably will change it back later (not using toolbar).

Have fun.

Yen-Ju

_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to