Document restructuring to promote semantic coherence in topics