Neural networks are analyzing photos and captions dating back to the 1870s.