Text this: A Novel Two-Fold Loss Function for Data Clustering and Reconstruction: Application to Document Analysis