MobileRead Forums
Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Devices > Sony Portable Reader PRS-500/505 > Reader PRS-505 Dev Corner

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

Reader PRS-505 Dev Corner Linux, hacking and development of software and hardware (specific to the PRS-505)

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-27-2008, 06:48 PM   #1
Clemenseken
Zealot
Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.
 
Posts: 146
Karma: 1986
Join Date: May 2007
Location: Frankfurt, Germany
Device: Sony eReader (500, device)
Smile Dictionary for Sony PRS500/5 (autorun from SD card) with onscreen keyboard

Hi!
Like llasram, I've been busy with obelix' autorun solution:
Here is the second edition of DictioLauncher 0.7b.

*** There is a NEWLY altered versions "...7b" by =X= that's fit for larger dictionary files (=> quicker search!!!) on page 4, post #59, of this thread.
AND: there is an even NEWER version by lisak, posted on page 5 /#64, link at bottom here, that has completely rewritten code; I assume improved one (w/o having looked at it...) ***


These are the new 0.7b features:
– Found explanations for your search word are now separated correctly.
– The "Choose Dictionary" button lets you change the dictionary from the UI (your choice is saved in "dict.dat").
– Expressions that consist of several words (e.g. "New York") are displayed now completely in the "first" line; "space" can be input from keyboard.
ATTENTION: This means that in your dictionary the search word HAS to have TWO SPACES before the explanation !!! Otherwise NO WORD will be found ...

Here are the features from 0.5:
– Dictionaries can be accessed without closing your current book: by inserting the SD card the launcher just "appears" and will "disappear" after use.
– Your dictionary must be a simple ".txt" file !!!
– You can search for any word using the onscreen keyboard (use buttons 0 to 9).
– Get at different keyboard rows with "cursor-up/down" ("left/right" for model 505).
. .(It's enough to type the first letters of a word: the whole word will be displayed...)
– The "arrow" key removes letters from your input word one-by-one.
– Translation/search starts by pressing "ENTER" – To quit application press "MENU" or pull SD card out.
– The previous/next line (= word) will be displayed by pressing <page up/down> or <cursor left/right> (again: <up/down> for model 505).

DictioLauncher will check your input word against the first word of each line of your text file.
Search time varies from zero ("a...") to "quite some time" (> 3 s for "z..." in a 12,000-lines-file).

=================================================
– Included are three example dictionary files (French, Italian, Spanish; from www.freedict.com). Version 0.5 needs to have the dictionary file renamed to "dictionary.txt" and put into "software".
(Actually I found those files from freedict.com at http://www.wordgumbo.com/index.htm which has a MUCH broader assortment...)
– BUT - you may use *ANY* text file you have/find (thesaurus, to-do-list, etc.)
– Go and find dictionary files for any language you need.
– Your text file should be saved as UTF-8. Sony PRS-500/5 seems to get a "hangover" if confronted with characters like á, è, ß or even ö (o-umlaut)...
(Also the eReader does *not* like "-, *, /" at the beginning of a line while searching your input .)
=================================================

To install, extract the zip file and put "Sony Reader" onto your SD card (root); if you use version 0.5 place one of the dictionaries into "software" and rename it to "dictionary.txt".

The second attachment ("...505_SP1.zip") is especially and only for models prs-505. Its bigger size is due to an alternative keyboard layout (both are "landscape", the alternative one has letters rotated 90°; the application's windows are portrait, though...).
The third attachment is ONLY for models 500 !!!

... the fourth one ONLY for 505'ers ...
... just like the NEW fifth attachment:
an "add-on" feature for models prs505:
it's another alternative keyboard layout (suggested by spooky69).
With this one letters are organized in an A-Z order (abc/def/ghi/...) which may suit 505-owners better, I assume. It wasn't too much work, so I just post it here as a "Service Pack 1" for 505ers!
But be aware that this totally different layout needs an (only marginally) changed "autorun.js" file (included); whenever you decide to swap layouts (back) you'll have to swap "autoruns", too...

*** ATTENTION ***
PLEASE SEE MY "ORIGINAL" SOFTWARE BELOW AS A PRIMITIVE FIRST CONCEPT OF WHAT HAS LATER ON BEEN DEVELOPED BY lisak AND OTHERS!
MY VERSIONS WILL NOT BE SUPPORTED ANY LONGER OFFICIALLY (BUT I WILL ANSWER QUESTIONS ABOUT THEM...)
An improved version: lisak rewrote my "old" code - see #64 on p.5 or the link below.


Link to lisak's version "Page 5 (Goto Post #64...)"

... NEWER version "dictioLaunchX.87" on page 7, post #99 ... VERY interesting "addon" by = X = page 9, post #125 !!!
Attached Files
File Type: zip DictioLauncher05.zip (392.6 KB, 733 views)
File Type: zip DictioLauncher05_505_SP1.zip (544.3 KB, 791 views)
File Type: zip DictioLaunch07b_prs500.zip (413.6 KB, 498 views)
File Type: zip DictioLaunch07b_prs505.zip (552.7 KB, 1092 views)
File Type: zip DictioLaunch07_505_SP1.zip (81.1 KB, 821 views)

Last edited by Clemenseken; 11-05-2009 at 04:25 AM. Reason: As I continually added information to this first post of the thread, I now threw out some lines that are no longer needed IMH
Clemenseken is offline   Reply With Quote
Old 03-27-2008, 10:40 PM   #2
JSWolf
Mobile Reader Geek
JSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic something
 
JSWolf's Avatar
 
Posts: 16,132
Karma: 18503
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-505
Well done! I might have to give this a go.

I've stuck the thread to make it easier to find.
__________________
Jon



If you want to listen to really good music while you surf Mobileread, here.
JSWolf is offline   Reply With Quote
Old 03-28-2008, 09:48 AM   #3
Ret
Connoisseur
Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.
 
Ret's Avatar
 
Posts: 71
Karma: 480
Join Date: Dec 2004
I'll try this!
Thank you very much!
Ret is offline   Reply With Quote
Old 03-28-2008, 10:32 AM   #4
dynabook
Enthusiast
dynabook doesn't litterdynabook doesn't litter
 
Posts: 48
Karma: 185
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-505 (Blue), PRS-600 (Black)
Why can't Sony have a line of accessories like this for sale?
dynabook is offline   Reply With Quote
Old 03-28-2008, 11:44 AM   #5
Clemenseken
Zealot
Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.
 
Posts: 146
Karma: 1986
Join Date: May 2007
Location: Frankfurt, Germany
Device: Sony eReader (500, device)
Exclamation Sorry to "505ers" !

I apologize to any hopeful prs-505 users who downloaded my first version of the "DictioLauncher".
I feel ashamed I didn't realize sooner that their button layout *IS* different from model 500 (though I read a lot about it...).

So I hurried to make a version for all "505ers": See second attachment to my first posting!

Sorry – and have fun!





@ JSWolf: I'm really proud to get a "sticky award" at MobileRead.com!
I was a little overwhelmed by all the posting / finding out about wrong button layout for 505ers / repairing faults / answering feedback etc...

Last edited by Clemenseken; 03-29-2008 at 06:59 AM.
Clemenseken is offline   Reply With Quote
Old 03-28-2008, 11:43 PM   #6
adr2689
Junior Member
adr2689 began at the beginning.
 
Posts: 7
Karma: 40
Join Date: Mar 2008
Device: Sony PRS505
This seems like an excellent addition to the device, but I'm on a 505 and am a little confused by something: each column of the keyboard is selected by right/left arrows, but the numbers seem to be inversely related to the input letter (eg, number 2 => "s", number 9 => "l"). Not sure whether this would require anything more than a change to the skin, but this obviously would affect the intuitive qwerty layout.

It would be quite nice, on that front, for the text to be rotated with the keyboard when reading in landscape mode.

One other thing that struck me is the truncation of definitions. I'm currently playing with the French dictionary included in the zip, and, for example, the definition of "abaisser" finishes at the word "abate," missing the final three definitions (although the word following "abate," "abridge," exceeds the prescribed area and overlaps the keyboard). A larger text area might be useful in this regard. And (a minor aesthetic point) the title overlaps the icon in the top right hand corner.

Other than that, this seems like an ingenious way of getting around the lack of a keyboard, and supplies a sorely-needed tool for the unit.

EDIT: one other query: any support for multiple word definitions - ie, is it possible to demarcate the word from the definition by something other than the first space? Eg, La Manche (the English Channel), La Haye (the Hague) &c.

EDIT EDIT: any way to avoid the splitting up of words? - as in the definition of "abandon" (plucked at random - though, in this dictionary, seems to be a singularly unuseful definition ) which appears:
" abandonment 2. abandonme
nt 3. abandonment 4. aban
donment 5. isolation, sep
aration 6. acquiescence,
rezignation 7. cession relinqui|sh"
(| denotes right hand border of text box - last two letters of "relinquish" exceed this)

Last edited by adr2689; 03-28-2008 at 11:58 PM.
adr2689 is offline   Reply With Quote
Old 03-29-2008, 06:19 AM   #7
Clemenseken
Zealot
Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.
 
Posts: 146
Karma: 1986
Join Date: May 2007
Location: Frankfurt, Germany
Device: Sony eReader (500, device)
Wink ...feel like Microsoft !!! (...without billions of $$...)

Quote:
Originally Posted by adr2689 View Post
... and am a little confused by something: each column of the keyboard is selected by right/left arrows, but the numbers seem to be inversely related to the input letter (eg, number 2 => "s", number 9 => "l"). [...]
Sorry. You are SOOOOOOOOO right!!!
I developed "DictioLauncher" on my prs500 - and realized too late that prs505s are oriented completely different in regards to button layout...
I changed that and attached a "ServicePack1_505.zip" for all those who already tried my application: just replace the "old" autorun.js with the one in the Service Pack...
(...and I replaced the second attachment by one with the correct button access.)

Quote:
It would be quite nice, on that front, for the text to be rotated with the keyboard when reading in landscape mode.
You are right again; but I will get to that later when I repaired some of the more urgent faults...

Quote:
One other thing that struck me is the truncation of definitions ... definition of "abaisser" finishes at the word "abate," missing the final three definitions (although the word following "abate," "abridge," exceeds the prescribed area and overlaps the keyboard) [...]
I hope to have repaired that in the current Service Pack;

Quote:
Other than that, this seems like an ingenious way of getting around the lack of a keyboard, and supplies a sorely-needed tool for the unit.
Thanks for your feedback!
I'm just glad most of your findings came to my mind when I lay in bed, this morning - and I didn't learn of them only from your post ... Pooooooooh!

Quote:
EDIT: one other query: any support for multiple word definitions - [...] La Manche (the English Channel), La Haye (the Hague) &c.
EDIT EDIT: any way to avoid the splitting up of words? - as in the definition of "abandon" (plucked at random - though, in this dictionary, seems to be a singularly unuseful definition ) which appears:
" abandonment 2. abandonme
nt 3. abandonment 4. aban
Yes. These are some items that I plan to get into a version 0.6 or 0.7 later on.
I was happy to have the little baby running (crawling, that is) in the first place.
Any requests/queries are welcome!!!

Last edited by Clemenseken; 03-29-2008 at 06:47 AM.
Clemenseken is offline   Reply With Quote
Old 04-08-2008, 06:07 PM   #8
=X=
Wizard
=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys=X= shares his or her toys
 
Posts: 1,478
Karma: 5767
Join Date: Mar 2008
Device: PRS 505, BB Storm, eBW1150
So your asking for some feedback

This is a very nice application! Kodos to you! I find myself using this dictionary on oncation.
I really like your keyboard solution how cleaver was that!

The only limitation that is that the user is required to re-insert the memorystick. If these devices weren't so fragile I would not be such a drawback.


Feedback.
Dictionaries: It would be great! if the dictionaries could be changed from the UI and not by renaming the file.
=X= is online now   Reply With Quote
Old 04-09-2008, 04:48 AM   #9
Clemenseken
Zealot
Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.
 
Posts: 146
Karma: 1986
Join Date: May 2007
Location: Frankfurt, Germany
Device: Sony eReader (500, device)
Thumbs up

Quote:
Originally Posted by =X= View Post
The only limitation that is that the user is required to re-insert the memorystick [...].
It would be great! if the dictionaries could be changed from the UI and not by renaming the file.
Thanks for your feedback!
I didn't have the idea to change dictionaries, yet, as I mainly use only just one. Good idea!
Clemenseken is offline   Reply With Quote
Old 04-09-2008, 05:59 AM   #10
lutzik
Junior Member
lutzik began at the beginning.
 
Posts: 1
Karma: 40
Join Date: Apr 2008
Device: prs-505
Where would i go if i want to have another dictionary, for instance, russian? Is there a place where i can find .txt dictiories?
Thanks
lutzik is offline   Reply With Quote
Old 04-09-2008, 06:20 AM   #11
olis
Connoisseur
olis is on a distinguished road
 
Posts: 71
Karma: 64
Join Date: May 2007
Location: Italy
Device: prs-500, Nokia N810, dr1000s
This is my first post and I'm writing it to say you a biiiig thanks.
That's a wonderful and to me very useful app.
It would be even more great if it was possible to start it from the internal memory.
P.S.
the link freedict.com in your first post doesn't work

thank you again.
olis is offline   Reply With Quote
Old 04-09-2008, 03:09 PM   #12
Clemenseken
Zealot
Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.
 
Posts: 146
Karma: 1986
Join Date: May 2007
Location: Frankfurt, Germany
Device: Sony eReader (500, device)
Arrow Where to find dictionary files:

Quote:
Originally Posted by lutzik View Post
Where would i go if i want to have another dictionary, for instance, russian?
Hi!
The place where I got my dictionaries is: http://www.wordgumbo.com
They have one Russian>English / English>Russian dictionary each, there.
But remember: you need a txt-file. If it's html you must at least change the extension to "txt"; then you'd have to eliminate any leading tags (e.g. <b> or <l>) at line beginnings: which any text editor will do by "find>replace" easily.

But I am no search guru : there must be dozens of places to go, I assume...
Quote:
Originally Posted by olis
P.S. the link freedict.com in your first post doesn't work
Sorry for that: the last bracket in my sentence got into the url.
Thanks again for your feedback: I would NEVER have learned of this typo without you!

I'm still researching the internal memory issue; I am not a "pro" programmer so I depend much on hints from the "local" gurus here.

Thanks very much to kovidgoyal, igorsk, obelix and others, BTW !!!
Clemenseken is offline   Reply With Quote
Old 04-09-2008, 03:19 PM   #13
Clemenseken
Zealot
Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.
 
Posts: 146
Karma: 1986
Join Date: May 2007
Location: Frankfurt, Germany
Device: Sony eReader (500, device)
Smile Salve da Germania !

Quote:
Originally Posted by olis View Post
This is my first post and I'm writing it to say you a biiiig thanks. That's a wonderful and to me very useful app.
It would be even more great if it was possible to start it from the internal memory.[...]
Hi, olis!

I just saw that you are from Italy:

Buona sera e salve da Germania!

I am German and don't speak Italian fluently at all (but spent most of my childhood holidays in Italy. Mostly near Roma or Verona/Padova ...)
I actually developed this app because I needed a dictionary for ITALIAN that I'd like to read much more in!!!

(So I feel especially flattered to get such a positive feedback from you.)

Can you tell me if there is any kind of "community" for ereading devices in Italy? Any forums or the like? (Where did you learn of eReaders?)
Clemenseken is offline   Reply With Quote
Old 04-10-2008, 12:33 PM   #14
olis
Connoisseur
olis is on a distinguished road
 
Posts: 71
Karma: 64
Join Date: May 2007
Location: Italy
Device: prs-500, Nokia N810, dr1000s
@ Clemenseken.

I'm glad to hear you like Italy.
There are no Italian forums on ebook reading devices that I'm aware of. I stumbled upon e-ink reading through English gadgets blogs. If you are interested in Italian ebooks I'd like to recommend these two sites:
http://www.liberliber.it/biblioteca/index.htm
http://www.letturelibere.net/libri-gratis.php
They are plenty of ebooks, all legally downloadable.

ciao,olis
olis is offline   Reply With Quote
Old 04-12-2008, 05:06 PM   #15
Clemenseken
Zealot
Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.Clemenseken once ate a cherry pie in a record 7 seconds.
 
Posts: 146
Karma: 1986
Join Date: May 2007
Location: Frankfurt, Germany
Device: Sony eReader (500, device)
Post DictioLauncher 0.7 next week: Changing dict's from UI / No more split words ...

Hi!
Just wanted to announce that there will be a version 0.7 on monday/tuesday next week (14/15th of april, 08) with the above mentioned improvements...
(Features are working well, but need some exception testing and porting to the 505'ers.)

Clemens
Clemenseken is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ended For Sale: Sony PRS500, NIB, Unopened. pmintpatty Flea Market 0 12-23-2007 06:28 PM
Ended FS: Sony Reader PRS500 + Leather Cover. Europe Pref. HarryT Flea Market 1 11-13-2007 01:18 PM
Adobe reader convert to Sony PRS500 cozworth Reading Software 5 10-23-2007 12:20 PM
Ended Sony Reader PRS500 for $200 JSWolf Flea Market 8 10-20-2007 10:12 AM
PRS500 accessories from Sony site romsempire Reader Accessories 5 04-23-2007 09:46 AM


All times are GMT -4. The time now is 08:44 PM.


MobileRead.com is a privately owned, operated and funded community.