View Single Post
Old 06-18-2015, 05:34 AM   #34
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by outlandos View Post
I guess it's a problem with both the kepub reader and the dictionary then?
The dictionary might be okay, I don't really know enough about how it works to say for sure. One possibility is that both the EPUB and KEPUB algorithms are faulty, but that the English dictionary has been tweaked to avoid the problems in the algorithm while the Dutch dictionaty hasn't.

Both hyphenation algorithms are clearly working with words that have punctuation attached, and that seems to be causing the problems. But whether that is a fault of the code or the dictionary I don't know. Maybe they should be stripping the punctuation from the ends of the word before feeding it to the hyphenation algorithm, or maybe the hyphenation dicionary is supposed to have rules to handle the punctuation. The Dutch dictionary has no rules for punctuation, while the English dictionary does have some.
GeoffR is offline   Reply With Quote