Word segmentation of ancient Tamil text extracted from inscriptions (Heritage Science)