@lisak

The first time I read your post, I didn't realize you had it working. Would have saved me several hours.
Hi Clement/All,
Since you mentioned you did not have much time to work on the speed issue,
I spent some time updating the Dictionary to work using the 'grep' tool. This has speed up the search from ~45sec to ~1 sec. (there is a 10sec hit for the first search).
Clement feel free to merge what you like from the code and discard what you do not like.
NOTE: The changes where only tested on the PRS-505. PRS-500 users please let me know if you have any issues.
INSTALL STEPS
Unzip the file in the
<Card >\Sony Reader\software
folder this will create a "Dictionary" sub folder
<Card >\Sony Reader\software\Dictionary
Copy the autorun.* files up one directory
copy autorun.* <Card >\Sony Reader\software\
Create a directory 'dict' sub directory under
<SONY>\database\
and place the dictioanry *.txt files in that new directory
copy <Card>\Sony Reader\software\dictonary\*.txt <SONY>\database\dict
CHANGES- Quick Search: Uses ‘grep’ to find word, speed increased. First search is approx 10sec, 1 sec after that.
- Quick clear: The mark(bookmark) now clears the word entry field
- Quick word type: Prev/Next keys remapped to move the keyboard left right. -Previously the user had to type the word with one hand. Now the user can use on thumb for navigation left/right and the other thumb for the text selection.
- Changed the default dictionary from loading ‘ita.txt’ to ‘dictionary.txt’
NOTE: Dictionary location has changed. To ‘/Data/dictionary/dict’ of from the windows world ‘<your drive>\dictionary\dict
’
BROKEN
Next/Prev word does not work as before. Now the next/prev word will start from the beginning of the dictionary
=X=