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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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.
Attached Files
File Type: zip JSWolfHyphenUS-EN.zip (89.5 KB, 51 views)
File Type: zip JSWolfHyphenFR.zip (9.0 KB, 27 views)

Last edited by JSWolf; 12-17-2014 at 10:07 AM. Reason: Added a French hyphenation dictionary
JSWolf is offline   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: 8,041
Karma: 50766665
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
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
 
Advertisement
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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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 offline   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: 8,041
Karma: 50766665
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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 offline   Reply With Quote
Old 12-06-2014, 12:05 AM   #6
sherman
Addict
sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.
 
Posts: 295
Karma: 134960
Join Date: Aug 2008
Location: Auckland - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo, Kobo Aura H2O
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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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 offline   Reply With Quote
Old 12-10-2014, 11:13 AM   #8
Teom@n
Enthusiast
Teom@n began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kobo Aura, Energy eReader Pro
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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by Teom@n View Post
Is it possible to add another lang to hypendict?
Which language?
JSWolf is offline   Reply With Quote
Old 12-10-2014, 12:17 PM   #10
Teom@n
Enthusiast
Teom@n began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kobo Aura, Energy eReader Pro
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: 897
Karma: 2109879
Join Date: Sep 2010
Device: Kobo H2O, iriver StoryHD
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.
Attached Files
File Type: zip KoboRoot-hyphendicts.zip (906 Bytes, 30 views)
frostschutz is offline   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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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 offline   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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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 offline   Reply With Quote
Old 12-16-2014, 04:35 PM   #14
Teom@n
Enthusiast
Teom@n began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kobo Aura, Energy eReader Pro
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, 15 views)
File Type: zip tkhyph.zip (3.0 KB, 10 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: 40,233
Karma: 21899279
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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 offline   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 02:54 AM.


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