Text this: A seminatural approach towards restoration, classification, and pattern extraction from heritage Hindi poetry