Text this: Discriminant analysis and applications