Text this: The Philosophical Structure of Historical Explanation