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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-07-2012, 05:56 AM   #766
Antoinekamel
... and justice for all
Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.
 
Antoinekamel's Avatar
 
Posts: 215
Karma: 1342425
Join Date: Feb 2012
Location: Brazil
Device: KPW1
Smile

Quote:
Originally Posted by ixtab View Post
Edit: One question: did you find some documentation on the hyphenations file format somewhere, or did you just use trial and error? It may be helpful for other people if you could describe how one can make changes to these files, as they look pretty cryptic indeed.
Ixtab,

The hyphenation file really look totally cryptic and, for the programming form, undocumented. I've discovered how to do something by reading the comments about the effects each thing have in words and portuguese rules and, to be sincere, is is simple and so "force-based", as you have to include each variant of something manually, with each vowel and vowel with accent mark possible.

I don't understand even a third of the thing, and maybe my solution is not the most elegant, but it works.

In the end, everything I've changed without being a comment is the following line:

Code:
g4u4é4m q4u4é4m
Now that you asked, I think it's somewhat documented here: http://offo.sourceforge.net/hyphenation/index.html
Antoinekamel is offline   Reply With Quote
Old 10-07-2012, 07:01 AM   #767
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,217
Karma: 5830430
Join Date: Feb 2012
Device: Too many.
And if you want to know about the encodings used I recommend that you check the TeX documentation, since the offo stuff is just auto-converted hyphenation files for TeX.
(They did not convert the TeX documentation and include it with the offo project.)
knc1 is offline   Reply With Quote
Old 10-07-2012, 08:56 AM   #768
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677485
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Version 2.4.1

This version is essentially a "maintenance release". It includes changes to three patches:
  • Most recent version of the font sizes patch is now bundled
  • Updated included developer certificates bundle (now version 2012-10-02)
  • Updated version of portuguese hyphenations
ixtab is offline   Reply With Quote
Old 10-07-2012, 05:05 PM   #769
Antoinekamel
... and justice for all
Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.
 
Antoinekamel's Avatar
 
Posts: 215
Karma: 1342425
Join Date: Feb 2012
Location: Brazil
Device: KPW1
I would like to suggest a patch that removes the text prediction. It's slow by the e-ink nature, therefore unuseful, not language-changeable (Kindle language only) and slows down the key-press animation.
Antoinekamel is offline   Reply With Quote
Old 10-07-2012, 05:20 PM   #770
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 710
Karma: 2290994
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by Antoinekamel View Post
I would like to suggest a patch that removes the text prediction. It's slow by the e-ink nature, therefore unuseful, not language-changeable (Kindle language only) and slows down the key-press animation.
Do you mean prediction which is appearing in top row of keyboard? It's implemented in native code, not in Java code.

Straightforward way to disable it: find directory with locale of yor Kindle language at /usr/share/keyboard/, then rename (or delete) libpredictor.so found in that directory. Then restart keyboard program (restart kb).
eureka is offline   Reply With Quote
Old 10-08-2012, 04:21 AM   #771
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by ixtab View Post
One question: did you find some documentation on the hyphenations file format somewhere, or did you just use trial and error? It may be helpful for other people if you could describe how one can make changes to these files, as they look pretty cryptic indeed.
TeX hyphenation patterns are usually generated from lists of words. You may however add your own patterns. Here is original thesis about the algorithm by Frank Liang.
baf is offline   Reply With Quote
Old 10-08-2012, 08:45 AM   #772
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch

Totally OffTopic but a auto-hyphenating, auto-LineFeeding Daisy-wheel printer manager was one of the first things I ever wrote.

Ah, print -D:LPT1 c:\streamer.exe "C:\stream.txt" or something??. It's amazing how the solutions may change but the song remains the same.

Anyway. boring anecdote over.
</Hijack>

Last edited by twobob; 10-08-2012 at 10:04 AM.
twobob is offline   Reply With Quote
Old 10-08-2012, 09:30 AM   #773
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,217
Karma: 5830430
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by baf View Post
TeX hyphenation patterns are usually generated from lists of words. You may however add your own patterns. Here is original thesis about the algorithm by Frank Liang.
Nice find.
Nice touch of history also.
Time sharing systems where priced to include the number of Kbytes of core used. Which is why the concentration on the amount of core in use.

I.E: Before the days "Cloud computing" - which is just the old school "time shared" systems in new, networked, dress.
knc1 is offline   Reply With Quote
Old 10-08-2012, 09:58 AM   #774
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
And ironically enough is the perfect candidate for hyphenation as pdf handling is so horrible on the devices. k2pdfopt it is
twobob is offline   Reply With Quote
Old 10-09-2012, 08:34 AM   #775
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by knc1 View Post
Nice find.
Nice touch of history also.
The algorithm has not been changed since then. Today it is still used in projects like Openoffice or even Adobe Indesing through libhyphen library (part of hunspell). It has just been slightly improved by compound (non-standard) hyphenation.
baf is offline   Reply With Quote
Old 10-09-2012, 08:57 AM   #776
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677485
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Paperwhite woes

This is just for information.

After discovering that Amazon has obfuscated their stuff even more aggressively with the new firmware - thank you, Amazon! - and after getting a first idea of the effort required to port an existing application to the PW (cf. the Collections Manager thread), I decided to just try and replace the 5.1.2 classpath in the JBPatch project with the 5.2.0 classpath. I get 88 compile errors.

The good news is: the JBPatch "core" seems to be relatively unaffected. The bad news is: all of the interesting patches are affected, badly. And this means that (most probably) every single patch will essentially have to be re-developed from scratch for the Paperwhite. Great work, Amazon!

Well anyway, as far as the Paperwhite support is concerned, there isn't anything going to happen for JBPatch until I receive the device (this should be in about 3-4 weeks).

Until then, if you want to help out with some Paperwhite development, you're very welcome to head over to the Collections Manager thread, and to help improve the PW version available there.
ixtab is offline   Reply With Quote
Old 10-09-2012, 10:18 AM   #777
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
guess someone found the --screw flag at last.
twobob is offline   Reply With Quote
Old 10-10-2012, 01:50 PM   #778
arikfunke
Enthusiast
arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.
 
Posts: 32
Karma: 41848
Join Date: Mar 2011
Device: iRex
Can somebody help me with this issue: on installing I keep getting failed installs with code U002.

As far as I can tell from the forum this signifies a failed checksum. I downloaded twice and tried to install multiple times but no success.

Any ideas?
arikfunke is offline   Reply With Quote
Old 10-10-2012, 01:52 PM   #779
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
um... on what device?
twobob is offline   Reply With Quote
Old 10-10-2012, 01:56 PM   #780
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,066
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by arikfunke View Post
Can somebody help me with this issue: on installing I keep getting failed installs with code U002.

As far as I can tell from the forum this signifies a failed checksum. I downloaded twice and tried to install multiple times but no success.

Any ideas?
What is the URL for the file, so I can test it? If you have a Download accelerator, try disabling it. Also, try downloading that file with a different computer or different web browser...
geekmaster is offline   Reply With Quote
Reply

Tags
jbpatch, kindle touch hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 10:46 AM.


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