Text this: A General Approach for Achieving Supervised Subspace Learning in Sparse Representation