Text this: Prediction and politics in Beijing, 1668