A TaLISMAN: Automatic Text and LIne Segmentation of historical MANuscripts