Text this: Principles and Method for Historical Linguistics