Text this: How linguistics can help the historian