Text this: Principles of constructing linguistic models,