Refactoring: extraction of classes HtmlHyphenator and HtmlRebuilder