python-wordaxe | German language (and other) hyphenation algorithms | Mehr ...
Wordaxe allows Python programs to automatically hyphenate text using an algorithm based on decomposing compound words into base words. . The algorithm is suitable for any language that extensively uses closed-form compound words, as long as a base word list is provided. Currently such a list only exists for German. . In addition, wordaxe implements other algorithms: . * a language-independent algorithm that only hyphenates at a few special characters (in particular, '-'). * a (currently incomplete) port of the TeX hyphenation algorithm to pure Python. * a wrapper for the pyHnj library (called python-hyphen in Debian). . Wordaxe integrates with the ReportLab library to provide automatic hyphenation for the Paragraph line-breaking method.