Text this: Linear methods of dimension reduction for classification