Hello Bue, Would it be an option for you to do the hyphenation beforehand, using a standard tool? Liblouis has a function `translatePrehyphenated'. You give it the input text and input hyphenation points, and it gives you the translated text and output hyphenation points back. See https://github.com/liblouis/liblouis/blob/master/liblouis/lou_translateString.c#L278. We use this approach at SBS. Kind regards, Bert 2013/12/25 Bue Vester-Andersen <bue@xxxxxxxxxxxxxxxxxx> > Hi Christian, > > I would very much like to get the hyphenation algorithm fixed before we > release the next version. At the moment, using the current Danish tables, > about half of the words from our test suite are hyphenated differently from > what would be expected with the given set of tables. The tables are now > excelent and produce very good hyphenation using standard hyphenation > tools. However, LibLouis does not seem to be able to interpret the > hyphenation tables correctly. So Danish contraction still looks very bad, > because it depends extensively on correct hyphenation. Other languages also > depend on the hyphenation. > > To me it looks like some loop counter getting out of synch or something > like it. Mesar is working hard on this issue, but any help or suggestions > would be greatly apreciated. We have a test suite of more than 30000 > manually hyphenated words. As I said, they hyphenate correctly using the > generated tables and standard hyphenation tools, but not with the LibLouis > hyphenator. If we don't get it fixed before this release, we may have to > wait yet another half year before we can have decent Danish contraction. > > Best regards and merry Christmas > Bue > >