AI for Historical Analysis