Study of ancient inscriptions