Deep learning enlightens scholars puzzling over ancient texts