Text this: Handling classification errors by learning to reject classifications