hyphenation using Liang-Knuth algorithm