Text hyphenation, using Frank Liang's algorithm.