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

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2014, 08:38 PM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Better Hyphenation

I've a third party hyphenation dicationary that I've put together that seems to work rather well on the H2O use firmware 3.12.0. It gives better hyphenation then the default hyphenation dictionary.

The default hyphenation dictionary can be edited to give better results by having the numbers from 5 to 2.

The third party hyphenation dictionary is US English.

Just download the attachment, unZip it to get the KoboRoot.tgz. Drop it in your .kobo directory in your Reader. After you eject the Reader, it will install the hyphenation dictionaries. This will work with firmware 3.11.0 and up.

I've added a French hyphenation dictionary.

Update to add in a Hungarian hyphenation dictionary.

June 04, 2020 - Portuguese coming soon
July 04, 2020 - Updated the English hyphenation dictionary. It should work better with KePub and just as well with ePub.
Attached Files
File Type: zip JSWolfHyphenFR.zip (9.0 KB, 450 views)
File Type: zip JSWolfHyphenHU.zip (226.9 KB, 359 views)
File Type: zip JSWolfHyphenUS-EN.zip (89.5 KB, 68 views)

Last edited by JSWolf; 07-04-2020 at 04:07 PM. Reason: Added a French hyphenation dictionary
JSWolf is online now   Reply With Quote
Old 12-05-2014, 09:05 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,993
Karma: 61891011
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I wonder if we should start naming the zip files something OTHER than KoboRoot.zip? Maybe in this case, JSWolfHyphen.zip. Of course, the innards still will be the KoboRoot.tgz file.
PeterT is offline   Reply With Quote
Advert
Old 12-05-2014, 09:57 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by PeterT View Post
I wonder if we should start naming the zip files something OTHER than KoboRoot.zip? Maybe in this case, JSWolfHyphen.zip. Of course, the innards still will be the KoboRoot.tgz file.
I've changed the name of the ZIP file to make it easier to distinguish in case anyone else has a different hyphenation dictionary/dictionaries to post.

Last edited by JSWolf; 12-05-2014 at 09:59 PM.
JSWolf is online now   Reply With Quote
Old 12-05-2014, 10:36 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,993
Karma: 61891011
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Thanks Jon The only reason I even mentioned it is that I, as a download keeper, tend to end up with tons of KoboRoot.zip, KoboRoot (1).zip etc files, and never ever know what any of them is
PeterT is offline   Reply With Quote
Old 12-05-2014, 10:56 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by PeterT View Post
Thanks Jon The only reason I even mentioned it is that I, as a download keeper, tend to end up with tons of KoboRoot.zip, KoboRoot (1).zip etc files, and never ever know what any of them is
Yes, it is a good idea to give them a proper name when making the ZIP. Thanks for that suggestion.
JSWolf is online now   Reply With Quote
Advert
Old 12-06-2014, 12:05 AM   #6
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 627
Karma: 1318712
Join Date: Aug 2008
Location: Auckland - NZ
Device: Kobo Aura H2O, Kobo Forma
May I ask where this hyphenation dictionary comes from? If it's just Libre Office one, I won't bother.
sherman is offline   Reply With Quote
Old 12-06-2014, 09:32 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by sherman View Post
May I ask where this hyphenation dictionary comes from? If it's just Libre Office one, I won't bother.
Yes, it is some version of that hyphenation dictionary.

I'm also going to be posted a new version of the Adobe hyphenation dictionary as well that will give better results due to not needing such large words. I'll be posting that sometime this weekend.
JSWolf is online now   Reply With Quote
Old 12-10-2014, 11:13 AM   #8
Teom@n
Enthusiast
Teom@n began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kindle PW3
Is it possible to add another lang to hypendict?
Teom@n is offline   Reply With Quote
Old 12-10-2014, 11:57 AM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by Teom@n View Post
Is it possible to add another lang to hypendict?
Which language?
JSWolf is online now   Reply With Quote
Old 12-10-2014, 12:17 PM   #10
Teom@n
Enthusiast
Teom@n began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kindle PW3
Quote:
Originally Posted by JSWolf View Post
Which language?
Turkish.

I found some files from another projects(libreoffice, etc.)
Teom@n is offline   Reply With Quote
Old 12-16-2014, 02:56 PM   #11
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,174
Karma: 5052820
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: H2O, StoryHD, PW4
I don't have better hyphenation (in fact I disable it completely), but here's a small hack that moves the files to USB storage (/.hyph/*.dic) so you can see and modify them directly (or rename them in order to disable).

Tested with my H2O using 3.12.0 firmware. Use at your own risk.

This hack is short lived; if you install custom hyphenDicts using a KoboRoot.tgz (or when another firmware update comes along), it will no longer be active and needs to be reinstalled. But you can always extract a hyphendict KoboRoot.tgz yourself and copy the dics to /.hyph/.

As for adding additional languages, you can add new hyph_*.dic files to /.hyph/ and then reinstall this hack (otherwise, the Kobo won't see the new file; it has to exist beforehand). And then hope the Kobo will actually use it.

EDIT: This hack moved here: https://www.mobileread.com/forums/sho...d.php?t=266005

Last edited by frostschutz; 08-28-2016 at 04:56 PM.
frostschutz is online now   Reply With Quote
Old 12-16-2014, 03:12 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by Teom@n View Post
Turkish.

I found some files from another projects(libreoffice, etc.)
My guess is it might be possible to add in a Turkish hyphenation dictionary. But, you will need to have the file named like it would be in the language in the OPF. I don't know what the two letter designation for Turkish is. The English hyphenation dictionary is hyph_en.dic and you would just replace en with whatever the two letters are for Turkish.

If you can provide the two letters for Turkish and the dictionary file or a link to it, I'll make a new install file for you to try.
JSWolf is online now   Reply With Quote
Old 12-16-2014, 03:13 PM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by frostschutz View Post
I don't have better hyphenation (in fact I disable it completely)
I don't find hyphenation to be a bother at all. In fact, it works rather well. And if you don't want it hyphenating as much, just change the numbers in the hyphenation dictionary to only hyphenate long words.
JSWolf is online now   Reply With Quote
Old 12-16-2014, 04:35 PM   #14
Teom@n
Enthusiast
Teom@n began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kindle PW3
Quote:
Originally Posted by JSWolf View Post
My guess is it might be possible to add in a Turkish hyphenation dictionary. But, you will need to have the file named like it would be in the language in the OPF. I don't know what the two letter designation for Turkish is. The English hyphenation dictionary is hyph_en.dic and you would just replace en with whatever the two letters are for Turkish.

If you can provide the two letters for Turkish and the dictionary file or a link to it, I'll make a new install file for you to try.

I think that The Turkish hyphenation dictionary should be hyph_tr.dic. Could you share me if you have "how to create hypenation" files or links? I have found some files but I don't know that could we use them?

And thanks for your interesting.

http://www.rpmfind.net/linux/rpm2htm...hyphen-turkish
Attached Files
File Type: zip full.txt.zip (3.73 MB, 265 views)
File Type: zip tkhyph.zip (3.0 KB, 257 views)

Last edited by Teom@n; 12-16-2014 at 04:54 PM.
Teom@n is offline   Reply With Quote
Old 12-16-2014, 07:46 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 59,334
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by Teom@n View Post
I think that The Turkish hyphenation dictionary should be hyph_tr.dic. Could you share me if you have "how to create hypenation" files or links? I have found some files but I don't know that could we use them?

And thanks for your interesting.

http://www.rpmfind.net/linux/rpm2htm...hyphen-turkish
I don't think those dictionaries will work. Can you find one for LibreOffice or OpenOffice?
JSWolf is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyphenation Simboubou PocketBook 9 09-15-2014 05:21 AM
PRS-T3 hyphenation - whether you want it or not ? cybmole Sony Reader 10 01-13-2014 02:43 PM
Hyphenation - again.. ItsMee Conversion 2 07-31-2012 03:00 PM
Hyphenation Jini ePub 3 04-05-2012 11:48 AM
hyphenation CPatrick OpenInkpot 3 03-22-2010 06:06 AM


All times are GMT -4. The time now is 04:45 AM.


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