re: #51 Kragar
Grammar trumps algorithms. The algorithm got it wrong.
No, it did not. There is no grammatical rule that states that words may be hyphenated at the end of a line of print only if they are compound. I can point you at hundreds (probably thousands) of books in Google Books that violate this putative rule of grammar.
ETA - and in any case, this isn’t a matter of grammar, but rather of orthography.